Home
last modified time | relevance | path

Searched refs:udp_access (Results 1 – 11 of 11) sorted by relevance

/Zephyr-latest/subsys/net/ip/
Dudp.c22 NET_PKT_DATA_ACCESS_DEFINE(udp_access, struct net_udp_hdr); in net_udp_create()
25 udp_hdr = (struct net_udp_hdr *)net_pkt_get_data(pkt, &udp_access); in net_udp_create()
35 return net_pkt_set_data(pkt, &udp_access); in net_udp_create()
40 NET_PKT_DATA_ACCESS_DEFINE(udp_access, struct net_udp_hdr); in net_udp_finalize()
46 udp_hdr = (struct net_udp_hdr *)net_pkt_get_data(pkt, &udp_access); in net_udp_finalize()
61 return net_pkt_set_data(pkt, &udp_access); in net_udp_finalize()
67 NET_PKT_DATA_ACCESS_CONTIGUOUS_DEFINE(udp_access, struct net_udp_hdr); in net_udp_get_hdr()
72 udp_access.data = hdr; in net_udp_get_hdr()
86 udp_hdr = (struct net_udp_hdr *)net_pkt_get_data(pkt, &udp_access); in net_udp_get_hdr()
98 NET_PKT_DATA_ACCESS_DEFINE(udp_access, struct net_udp_hdr); in net_udp_set_hdr()
[all …]
Dudp_internal.h87 struct net_pkt_data_access *udp_access);
91 struct net_pkt_data_access *udp_access) in net_udp_input() argument
94 ARG_UNUSED(udp_access); in net_udp_input()
Dipv4.c244 NET_PKT_DATA_ACCESS_DEFINE(udp_access, struct net_udp_hdr); in net_ipv4_input()
406 proto_hdr.udp = net_udp_input(pkt, &udp_access); in net_ipv4_input()
Dipv6.c477 NET_PKT_DATA_ACCESS_DEFINE(udp_access, struct net_udp_hdr); in net_ipv6_input()
775 proto_hdr.udp = net_udp_input(pkt, &udp_access); in net_ipv6_input()
/Zephyr-latest/tests/net/dhcpv4/server/src/
Dmain.c488 NET_PKT_DATA_ACCESS_DEFINE(udp_access, struct net_udp_hdr); in verify_offer()
501 udp_hdr = (struct net_udp_hdr *)net_pkt_get_data(pkt, &udp_access); in verify_offer()
503 net_pkt_acknowledge_data(pkt, &udp_access); in verify_offer()
662 NET_PKT_DATA_ACCESS_DEFINE(udp_access, struct net_udp_hdr); in verify_ack()
675 udp_hdr = (struct net_udp_hdr *)net_pkt_get_data(pkt, &udp_access); in verify_ack()
677 net_pkt_acknowledge_data(pkt, &udp_access); in verify_ack()
/Zephyr-latest/subsys/net/l2/ieee802154/
Dieee802154_6lo_fragment.c246 NET_PKT_DATA_ACCESS_DEFINE(udp_access, struct net_udp_hdr); in update_protocol_header_lengths()
249 udp = (struct net_udp_hdr *)net_pkt_get_data(pkt, &udp_access); in update_protocol_header_lengths()
252 net_pkt_set_data(pkt, &udp_access); in update_protocol_header_lengths()
/Zephyr-latest/tests/net/checksum_offload/src/
Dmain.c131 NET_PKT_DATA_ACCESS_DEFINE(udp_access, struct net_udp_hdr); in get_udp_chksum()
146 udp_hdr = (struct net_udp_hdr *)net_pkt_get_data(pkt, &udp_access); in get_udp_chksum()
235 udp_access, struct net_udp_hdr); in test_receiving()
239 net_pkt_get_data(pkt, &udp_access); in test_receiving()
/Zephyr-latest/tests/net/6lo/src/
Dmain.c308 NET_PKT_DATA_ACCESS_CONTIGUOUS_DEFINE(udp_access, struct net_udp_hdr); in compare_udp_hdr()
309 struct net_udp_hdr *udp_hdr = net_pkt_get_data(pkt, &udp_access); in compare_udp_hdr()
317 net_pkt_acknowledge_data(pkt, &udp_access); in compare_udp_hdr()
/Zephyr-latest/doc/connectivity/networking/api/
Dnet_pkt.rst329 NET_PKT_DATA_ACCESS_DEFINE(udp_access, struct net_udp_hdr);
332 udp_hdr = (struct net_udp_hdr *)net_pkt_get_data(pkt, &udp_access);
/Zephyr-latest/subsys/net/lib/dhcpv4/
Ddhcpv4.c1915 NET_PKT_DATA_ACCESS_DEFINE(udp_access, struct net_udp_hdr); in net_dhcpv4_accept_unicast()
1938 udp_hdr = (struct net_udp_hdr *)net_pkt_get_data(pkt, &udp_access); in net_dhcpv4_accept_unicast()
/Zephyr-latest/subsys/net/lib/sockets/
Dsockets_inet.c762 NET_PKT_DATA_ACCESS_DEFINE(udp_access, struct net_udp_hdr); in sock_get_pkt_src_addr()
766 &udp_access); in sock_get_pkt_src_addr()