zephyr/include/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
..
bt.h
buf.h net: buf: Add net_buf_pull_mem() API 2019-01-28 15:21:23 +02:00
coap.h
coap_link_format.h
coap_link_format_sock.h
coap_sock.h
dhcpv4.h
dns_resolve.h
dummy.h
ethernet.h net/ethernet: Remove usage of net_pkt_ll() function 2018-12-14 14:16:37 +01:00
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 net: ieee802154: Fix ack check 2019-01-17 11:16:26 +02:00
ipv4_autoconf.h
lldp.h
lwm2m.h net: lwm2m: migrate LwM2M library to BSD-sockets API 2019-01-31 23:02:56 -05:00
mii.h
mqtt.h net: mqtt: Fix typo "seg_tag_list" 2019-01-10 11:30:33 +02:00
net_config.h
net_context.h net/context: Make recv_cb providing the ip and protocol headers 2019-02-01 14:34:38 +02:00
net_core.h
net_event.h
net_if.h net: ip: Introduce mesh_local address flag 2019-01-28 21:24:26 -05:00
net_ip.h net/ip: Let's make public the 2 utility unions for ip/proto headers 2019-02-01 14:34:38 +02:00
net_l2.h net/l2: Finally get rid of reserve concept from L2 2018-12-14 14:16:37 +01:00
net_linkaddr.h
net_mgmt.h
net_offload.h
net_pkt.h net/pkt: Add a marker to identify LLDP message 2019-02-01 14:34:38 +02:00
net_stats.h net: rpl: Remove the deprecated code 2019-01-13 09:40:36 -05:00
net_timeout.h
openthread.h openthread: Update openthread version to latest upstream/master. 2018-12-20 12:24:51 +01:00
promiscuous.h
ptp_time.h
sntp.h net: sntp: get rid of the callback function 2019-01-31 10:14:12 +02:00
socket.h net: sockets: select: Get rid of timeval in favor of zsock_timeval 2019-01-24 17:14:43 +02:00
socket_offload.h net: sockets: Add fcntl to socket offloading API 2019-01-18 17:25:01 +02:00
socket_offload_ops.h net: sockets: Add fcntl to socket offloading API 2019-01-18 17:25:01 +02:00
tcp.h
tls_credentials.h
trickle.h
udp.h
wifi.h
wifi_mgmt.h net: wifi: Add Access Point mode interface 2019-01-19 07:20:36 -05:00