Searched refs:udp_access (Results 1 – 11 of 11) sorted by relevance
/Zephyr-latest/subsys/net/ip/ |
D | udp.c | 22 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 …]
|
D | udp_internal.h | 87 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()
|
D | ipv4.c | 244 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()
|
D | ipv6.c | 477 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/ |
D | main.c | 488 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/ |
D | ieee802154_6lo_fragment.c | 246 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/ |
D | main.c | 131 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/ |
D | main.c | 308 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/ |
D | net_pkt.rst | 329 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/ |
D | dhcpv4.c | 1915 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/ |
D | sockets_inet.c | 762 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()
|