zephyr/include/net
Kamil Kasperczyk 414ba6b074 include: net: Fix incorrect casting of timeval on zsock_timeval.
Currently zsock_timeval implementation uses long type for both
tv_sec and tv_usec fields. In the select method timeval type is
directly casted on zsock_timeval, but in some cases (e.g. when
using CONFIG_POSIX_API and some specific libc version) both types
have fields of different sizes, what may lead to assigning them
incorrect values.
Using types declared by the used libc in the CONFIG_POSIX_API=y
case will let to keep timeval and zsock_timeval types compatible.

Signed-off-by: Kamil Kasperczyk <kamil.kasperczyk@nordicsemi.no>
2020-11-19 15:08:33 +02:00
..
bt.h
buf.h net: buf: change avail_count variable to atomic type 2020-10-28 18:45:11 +02:00
can.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
coap_link_format.h
coap.h
dhcpv4.h
dns_resolve.h
dns_sd.h net: dns: dns-sd: support dns service discovery 2020-11-09 16:15:02 -08:00
dummy.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
ethernet_mgmt.h
ethernet_vlan.h
ethernet.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
gptp.h net: gptp: Allow user to tweak priority1 and priority2 values 2020-09-22 16:45:45 -05:00
hostname.h net: hostname: define public macro representing maximum hostname length 2020-11-17 19:21:43 -05:00
http_client.h
http_parser_state.h
http_parser_url.h
http_parser.h
ieee802154_mgmt.h
ieee802154_radio.h drivers: ieee802154: cc13xx_cc26xx: sub-ghz support 2020-11-09 10:25:24 +02:00
ieee802154.h
ipv4_autoconf.h
lldp.h
lwm2m_path.h net: lwm2m: Add path generation macro 2020-11-10 14:10:44 +02:00
lwm2m.h net: lwm2m: Add path generation macro 2020-11-10 14:10:44 +02:00
mii.h
mqtt.h doc: update Kconfig options to use @option ALIAS 2020-09-15 15:25:01 +02:00
net_config.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
net_conn_mgr.h
net_context.h net: context: add net_context api to check if a port is bound 2020-11-09 16:15:02 -08:00
net_core.h
net_event.h net: event: Add start/bound/stop events for DHCPv4 2020-10-03 17:15:15 +03:00
net_if.h net: tc: Remove not used field from net_traffic_class struct 2020-10-02 13:20:17 +03:00
net_ip.h net: ip: enforce alignment in struct cmsghdr 2020-11-17 11:44:16 +02:00
net_l2.h
net_linkaddr.h
net_mgmt.h net: mgmt: Clarify the net_mgmt API documentation 2020-09-30 16:31:38 +03:00
net_offload.h net: offload: fix k_timeout_t translation in net_offload 2020-10-28 09:30:53 +02:00
net_pkt.h net: pkt: Add net_pkt_is_empty() util function 2020-09-22 11:22:43 +02:00
net_stats.h net: stats: Separate dropped TCP data segments and TCP packets 2020-11-06 09:50:02 -06:00
net_timeout.h
openthread.h openthread: add openthread_api_mutex_try_lock() 2020-10-20 16:39:22 +03:00
ppp.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
promiscuous.h
ptp_time.h
sntp.h net: sntp: Remove deprecated API function 2020-10-01 07:14:08 -05:00
socket_can.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
socket_net_mgmt.h
socket_offload.h
socket_select.h include: net: Fix incorrect casting of timeval on zsock_timeval. 2020-11-19 15:08:33 +02:00
socket.h net: lib: sockets: added ALPN extension option to TLS 2020-10-22 11:35:43 +03:00
socketutils.h
tftp.h
tls_credentials.h
trickle.h
udp.h
websocket.h net: websocket: Fix conflict flag 2020-10-06 12:02:06 +03:00
wifi_mgmt.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
wifi.h