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
can.h
coap_link_format.h
coap.h
dhcpv4.h
dns_resolve.h
dns_sd.h
dummy.h
ethernet_mgmt.h
ethernet_vlan.h
ethernet.h
gptp.h
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
ieee802154.h
ipv4_autoconf.h
lldp.h
lwm2m_path.h
lwm2m.h
mii.h
mqtt.h
net_config.h
net_conn_mgr.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
ppp.h
promiscuous.h
ptp_time.h
sntp.h
socket_can.h
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
socketutils.h
tftp.h
tls_credentials.h
trickle.h
udp.h
websocket.h
wifi_mgmt.h
wifi.h