zephyr/include/net/yaip
Leandro Pereira ad1a9d088d net: tcp: Add better type safety for connection handlers
This creates a `struct net_conn_handle` that's only used as an opaque
pointer.  The purpose is to avoid assigning a void* to a void** in
connection registering/unregistering functions, avoiding a
previously-caught bug by issuing an incompatible pointer types warning:

	warning: passing argument 7 of 'net_tcp_register' from
		incompatible pointer type [-Wincompatible-pointer-types]

Suggested by Andy Ross in 5beec6.  This particular commit didn't catch
any bugs, but the one caught in 5beec6 wouldn't exist if this were in
place at the time.

Change-Id: I5c13fb4c5826adce6397feb7b400d36e426c4a87
Signed-off-by: Leandro Pereira <leandro.pereira@intel.com>
2016-12-02 12:41:02 +02:00
..
dhcpv4.h net: Add DHCPv4 client support 2016-12-02 12:40:26 +02:00
ieee802154_radio.h net: Add preliminary IEEE 802.15.4 L2 driver 2016-12-02 12:40:18 +02:00
ieee802154.h net: ieee802154: Add support for requesting ACK on packets 2016-12-02 12:40:57 +02:00
nbuf.h net: nbuf: Add function to add stuff to IPv6 extension map 2016-12-02 12:41:00 +02:00
net_context.h net: tcp: Add better type safety for connection handlers 2016-12-02 12:41:02 +02:00
net_core.h net: Network stack analyzer uses now the SYS_LOG sub-system 2016-12-02 12:40:08 +02:00
net_event.h net: Add IPv4 related events 2016-12-02 12:40:54 +02:00
net_if.h net: Add helpers to get network interface IPv6 addresses 2016-12-02 12:41:00 +02:00
net_ip.h net: Fix IPv6 address debug print 2016-12-02 12:41:01 +02:00
net_l2.h net: Add initial Bluetooth support using native IP stack 2016-12-02 12:40:50 +02:00
net_mgmt.h net: mgmt: Fix include recursion loop 2016-12-02 12:40:55 +02:00
trickle.h net: Trickle algorithm implementation 2016-12-02 12:40:21 +02:00