zephyr/include/net
Gil Pitney f4e08b003c net: sockets: Define POSIX function symbols as inline functions
Previously, POSIX function names were aliased to zsock_ function
names using, for example:

	#define connect zsock_connect

This caused the C preprocessor to replace any symbol named 'connect',
whether a function or not, in all source code which included socket.h,
with 'zsock_connect'.  This generated unintended code where the symbol
'connect' was used as the name of a structure field (as in mqtt.h).

This new inline definition is applied to all the POSIX function symbols,
with the exception of fcntl, a redefinition of which would conflict
with the definiton in the toolchain's fcntl.h.

Fixes #5817

Signed-off-by: Gil Pitney <gil.pitney@linaro.org>
2018-01-29 23:08:44 -05:00
..
arp.h
bt.h
buf.h
coap_link_format.h
coap.h
dhcpv4.h
dns_resolve.h net: dns: Allow to initialize DNS servers from struct sockaddr[] 2018-01-18 17:30:40 +02:00
ethernet.h
hostname.h
http_parser_state.h
http_parser_url.h
http_parser.h
http.h net: http: Remove the old legacy API 2018-01-29 22:44:45 -05:00
ieee802154_mgmt.h
ieee802154_radio.h net/ieee802154: Add Sub-Ghz dedicated function on the radio API 2018-01-15 15:15:38 +02:00
ieee802154.h net/ieee802154: Do not set the device UP by default 2018-01-15 15:15:38 +02:00
lwm2m.h
mii.h
mqtt_types.h
mqtt.h
net_app.h
net_context.h
net_core.h
net_event.h
net_if.h
net_ip.h net: if: Handle new address type of NET_ADDR_OVERRIDABLE 2018-01-23 09:25:51 +02:00
net_l2.h include: net: net_l2: Add OpenThread L2 2018-01-29 22:42:03 -05:00
net_linkaddr.h
net_mgmt.h
net_offload.h
net_pkt.h include: net: net_pkt: Use IEEE802154 instead of NET_L2_IEEE802154 2018-01-29 22:42:03 -05:00
net_stats.h
openthread.h include: net: net_l2: Add OpenThread L2 2018-01-29 22:42:03 -05:00
sntp.h
socket.h net: sockets: Define POSIX function symbols as inline functions 2018-01-29 23:08:44 -05:00
trickle.h
udp.h