/Zephyr-latest/include/zephyr/net/ |
D | udp.h | 54 struct net_udp_hdr *net_udp_get_hdr(struct net_pkt *pkt, 55 struct net_udp_hdr *hdr); 57 static inline struct net_udp_hdr *net_udp_get_hdr(struct net_pkt *pkt, 58 struct net_udp_hdr *hdr) 80 struct net_udp_hdr *net_udp_set_hdr(struct net_pkt *pkt, 81 struct net_udp_hdr *hdr); 83 static inline struct net_udp_hdr *net_udp_set_hdr(struct net_pkt *pkt, in net_udp_set_hdr() 84 struct net_udp_hdr *hdr) in net_udp_set_hdr()
|
D | net_ip.h | 586 struct net_udp_hdr { struct 642 struct net_udp_hdr *udp;
|
/Zephyr-latest/subsys/net/ip/ |
D | udp.c | 22 NET_PKT_DATA_ACCESS_DEFINE(udp_access, struct net_udp_hdr); in net_udp_create() 23 struct net_udp_hdr *udp_hdr; in net_udp_create() 25 udp_hdr = (struct net_udp_hdr *)net_pkt_get_data(pkt, &udp_access); in net_udp_create() 40 NET_PKT_DATA_ACCESS_DEFINE(udp_access, struct net_udp_hdr); in net_udp_finalize() 41 struct net_udp_hdr *udp_hdr; in net_udp_finalize() 46 udp_hdr = (struct net_udp_hdr *)net_pkt_get_data(pkt, &udp_access); in net_udp_finalize() 64 struct net_udp_hdr *net_udp_get_hdr(struct net_pkt *pkt, in net_udp_get_hdr() 65 struct net_udp_hdr *hdr) in net_udp_get_hdr() 67 NET_PKT_DATA_ACCESS_CONTIGUOUS_DEFINE(udp_access, struct net_udp_hdr); in net_udp_get_hdr() 69 struct net_udp_hdr *udp_hdr; in net_udp_get_hdr() [all …]
|
D | udp_internal.h | 86 struct net_udp_hdr *net_udp_input(struct net_pkt *pkt, 90 struct net_udp_hdr *net_udp_input(struct net_pkt *pkt, in net_udp_input()
|
D | 6lo.c | 593 static inline uint8_t *compress_nh_udp(struct net_udp_hdr *udp, uint8_t *inline_ptr, in compress_nh_udp() 737 struct net_udp_hdr *udp; in compress_IPHC_header() 756 udp = (struct net_udp_hdr *)inline_pos; in compress_IPHC_header() 1260 struct net_udp_hdr *udp) in uncompress_nh_udp() 1349 struct net_udp_hdr *udp = NULL; in uncompress_IPHC_header() 1383 diff += sizeof(struct net_udp_hdr) - sizeof(uint8_t) - in uncompress_IPHC_header() 1497 udp = (struct net_udp_hdr *)(frag->data + NET_IPV6H_LEN); in uncompress_IPHC_header() 1631 diff += sizeof(struct net_udp_hdr) - sizeof(uint8_t) - in net_6lo_uncompress_hdr_diff()
|
D | icmpv6.c | 228 sizeof(struct net_udp_hdr); in net_icmpv6_send_error()
|
D | ipv4.c | 244 NET_PKT_DATA_ACCESS_DEFINE(udp_access, struct net_udp_hdr); in net_ipv4_input()
|
D | icmpv4.c | 555 sizeof(struct net_udp_hdr); in net_icmpv4_send_error()
|
D | tp.c | 417 sizeof(struct net_udp_hdr) + len, in tp_output_pkt_alloc()
|
D | ipv6.c | 477 NET_PKT_DATA_ACCESS_DEFINE(udp_access, struct net_udp_hdr); in net_ipv6_input()
|
/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() 132 struct net_udp_hdr *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() 236 struct net_udp_hdr *udp_hdr; in test_receiving() 238 udp_hdr = (struct net_udp_hdr *) in test_receiving() 295 hdr_offset += sizeof(struct net_udp_hdr); in test_fragment() 925 sizeof(struct net_udp_hdr); in test_fragment_rx_udp()
|
/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() 493 struct net_udp_hdr *udp_hdr; in verify_offer() 501 udp_hdr = (struct net_udp_hdr *)net_pkt_get_data(pkt, &udp_access); in verify_offer() 662 NET_PKT_DATA_ACCESS_DEFINE(udp_access, struct net_udp_hdr); in verify_ack() 667 struct net_udp_hdr *udp_hdr; in verify_ack() 675 udp_hdr = (struct net_udp_hdr *)net_pkt_get_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() 247 struct net_udp_hdr *udp; in update_protocol_header_lengths() 249 udp = (struct net_udp_hdr *)net_pkt_get_data(pkt, &udp_access); in update_protocol_header_lengths()
|
/Zephyr-latest/subsys/net/lib/capture/ |
D | capture.c | 322 sizeof(struct net_udp_hdr); in net_capture_setup() 331 sizeof(struct net_udp_hdr); in net_capture_setup() 630 len += sizeof(struct net_udp_hdr); in capture_send()
|
/Zephyr-latest/samples/net/promiscuous_mode/src/ |
D | main.c | 45 struct net_udp_hdr hdr, *udp_hdr; in get_ports()
|
/Zephyr-latest/tests/net/6lo/src/ |
D | main.c | 241 struct net_udp_hdr udp; 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() 320 sizeof(struct net_udp_hdr)); in compare_udp_hdr()
|
/Zephyr-latest/tests/net/virtual/src/ |
D | main.c | 947 size_t inner_len = sizeof(struct net_udp_hdr) + in test_virtual_recv_data_from_tunnel() 1003 sizeof(struct net_udp_hdr) + in test_virtual_recv_data_from_tunnel() 1016 sizeof(struct net_udp_hdr) + in test_virtual_recv_data_from_tunnel()
|
/Zephyr-latest/tests/net/traffic_class/src/ |
D | main.c | 171 struct net_udp_hdr hdr, *udp_hdr; in eth_tx() 234 sizeof(struct net_udp_hdr)), in eth_tx()
|
/Zephyr-latest/doc/connectivity/networking/api/ |
D | net_pkt.rst | 329 NET_PKT_DATA_ACCESS_DEFINE(udp_access, struct net_udp_hdr); 330 struct net_udp_hdr *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() 1917 struct net_udp_hdr *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/ptp/ |
D | msg.c | 267 struct net_udp_hdr *hdr; in ptp_msg_from_pkt()
|
/Zephyr-latest/tests/net/ieee802154/6lo_fragment/src/ |
D | main.c | 156 struct net_udp_hdr udp;
|
/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() 763 struct net_udp_hdr *udp_hdr; in sock_get_pkt_src_addr() 765 udp_hdr = (struct net_udp_hdr *)net_pkt_get_data(pkt, in sock_get_pkt_src_addr()
|
/Zephyr-latest/tests/net/context/src/ |
D | main.c | 1002 struct net_udp_hdr hdr, *udp_hdr; in tester_send()
|
/Zephyr-latest/tests/net/ipv6/src/ |
D | main.c | 1601 #define NET_UDP_HDR(pkt) ((struct net_udp_hdr *)(net_udp_get_hdr(pkt, NULL)))
|