zephyr/include/net
Paul Sokolovsky 515788648a net: ip: Make struct in_addr::s_addr compatible with POSIX definition
From
http://pubs.opengroup.org/onlinepubs/7908799/xns/netinetin.h.html:

in_addr_t
    An unsigned integral type of exactly 32 bits.

[] the in_addr structure [] includes at least the following member:

in_addr_t      s_addr

In other words, POSIX requires s_addr to be a single integer value,
whereas Zephyr defines it as an array, and then access as s_addr[0]
everywhere. Fix that by following POSIX definition, which helps to
port existing apps to Zephyr.

Jira: ZEP-2264

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
2017-06-13 10:32:03 +03:00
..
arp.h net: l2: Clear arp cache when disable interface. 2017-04-28 15:01:08 +03:00
bt.h
buf.h doc: spelling check doxygen comments include/ 2017-05-02 22:21:37 -04:00
dhcpv4.h
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_parser.h http: client: Create a HTTP library 2017-05-04 15:58:45 -04:00
http.h net: shell: Add HTTP server connection monitoring 2017-06-09 13:09:10 +03:00
ieee802154_radio.h doc: spelling check doxygen comments include/ 2017-05-02 22:21:37 -04:00
ieee802154.h ieee802154: Realign structure bitfields 2017-06-09 13:19:50 +03:00
mii.h
mqtt_types.h net: convert to using newly introduced integer sized types 2017-04-21 09:30:38 -05:00
mqtt.h net: convert to using newly introduced integer sized types 2017-04-21 09:30:38 -05:00
net_context.h doc: spelling check doxygen comments include/ 2017-05-02 22:21:37 -04:00
net_core.h misc: use K_THREAD_STACK_DEFINE macros 2017-06-09 18:53:28 -04:00
net_event.h
net_if.h net: if: Clean up docstrings in header file 2017-05-12 11:14:04 -04:00
net_ip.h net: ip: Make struct in_addr::s_addr compatible with POSIX definition 2017-06-13 10:32:03 +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 doc: spelling check doxygen comments include/ 2017-05-02 22:21:37 -04:00
net_offload.h doc: spelling check doxygen comments include/ 2017-05-02 22:21:37 -04:00
net_pkt.h net: pkt: Add function to linearize a network packet 2017-05-13 14:30:58 -04:00
net_stats.h net: tcp: Add TCP statistics support 2017-05-17 13:55:21 +03:00
trickle.h net: convert to using newly introduced integer sized types 2017-04-21 09:30:38 -05:00
zoap_link_format.h
zoap.h zoap: Include net/net_ip.h when sockaddr is used 2017-05-23 10:29:41 +03:00