zephyr/tests/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
..
6lo net/ipv6: Switch RA msg handler to new net_pkt API 2019-02-01 14:34:38 +02:00
all net: http: Remove HTTP client and server APIs 2019-01-25 11:21:20 -05:00
arp net: pkt: convert remaining users of ref to atomic_ref 2019-01-29 09:22:14 +02:00
buf cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
checksum_offload net/context: Make recv_cb providing the ip and protocol headers 2019-02-01 14:34:38 +02:00
context net/context: Make recv_cb providing the ip and protocol headers 2019-02-01 14:34:38 +02:00
dhcpv4 cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
ethernet_mgmt cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
icmpv6 tests/icmpv6: Real packet length must be given 2019-02-01 14:34:38 +02:00
ieee802154 cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
iface cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
ip-addr cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
ipv6 net/context: Make recv_cb providing the ip and protocol headers 2019-02-01 14:34:38 +02:00
ipv6_fragment net/ip: Let's make public the 2 utility unions for ip/proto headers 2019-02-01 14:34:38 +02:00
lib tests: net: dns: Temporarily disable IPv6 query test 2019-01-31 08:53:58 -05:00
mgmt cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
mld net/ipv6: Switch MLD join, leave and report to new net_pkt API 2019-02-01 14:34:38 +02:00
neighbor cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
net_pkt tests: net_pkt: More net_frag_linearize tests 2019-01-08 11:06:56 +02:00
net_pkt_new test/net: Quick sample explaining/testing the new net_pkt buffer API 2019-02-01 14:34:38 +02:00
promiscuous cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
ptp/clock net: app: Remove net-app API files 2019-02-01 12:29:21 +02:00
route cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
socket tests: socket: select: Add actual tests for select() 2019-01-25 10:35:39 +02:00
tcp net/ip: Let's make public the 2 utility unions for ip/proto headers 2019-02-01 14:34:38 +02:00
traffic_class net/context: Make recv_cb providing the ip and protocol headers 2019-02-01 14:34:38 +02:00
trickle cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
tx_timestamp net: app: Remove net-app API files 2019-02-01 12:29:21 +02:00
udp net/ip: Let's make public the 2 utility unions for ip/proto headers 2019-02-01 14:34:38 +02:00
utils cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
vlan net: app: Remove net-app API files 2019-02-01 12:29:21 +02:00