Home
last modified time | relevance | path

Searched refs:net_udp_hdr (Results 1 – 25 of 27) sorted by relevance

12

/Zephyr-Core-2.7.6/include/net/
Dudp.h54 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()
Dnet_ip.h491 struct net_udp_hdr { struct
547 struct net_udp_hdr *udp;
/Zephyr-Core-2.7.6/subsys/net/ip/
Dudp.c22 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()
44 udp_hdr = (struct net_udp_hdr *)net_pkt_get_data(pkt, &udp_access); in net_udp_finalize()
61 struct net_udp_hdr *net_udp_get_hdr(struct net_pkt *pkt, in net_udp_get_hdr()
62 struct net_udp_hdr *hdr) in net_udp_get_hdr()
64 NET_PKT_DATA_ACCESS_CONTIGUOUS_DEFINE(udp_access, struct net_udp_hdr); in net_udp_get_hdr()
66 struct net_udp_hdr *udp_hdr; in net_udp_get_hdr()
[all …]
Dudp_internal.h85 struct net_udp_hdr *net_udp_input(struct net_pkt *pkt,
89 struct net_udp_hdr *net_udp_input(struct net_pkt *pkt, in net_udp_input()
D6lo.c588 static inline uint8_t *compress_nh_udp(struct net_udp_hdr *udp, uint8_t *inline_ptr, in compress_nh_udp()
730 struct net_udp_hdr *udp; in compress_IPHC_header()
749 udp = (struct net_udp_hdr *)inline_pos; in compress_IPHC_header()
1224 struct net_udp_hdr *udp) in uncompress_nh_udp()
1313 struct net_udp_hdr *udp = NULL; in uncompress_IPHC_header()
1347 diff += sizeof(struct net_udp_hdr) - sizeof(uint8_t) - in uncompress_IPHC_header()
1459 udp = (struct net_udp_hdr *)(frag->data + NET_IPV6H_LEN); in uncompress_IPHC_header()
1594 diff += sizeof(struct net_udp_hdr) - sizeof(uint8_t) - in net_6lo_uncompress_hdr_diff()
Dipv4.c216 NET_PKT_DATA_ACCESS_DEFINE(udp_access, struct net_udp_hdr); in net_ipv4_input()
Dicmpv6.c225 sizeof(struct net_udp_hdr); in net_icmpv6_send_error()
Dipv6.c424 NET_PKT_DATA_ACCESS_DEFINE(udp_access, struct net_udp_hdr); in net_ipv6_input()
Dicmpv4.c614 sizeof(struct net_udp_hdr); in net_icmpv4_send_error()
Dtp.c417 sizeof(struct net_udp_hdr) + len, in tp_output_pkt_alloc()
/Zephyr-Core-2.7.6/samples/net/zperf/src/
Dzperf_udp_receiver.c36 struct net_udp_hdr *udp_hdr, in set_dst_addr()
86 struct net_udp_hdr *udp_hdr, in zperf_receiver_send_stat()
123 struct net_udp_hdr *udp_hdr = proto_hdr->udp; in udp_received()
Dzperf_session.c31 struct net_udp_hdr *udp_hdr; in get_session()
/Zephyr-Core-2.7.6/subsys/net/l2/ieee802154/
Dieee802154_fragment.c250 NET_PKT_DATA_ACCESS_DEFINE(udp_access, struct net_udp_hdr); in update_protocol_header_lengths()
251 struct net_udp_hdr *udp; in update_protocol_header_lengths()
253 udp = (struct net_udp_hdr *)net_pkt_get_data(pkt, &udp_access); in update_protocol_header_lengths()
/Zephyr-Core-2.7.6/tests/net/checksum_offload/src/
Dmain.c114 NET_PKT_DATA_ACCESS_DEFINE(udp_access, struct net_udp_hdr); in get_udp_chksum()
115 struct net_udp_hdr *udp_hdr; in get_udp_chksum()
129 udp_hdr = (struct net_udp_hdr *)net_pkt_get_data(pkt, &udp_access); in get_udp_chksum()
154 struct net_udp_hdr hdr, *udp_hdr; in eth_tx_offloading_disabled()
/Zephyr-Core-2.7.6/subsys/net/lib/capture/
Dcapture.c322 sizeof(struct net_udp_hdr); in net_capture_setup()
333 sizeof(struct net_udp_hdr); in net_capture_setup()
604 len += sizeof(struct net_udp_hdr); in capture_send()
/Zephyr-Core-2.7.6/samples/net/promiscuous_mode/src/
Dmain.c45 struct net_udp_hdr hdr, *udp_hdr; in get_ports()
/Zephyr-Core-2.7.6/samples/bluetooth/ipsp/src/
Dmain.c166 struct net_udp_hdr *udp_hdr, in set_dst_addr()
/Zephyr-Core-2.7.6/tests/net/6lo/src/
Dmain.c235 struct net_udp_hdr udp;
302 NET_PKT_DATA_ACCESS_CONTIGUOUS_DEFINE(udp_access, struct net_udp_hdr); in compare_udp_hdr()
303 struct net_udp_hdr *udp_hdr = net_pkt_get_data(pkt, &udp_access); in compare_udp_hdr()
314 sizeof(struct net_udp_hdr)); in compare_udp_hdr()
/Zephyr-Core-2.7.6/tests/net/virtual/src/
Dmain.c859 size_t inner_len = sizeof(struct net_udp_hdr) + in test_virtual_recv_data_from_tunnel()
915 sizeof(struct net_udp_hdr) + in test_virtual_recv_data_from_tunnel()
928 sizeof(struct net_udp_hdr) + in test_virtual_recv_data_from_tunnel()
/Zephyr-Core-2.7.6/subsys/net/lib/dns/
Dllmnr_responder.c68 struct net_udp_hdr *udp_hdr, hdr; in create_ipv6_dst_addr()
95 struct net_udp_hdr *udp_hdr, hdr; in create_ipv4_dst_addr()
/Zephyr-Core-2.7.6/tests/net/traffic_class/src/
Dmain.c167 struct net_udp_hdr hdr, *udp_hdr; in eth_tx()
230 sizeof(struct net_udp_hdr)), in eth_tx()
/Zephyr-Core-2.7.6/doc/reference/networking/
Dnet_pkt.rst329 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-Core-2.7.6/tests/net/ieee802154/fragment/src/
Dmain.c156 struct net_udp_hdr udp;
/Zephyr-Core-2.7.6/subsys/net/lib/sockets/
Dsockets.c931 NET_PKT_DATA_ACCESS_DEFINE(udp_access, struct net_udp_hdr); in sock_get_pkt_src_addr()
932 struct net_udp_hdr *udp_hdr; in sock_get_pkt_src_addr()
934 udp_hdr = (struct net_udp_hdr *)net_pkt_get_data(pkt, in sock_get_pkt_src_addr()
/Zephyr-Core-2.7.6/tests/net/context/src/
Dmain.c892 struct net_udp_hdr hdr, *udp_hdr; in tester_send()

12