zephyr/include/net
Robert Lubos b9caaf217e net: lwm2m: Fix Security and Server object instance matching
A proper way to match a Security object instance with a Server object
instance is via Short Server ID resource. Both coupled object instances
should carry the same value of this resource in order to me considered
matched.

This was not implemented in the LwM2M library and it was incorrectly
assumed that the Security object instance index corresponds to the
Server object instance index. While such apporach works is simple
scenario, it might yield incorrect results when bootstrap is used.

Fix this, by verifyng the Short Server ID resource in the Secuirty
instance used, and finding a matching Server instance. The server object
instance is stored for future use in the engine.

Additionally, remove an extra Server object instance that was created
when the bootstrap procedure was used. Since the boostrap Security
object instance does not have the corresponding Server object, it's
enough to have a single Server instance.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2020-08-04 16:29:40 +02:00
..
bt.h
buf.h net: buf.h: Add static initialiser to net_buf_struct 2020-07-04 07:08:33 -04:00
can.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
coap_link_format.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
coap.h net: coap: Add coap_get_option_int public method 2020-06-09 21:25:11 +03:00
dhcpv4.h
dns_resolve.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
dummy.h
ethernet_mgmt.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ethernet_vlan.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ethernet.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gptp.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
hostname.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
http_client.h net: http_client: add missing kernel.h include statement 2020-07-07 16:00:42 -04:00
http_parser_state.h
http_parser_url.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
http_parser.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ieee802154_mgmt.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ieee802154_radio.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ieee802154.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ipv4_autoconf.h
lldp.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
lwm2m.h net: lwm2m: Fix Security and Server object instance matching 2020-08-04 16:29:40 +02:00
mii.h
mqtt.h net: mqtt: Constify utf8 pointer in mqtt_utf8 struct 2020-06-12 16:47:36 +02:00
net_config.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
net_conn_mgr.h
net_context.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
net_core.h net: log_strdup() was missing when printing thread name 2020-06-16 15:54:20 +03:00
net_event.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
net_if.h net: if: Make sure only allowed threads can access syscalls 2020-07-29 08:13:22 -04:00
net_ip.h net: ip: Fix IPv6 RS message doesn't comply RFC4291 2020-07-15 13:26:58 +02:00
net_l2.h net: Use section foreach macros 2020-07-20 08:32:46 -07:00
net_linkaddr.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
net_mgmt.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
net_offload.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
net_pkt.h net: Separate net_pkt priority from traffic class 2020-07-31 18:11:51 +02:00
net_stats.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
net_timeout.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
openthread.h net: openthread: Protect OT API calls from being preempted 2020-07-27 19:04:43 +02:00
ppp.h net: l2: ppp: drop old option parsing routine 2020-07-29 16:38:37 +02:00
promiscuous.h net: promisc: Refactor because of timeout overhaul 2020-04-09 16:07:03 +03:00
ptp_time.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
sntp.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
socket_can.h
socket_net_mgmt.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
socket_offload.h net: sockets: Remove socket offloading interface 2020-01-31 11:36:02 -05:00
socket_select.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
socket.h net: sockets: add API to fetch an fd's ctx object 2020-06-03 22:33:32 +02:00
socketutils.h
tftp.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
tls_credentials.h
trickle.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
udp.h
websocket.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
wifi_mgmt.h net: wifi: add extern "C" to wifi_mgmt.h 2020-06-08 19:48:05 +03:00
wifi.h