zephyr/samples/net
Jukka Rissanen 4fea5b18ab net: app: Add IP header to packets received by TLS/DTLS tunnel
The IP header was stripped by _net_app_ssl_mux() when it received
IP packet. This is fine but if the application expects the get
the IP header, then there is a problem. Fix this by saving IP
header to ssl_context and then putting it back in front of the
packet when the data is passed to application.
Note that this IP header is not used by net_app when the packet
is sent because TLS/DTLS creates a tunnel for transferring packets
and user can only sent packets via this tunnel.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2017-08-30 08:12:10 -04:00
..
coaps_client net: Fix LLVM compiler warnings 2017-08-09 12:50:50 -04:00
coaps_server net: Fix LLVM compiler warnings 2017-08-09 12:50:50 -04:00
common net: common: Don't build ipss.c 2017-08-17 10:24:05 -04:00
dhcpv4_client
dns_resolve
echo_client
echo_server net: app: Add IP header to packets received by TLS/DTLS tunnel 2017-08-30 08:12:10 -04:00
http_client
http_server
https_client
ieee802154
irc_bot net: struct sockaddr should have field "sa_family" 2017-08-18 16:34:51 -04:00
leds_demo samples: leds_demo: Fix null pointer dereference when adding IP address 2017-08-22 16:32:35 -04:00
lwm2m_client samples: net: add sample documentation for lwm2m-client 2017-08-21 08:37:15 -04:00
mbedtls_dtlsclient
mbedtls_dtlsserver net: Fix LLVM compiler warnings 2017-08-09 12:50:50 -04:00
mbedtls_sslclient net: struct sockaddr should have field "sa_family" 2017-08-18 16:34:51 -04:00
mqtt_publisher samples: net: mqtt: Define the stack properly 2017-08-22 16:29:51 -04:00
nats samples: nats: Fix NULL pointer dereference when publishing 2017-08-22 08:19:54 -04:00
sockets samples: net: echo_async: Add IPv6 support 2017-08-21 08:40:46 -04:00
telnet
wpan_serial
wpanusb
zoap_client
zoap_server net: samples: Fix unchecked return value in zoap_server 2017-08-30 08:07:56 -04:00
zperf
net.rst