4b78a251d7
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> |
||
---|---|---|
.. | ||
bt.h | ||
buf.h | ||
coap.h | ||
coap_link_format.h | ||
coap_link_format_sock.h | ||
coap_sock.h | ||
dhcpv4.h | ||
dns_resolve.h | ||
dummy.h | ||
ethernet.h | ||
ethernet_mgmt.h | ||
ethernet_vlan.h | ||
gptp.h | ||
hostname.h | ||
http_parser.h | ||
http_parser_state.h | ||
http_parser_url.h | ||
ieee802154.h | ||
ieee802154_mgmt.h | ||
ieee802154_radio.h | ||
ipv4_autoconf.h | ||
lldp.h | ||
lwm2m.h | ||
mii.h | ||
mqtt.h | ||
net_config.h | ||
net_context.h | ||
net_core.h | ||
net_event.h | ||
net_if.h | ||
net_ip.h | ||
net_l2.h | ||
net_linkaddr.h | ||
net_mgmt.h | ||
net_offload.h | ||
net_pkt.h | ||
net_stats.h | ||
net_timeout.h | ||
openthread.h | ||
promiscuous.h | ||
ptp_time.h | ||
sntp.h | ||
socket.h | ||
socket_offload.h | ||
socket_offload_ops.h | ||
tcp.h | ||
tls_credentials.h | ||
trickle.h | ||
udp.h | ||
wifi.h | ||
wifi_mgmt.h |