Home
last modified time | relevance | path

Searched refs:net_pkt_get_data (Results 1 – 25 of 29) sorted by relevance

12

/Zephyr-latest/subsys/net/ip/
Dudp.c25 udp_hdr = (struct net_udp_hdr *)net_pkt_get_data(pkt, &udp_access); in net_udp_create()
46 udp_hdr = (struct net_udp_hdr *)net_pkt_get_data(pkt, &udp_access); in net_udp_finalize()
86 udp_hdr = (struct net_udp_hdr *)net_pkt_get_data(pkt, &udp_access); in net_udp_get_hdr()
115 udp_hdr = (struct net_udp_hdr *)net_pkt_get_data(pkt, &udp_access); in net_udp_set_hdr()
157 udp_hdr = (struct net_udp_hdr *)net_pkt_get_data(pkt, udp_access); in net_udp_input()
Dicmpv6.c66 icmp_hdr = (struct net_icmp_hdr *)net_pkt_get_data(pkt, &icmp_access); in net_icmpv6_finalize()
87 icmp_hdr = (struct net_icmp_hdr *)net_pkt_get_data(pkt, &icmp_access); in net_icmpv6_create()
203 ip_hdr = (struct net_ipv6_hdr *)net_pkt_get_data(orig, &ipv6_access); in net_icmpv6_send_error()
215 icmp_hdr = (struct net_icmp_hdr *)net_pkt_get_data( in net_icmpv6_send_error()
344 icmp_hdr = (struct net_icmp_hdr *)net_pkt_get_data(pkt, &icmp_access); in net_icmpv6_input()
Dicmpv4.c39 icmp_hdr = (struct net_icmp_hdr *)net_pkt_get_data(pkt, &icmpv4_access); in net_icmpv4_create()
63 icmp_hdr = (struct net_icmp_hdr *)net_pkt_get_data(pkt, &icmpv4_access); in net_icmpv4_finalize()
523 ip_hdr = (struct net_ipv4_hdr *)net_pkt_get_data(orig, &ipv4_access); in net_icmpv4_send_error()
533 icmp_hdr = (struct net_icmp_hdr *)net_pkt_get_data( in net_icmpv4_send_error()
614 icmp_hdr = (struct net_icmp_hdr *)net_pkt_get_data(pkt, &icmp_access); in net_icmpv4_input()
685 net_pkt_get_data(pkt, &dst_unreach_access); in icmpv4_handle_dst_unreach()
Digmp.c64 net_pkt_get_data(pkt, &igmp_access); in igmp_v2_create()
102 igmp = (struct net_ipv4_igmp_v3_report *)net_pkt_get_data(pkt, &igmp_access); in igmp_v3_create()
149 group_record = (struct net_ipv4_igmp_v3_group_record *)net_pkt_get_data( in igmp_v3_create()
450 igmpv3_hdr = (struct net_ipv4_igmp_v3_query *)net_pkt_get_data(pkt, &igmpv3_access);
457 igmpv2_hdr = (struct net_ipv4_igmp_v2_query *)net_pkt_get_data(pkt, &igmpv2_access);
Dipv4_fragment.c164 ipv4_hdr = (struct net_ipv4_hdr *)net_pkt_get_data(pkt, &ipv4_access); in reassemble_packet()
194 ipv4_hdr = (struct net_ipv4_hdr *)net_pkt_get_data(pkt, &ipv4_access); in reassemble_packet()
469 ipv4_hdr = (struct net_ipv4_hdr *)net_pkt_get_data(frag_pkt, &ipv4_access); in send_ipv4_fragment()
528 frag_hdr = (struct net_ipv4_hdr *)net_pkt_get_data(pkt, &frag_access); in net_ipv4_send_fragmented_pkt()
619 ip_hdr = (struct net_ipv4_hdr *)net_pkt_get_data(pkt, &ipv4_access); in net_ipv4_prepare_for_send_fragment()
Dipv6_nbr.c803 ip_hdr = (struct net_ipv6_hdr *)net_pkt_get_data(pkt, &ipv6_access); in net_ipv6_prepare_for_send()
1139 na_hdr = (struct net_icmpv6_na_hdr *)net_pkt_get_data(pkt, &na_access); in net_ipv6_send_na()
1236 ns_hdr = (struct net_icmpv6_ns_hdr *)net_pkt_get_data(pkt, &ns_access); in handle_ns_input()
1262 net_pkt_get_data(pkt, &nd_access); in handle_ns_input()
1303 net_pkt_get_data(pkt, &nd_access); in handle_ns_input()
1855 na_hdr = (struct net_icmpv6_na_hdr *)net_pkt_get_data(pkt, &na_access); in handle_na_input()
1884 net_pkt_get_data(pkt, &nd_access); in handle_na_input()
1916 net_pkt_get_data(pkt, &nd_access); in handle_na_input()
2016 ns_hdr = (struct net_icmpv6_ns_hdr *)net_pkt_get_data(pkt, &ns_access); in net_ipv6_send_ns()
2357 net_pkt_get_data(pkt, &rapfx_access); in handle_ra_prefix()
[all …]
Dipv4.c46 ipv4_hdr = (struct net_ipv4_hdr *)net_pkt_get_data(pkt, &ipv4_access); in net_ipv4_create_full()
115 ipv4_hdr = (struct net_ipv4_hdr *)net_pkt_get_data(pkt, &ipv4_access); in net_ipv4_finalize()
263 hdr = (struct net_ipv4_hdr *)net_pkt_get_data(pkt, &ipv4_access); in net_ipv4_input()
Dipv6_fragment.c63 hdr = (struct net_ipv6_hdr *)net_pkt_get_data(pkt, &ipv6_access); in net_ipv6_find_last_ext_hdr()
301 ipv6.frag_hdr = (struct net_ipv6_frag_hdr *)net_pkt_get_data( in reassemble_packet()
323 ipv6.hdr = (struct net_ipv6_hdr *)net_pkt_get_data(pkt, &ipv6_access); in reassemble_packet()
628 frag_hdr = (struct net_ipv6_frag_hdr *)net_pkt_get_data(frag_pkt, in send_ipv6_fragment()
Dipv6_mld.c59 net_pkt_get_data(pkt, &mld_access); in mld_create()
420 net_pkt_get_data(pkt, &mld_access); in handle_mld_query()
Dipv6.c67 ipv6_hdr = (struct net_ipv6_hdr *)net_pkt_get_data(pkt, &ipv6_access); in net_ipv6_create()
124 ipv6_hdr = (struct net_ipv6_hdr *)net_pkt_get_data(pkt, &ipv6_access); in net_ipv6_finalize()
499 hdr = (struct net_ipv6_hdr *)net_pkt_get_data(pkt, &ipv6_access); in net_ipv6_input()
Dicmp.c169 echo_req = (struct net_icmpv4_echo_req *)net_pkt_get_data( in send_icmpv4_echo_request()
293 echo_req = (struct net_icmpv6_echo_req *)net_pkt_get_data( in send_icmpv6_echo_request()
Dtcp.c1346 th = (struct tcphdr *)net_pkt_get_data(pkt, &tcp_access); in tcp_header_add()
1426 mss = net_pkt_get_data(pkt, &mss_opt_access); in net_tcp_set_mss_opt()
1499 th_rst = (struct tcphdr *)net_pkt_get_data(rst, &tcp_access_rst); in net_tcp_reply_rst()
4088 tcp_hdr = (struct net_tcp_hdr *)net_pkt_get_data(pkt, &tcp_access); in net_tcp_finalize()
4118 tcp_hdr = (struct net_tcp_hdr *)net_pkt_get_data(pkt, tcp_access); in net_tcp_input()
/Zephyr-latest/tests/net/dhcpv4/server/src/
Dmain.c104 ipv4_hdr = (struct net_ipv4_hdr *)net_pkt_get_data(pkt, &ipv4_access); in server_send()
497 ipv4_hdr = (struct net_ipv4_hdr *)net_pkt_get_data(pkt, &ipv4_access); in verify_offer()
501 udp_hdr = (struct net_udp_hdr *)net_pkt_get_data(pkt, &udp_access); in verify_offer()
505 msg = (struct dhcp_msg *)net_pkt_get_data(pkt, &dhcp_access); in verify_offer()
671 ipv4_hdr = (struct net_ipv4_hdr *)net_pkt_get_data(pkt, &ipv4_access); in verify_ack()
675 udp_hdr = (struct net_udp_hdr *)net_pkt_get_data(pkt, &udp_access); in verify_ack()
679 msg = (struct dhcp_msg *)net_pkt_get_data(pkt, &dhcp_access); in verify_ack()
/Zephyr-latest/subsys/net/l2/virtual/ipip/
Dipip.c126 ipv4_hdr = (struct net_ipv4_hdr *)net_pkt_get_data(pkt, &ipv4_access); in ipv4_get_tos()
347 hdr = (struct net_ipv6_hdr *)net_pkt_get_data(pkt, &access); in interface_recv()
388 hdr = (struct net_ipv4_hdr *)net_pkt_get_data(pkt, &access); in interface_recv()
/Zephyr-latest/tests/net/checksum_offload/src/
Dmain.c146 udp_hdr = (struct net_udp_hdr *)net_pkt_get_data(pkt, &udp_access); in get_udp_chksum()
173 icmp_hdr = (struct net_icmp_hdr *)net_pkt_get_data(pkt, &icmp_access); in get_icmp_chksum()
210 net_pkt_get_data(pkt, &ipv6_access); in test_receiving()
223 net_pkt_get_data(pkt, &ipv4_access); in test_receiving()
239 net_pkt_get_data(pkt, &udp_access); in test_receiving()
256 net_pkt_get_data(pkt, &icmp_access); in test_receiving()
/Zephyr-latest/subsys/net/lib/shell/
Dping.c61 icmp_echo = (struct net_icmpv6_echo_req *)net_pkt_get_data(pkt, in handle_ipv6_echo_reply()
141 icmp_echo = (struct net_icmpv4_echo_req *)net_pkt_get_data(pkt, in handle_ipv4_echo_reply()
/Zephyr-latest/tests/net/6lo/src/
Dmain.c286 struct net_ipv6_hdr *ipv6_hdr = net_pkt_get_data(pkt, &ipv6_access); in compare_ipv6_hdr()
309 struct net_udp_hdr *udp_hdr = net_pkt_get_data(pkt, &udp_access); in compare_udp_hdr()
332 struct net_icmp_hdr *icmp_hdr = net_pkt_get_data(pkt, &icmp_access); in compare_icmp_hdr()
355 struct user_data_small *test_data = net_pkt_get_data(pkt, &data_access); in compare_data_small()
377 struct user_data_large *test_data = net_pkt_get_data(pkt, &data_access); in compare_data_large()
/Zephyr-latest/subsys/net/l2/ieee802154/
Dieee802154_6lo_fragment.c234 ipv6 = (struct net_ipv6_hdr *)net_pkt_get_data(pkt, &ipv6_access); 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/sockets/
Dsockets_inet.c722 ipv4_hdr = (struct net_ipv4_hdr *)net_pkt_get_data( in sock_get_pkt_src_addr()
745 ipv6_hdr = (struct net_ipv6_hdr *)net_pkt_get_data( in sock_get_pkt_src_addr()
765 udp_hdr = (struct net_udp_hdr *)net_pkt_get_data(pkt, in sock_get_pkt_src_addr()
777 tcp_hdr = (struct net_tcp_hdr *)net_pkt_get_data(pkt, in sock_get_pkt_src_addr()
984 ipv4_hdr = (struct net_ipv4_hdr *)net_pkt_get_data( in add_pktinfo()
1010 ipv6_hdr = (struct net_ipv6_hdr *)net_pkt_get_data( in add_pktinfo()
/Zephyr-latest/subsys/net/lib/dhcpv4/
Ddhcpv4.c301 msg = (struct dhcp_msg *)net_pkt_get_data(pkt, &dhcp_access); in dhcpv4_create_message()
1490 msg = (struct dhcp_msg *)net_pkt_get_data(pkt, &dhcp_access); in net_dhcpv4_input()
1938 udp_hdr = (struct net_udp_hdr *)net_pkt_get_data(pkt, &udp_access); in net_dhcpv4_accept_unicast()
/Zephyr-latest/subsys/net/l2/openthread/
Dopenthread.c360 hdr = (struct net_ipv6_hdr *)net_pkt_get_data(pkt, &ipv6_access); in is_ipv6_frag()
/Zephyr-latest/doc/connectivity/networking/api/
Dnet_pkt.rst321 ipv4_hdr = (struct net_ipv4_hdr *)net_pkt_get_data(pkt, &ipv4_access);
332 udp_hdr = (struct net_udp_hdr *)net_pkt_get_data(pkt, &udp_access);
/Zephyr-latest/tests/net/net_pkt/src/
Dmain.c545 net_pkt_get_data(pkt, &ip_access); in ZTEST()
/Zephyr-latest/drivers/modem/
Dwncm14a2a.c482 tcp = (struct net_tcp_hdr *)net_pkt_get_data(pkt, &tcp_access); in pkt_setup_ip_data()
/Zephyr-latest/include/zephyr/net/
Dnet_pkt.h2589 void *net_pkt_get_data(struct net_pkt *pkt,

12