mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
7ef177a8cb
This introduces a new alternative and better API to `conn`. It differs in the following aspects: * a common address type for both IPv4 and IPv6 addresses is introduced * communication end-points are abstracted as end-point types `sock_x_ep_t`, containing the address, its family, its port (if required for protocol) and the interface identifier. * All functions require some kind of state. Sending of datagrams to the same source or replying to incoming datagrams is thus simplified * TCP connection establishment was overall reworked: connected sockets and listening sockets are now two distinct types. An accept on a listening socket than yields a connected socket |
||
---|---|---|
.. | ||
conn | ||
ethernet | ||
fib | ||
gnrc | ||
ipv4 | ||
ipv6 | ||
sixlowpan | ||
sock | ||
af.h | ||
conn.h | ||
ethernet.h | ||
ethertype.h | ||
eui64.h | ||
fib.h | ||
gnrc.h | ||
icmpv6.h | ||
ieee802154.h | ||
inet_csum.h | ||
ipv4.h | ||
ipv6.h | ||
ndp.h | ||
netdev2_test.h | ||
netopt.h | ||
netstats.h | ||
packet.h | ||
protnum.h | ||
sixlowpan.h | ||
sock.h | ||
udp.h | ||
uhcp.h |