zephyr/include/net
Benjamin Lindqvist 81ccbd96c9 net: coap: Add internal init function to seed message_id
Randomly generating ID the first time coap_next_id() is called is more
in accordance with CoAP recommendations (see
https://tools.ietf.org/html/draft-ietf-core-coap-18, section 4.4)

"It is strongly recommended that the initial value of the
variable (e.g., on startup) be randomized, in order to make successful
off-path attacks on the protocol less likely."

Doing this in a dedicated init function is the cleanest and most
idiomatic approach. This init function is not exposed publically which
means it will be called only once, by the network stack init procedure.

Signed-off-by: Benjamin Lindqvist <benjamin.lindqvist@endian.se>
2019-10-04 21:22:55 +03:00
..
bt.h
buf.h net: buf: Add net_buf_simple_clone 2019-10-04 20:56:25 +03:00
can.h include: rearrange for standard use of extern "C" in various headers 2019-08-13 18:00:31 +02:00
coap_link_format.h
coap.h net: coap: Add internal init function to seed message_id 2019-10-04 21:22:55 +03:00
dhcpv4.h net: Move include files outside of extern "C" block 2019-08-06 14:46:36 +03:00
dns_resolve.h
dummy.h
ethernet_mgmt.h
ethernet_vlan.h
ethernet.h include/net: additional cleanup for extern "C" use 2019-08-13 18:00:31 +02:00
gptp.h
hostname.h
http_client.h net: http: client: Initial version 2019-10-04 16:38:34 +03:00
http_parser_state.h
http_parser_url.h net: Move include files outside of extern "C" block 2019-08-06 14:46:36 +03:00
http_parser.h net: Move include files outside of extern "C" block 2019-08-06 14:46:36 +03:00
ieee802154_mgmt.h
ieee802154_radio.h drivers: ieee802154: New API for ACK configuration 2019-05-01 20:40:30 +03:00
ieee802154.h
ipv4_autoconf.h
lldp.h net/lldp: Simplify Kconfig file 2019-07-10 15:24:32 +03:00
lwm2m.h net: lwm2m: support client-initiated De-register 2019-09-08 12:36:33 +02:00
mii.h
mqtt.h net: mqtt: Modify SOCKS5 based connections 2019-08-05 13:26:11 +03:00
net_config.h
net_conn_mgr.h net: Add a connection manager preliminary logic 2019-07-12 12:33:19 +03:00
net_context.h net: sockets: Store socket private data into its own variable 2019-09-18 23:47:36 +03:00
net_core.h include/net: additional cleanup for extern "C" use 2019-08-13 18:00:31 +02:00
net_event.h net: Move include files outside of extern "C" block 2019-08-06 14:46:36 +03:00
net_if.h net: Add CONFIG_NET_NATIVE option for selecting native IP 2019-09-10 12:45:38 +03:00
net_ip.h net: Add IPPROTO_RAW as it was missing 2019-09-12 11:22:45 +03:00
net_l2.h net: l2: 6LoCAN implementation 2019-08-08 13:25:01 +03:00
net_linkaddr.h net: l2: 6LoCAN implementation 2019-08-08 13:25:01 +03:00
net_mgmt.h include/net: additional cleanup for extern "C" use 2019-08-13 18:00:31 +02:00
net_offload.h net/offload: Add dummy functions when offloading is disabled 2019-05-07 15:40:33 +03:00
net_pkt.h net: ip: net_pkt: Implement net_pkt_shallow_clone 2019-08-08 13:25:01 +03:00
net_stats.h include/net: additional cleanup for extern "C" use 2019-08-13 18:00:31 +02:00
net_timeout.h
openthread.h
ppp.h net: ppp: Add proper support to receive Echo-Reply message 2019-07-29 10:24:46 +03:00
promiscuous.h
ptp_time.h net: Explicitly include toolchain.h to check for endianness definitions. 2019-09-09 21:40:54 +02:00
sntp.h net: sntp: Allow to build for CONFIG_POSIX_API. 2019-09-12 17:30:29 +03:00
socket_can.h net: Move include files outside of extern "C" block 2019-08-06 14:46:36 +03:00
socket_net_mgmt.h net: Move include files outside of extern "C" block 2019-08-06 14:46:36 +03:00
socket_offload_ops.h net: Move include files outside of extern "C" block 2019-08-06 14:46:36 +03:00
socket_offload.h net: Move include files outside of extern "C" block 2019-08-06 14:46:36 +03:00
socket_select.h doc: use @rst/@endrst for ReST in headers 2019-06-25 23:33:55 -04:00
socket.h include/net: additional cleanup for extern "C" use 2019-08-13 18:00:31 +02:00
socketutils.h include: net: socketutils: Allow to build for CONFIG_POSIX_API 2019-09-12 17:30:29 +03:00
socks.h net: socks: Make SOCKS5 implementation transparent 2019-08-05 13:26:11 +03:00
tls_credentials.h
trickle.h
udp.h
websocket.h net: websocket: client: Simple API for Websocket client 2019-10-04 16:38:34 +03:00
wifi_mgmt.h
wifi.h