zephyr/include/net
Paul Sokolovsky e813091f0a net: Switch to common values for SOCK_STREAM, SOCK_DGRAM
Many OSes use values SOCK_STREAM = 1, SOCK_DGRAM = 2, apparently
inherited from the original BSD Unix, which introduced Sockets API.
These values are exposed as numbers in many places, e.g. with a
debugger, when printing just as numbers, etc., so use the above
common values to avoid possible confusion.

Jira: ZEP-2066

Change-Id: I0477abc79e2b43ef83f9fb11a66092f2b41f75fa
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
2017-04-28 15:01:10 +03:00
..
arp.h net: l2: Clear arp cache when disable interface. 2017-04-28 15:01:08 +03:00
bt.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
buf.h net: convert to using newly introduced integer sized types 2017-04-21 09:30:38 -05:00
dhcpv4.h Introduce new sized integer typedefs 2017-04-20 16:07:08 +00:00
dns_resolve.h dns: Remove unused fields from dns_addrinfo struct 2017-04-28 15:01:10 +03:00
ethernet.h net: convert to using newly introduced integer sized types 2017-04-21 09:30:38 -05:00
http.h net: convert to using newly introduced integer sized types 2017-04-21 09:30:38 -05:00
http_parser.h net: convert to using newly introduced integer sized types 2017-04-21 09:30:38 -05:00
ieee802154.h net: convert to using newly introduced integer sized types 2017-04-21 09:30:38 -05:00
ieee802154_radio.h net: convert to using newly introduced integer sized types 2017-04-21 09:30:38 -05:00
mii.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
mqtt.h net: convert to using newly introduced integer sized types 2017-04-21 09:30:38 -05:00
mqtt_types.h net: convert to using newly introduced integer sized types 2017-04-21 09:30:38 -05:00
net_context.h net: convert to using newly introduced integer sized types 2017-04-21 09:30:38 -05:00
net_core.h net/net_pkt: Fully separate struct net_pkt from struct net_buf 2017-04-21 14:19:50 +03:00
net_event.h net: mgmt: Add IPv6 DAD succeed/failed event 2017-04-13 15:21:45 +03:00
net_if.h net: convert to using newly introduced integer sized types 2017-04-21 09:30:38 -05:00
net_ip.h net: Switch to common values for SOCK_STREAM, SOCK_DGRAM 2017-04-28 15:01:10 +03:00
net_l2.h net: convert to using newly introduced integer sized types 2017-04-21 09:30:38 -05:00
net_linkaddr.h net: convert to using newly introduced integer sized types 2017-04-21 09:30:38 -05:00
net_mgmt.h net: convert to using newly introduced integer sized types 2017-04-21 09:30:38 -05:00
net_offload.h net: convert to using newly introduced integer sized types 2017-04-21 09:30:38 -05:00
net_pkt.h net: net_pkt_append: Refactor to return length of data actually added 2017-04-28 15:01:09 +03:00
net_stats.h net: convert to using newly introduced integer sized types 2017-04-21 09:30:38 -05:00
trickle.h net: convert to using newly introduced integer sized types 2017-04-21 09:30:38 -05:00
zoap.h net: convert to using newly introduced integer sized types 2017-04-21 09:30:38 -05:00
zoap_link_format.h doc/api/networking: Add existing network protocol libraries APIs 2017-02-03 15:59:18 +02:00