zephyr/include/net
Vincent Wan 3fd89baca4 net: Fix inet_pton when offloading is enabled
When offloading is enabled, a call to inet_pton() results in a call to
zsock_inet_pton() based on its implementation in include/net/socket.h.
This eventually leads to a call to _impl_zsock_inet_pton(), which is
not defined when offloading is enabled.

In this commit, we have chosen to directly call net_addr_pton() in
inet_pton() in the offload case to be efficient, and keep the
implementation as it is when offload is not enabled.

Fixes #12441

Signed-off-by: Vincent Wan <vincent.wan@linaro.org>
2019-01-15 10:39:52 +02:00
..
bt.h
buf.h
coap_link_format_sock.h
coap_link_format.h
coap_sock.h
coap.h
dhcpv4.h
dns_resolve.h
dummy.h
ethernet_mgmt.h
ethernet_vlan.h
ethernet.h
gptp.h
hostname.h
http_parser_state.h
http_parser_url.h
http_parser.h
http.h
ieee802154_mgmt.h
ieee802154_radio.h
ieee802154.h
ipv4_autoconf.h
lldp.h
lwm2m.h
mii.h
mqtt_legacy_types.h
mqtt_legacy.h
mqtt.h
net_app.h
net_config.h
net_context.h
net_core.h
net_event.h
net_if.h
net_ip.h
net_l2.h
net_linkaddr.h
net_mgmt.h
net_offload.h
net_pkt.h
net_stats.h
net_timeout.h
openthread.h
promiscuous.h
ptp_time.h
sntp.h
socket_offload_ops.h
socket_offload.h
socket.h net: Fix inet_pton when offloading is enabled 2019-01-15 10:39:52 +02:00
tcp.h
tls_credentials.h
trickle.h
udp.h
websocket_console.h
websocket.h
wifi_mgmt.h
wifi.h