zephyr/samples/net
Tomasz Bursztyka 4b78a251d7 net/context: Make recv_cb providing the ip and protocol headers
If status is 0, both ip_hdr and proto_hdr will own a pointer to the
relevant IP and Protocol headers. In order to know which of ipv4/ipv6
and udp/tcp one will need to use respectively net_pkt_family(pkt) and
net_context_get_ip_proto(context).

Having access to those headers directly, many callbacks will not need
to parse the packet again no get the src/dst addresses or the src/dst
ports. This will be change after this commit.

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
2019-02-01 14:34:38 +02:00
..
coap_client net/context: Make recv_cb providing the ip and protocol headers 2019-02-01 14:34:38 +02:00
coap_server net/context: Make recv_cb providing the ip and protocol headers 2019-02-01 14:34:38 +02:00
common samples/net: Removing support of cc2520 on frdm_k64f 2018-11-09 05:25:11 -06:00
dhcpv4_client samples: minor documentation fixes 2019-01-09 07:57:18 -06:00
dns_resolve cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
eth_native_posix samples: net: Remove net-app based sample applications 2019-02-01 12:29:21 +02:00
gptp samples: net: Remove net-app based sample applications 2019-02-01 12:29:21 +02:00
ipv4_autoconf cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
leds_demo net/context: Make recv_cb providing the ip and protocol headers 2019-02-01 14:34:38 +02:00
lldp samples: net: Remove net-app based sample applications 2019-02-01 12:29:21 +02:00
lwm2m_client samples: lwm2m: migrate to BSD socket APIs 2019-01-31 23:02:56 -05:00
mdns_responder cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
mqtt_publisher samples: net: add TLS offload support to mqtt_publisher 2019-01-31 06:36:08 -05:00
nats net/context: Make recv_cb providing the ip and protocol headers 2019-02-01 14:34:38 +02:00
promiscuous_mode cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
sockets samples: net: Remove net-app based sample applications 2019-02-01 12:29:21 +02:00
stats samples: net: Remove net-app based sample applications 2019-02-01 12:29:21 +02:00
syslog_net cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
telnet cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
vlan samples: net: Remove net-app based sample applications 2019-02-01 12:29:21 +02:00
wifi wifi: winc1500: Convert to new DT_<COMPAT>_<INSTANCE> defines 2019-01-28 10:39:59 -06:00
wpan_serial cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
wpanusb shell: removing legacy shell 2019-01-16 21:35:36 -05:00
zperf net/context: Make recv_cb providing the ip and protocol headers 2019-02-01 14:34:38 +02:00
net.rst