Home
last modified time | relevance | path

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

12

/Zephyr-Core-3.5.0/subsys/net/ip/
Dudp.c25 udp_hdr = (struct net_udp_hdr *)net_pkt_get_data(pkt, &udp_access); in net_udp_create()
44 udp_hdr = (struct net_udp_hdr *)net_pkt_get_data(pkt, &udp_access); in net_udp_finalize()
83 udp_hdr = (struct net_udp_hdr *)net_pkt_get_data(pkt, &udp_access); in net_udp_get_hdr()
112 udp_hdr = (struct net_udp_hdr *)net_pkt_get_data(pkt, &udp_access); in net_udp_set_hdr()
152 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()
85 icmp_hdr = (struct net_icmp_hdr *)net_pkt_get_data(pkt, &icmp_access); in net_icmpv6_create()
196 ip_hdr = (struct net_ipv6_hdr *)net_pkt_get_data(orig, &ipv6_access); in net_icmpv6_send_error()
208 icmp_hdr = (struct net_icmp_hdr *)net_pkt_get_data( in net_icmpv6_send_error()
337 icmp_hdr = (struct net_icmp_hdr *)net_pkt_get_data(pkt, &icmp_access); in net_icmpv6_input()
Dicmpv4.c38 icmp_hdr = (struct net_icmp_hdr *)net_pkt_get_data(pkt, &icmpv4_access); in net_icmpv4_create()
62 icmp_hdr = (struct net_icmp_hdr *)net_pkt_get_data(pkt, &icmpv4_access); in net_icmpv4_finalize()
515 ip_hdr = (struct net_ipv4_hdr *)net_pkt_get_data(orig, &ipv4_access); in net_icmpv4_send_error()
525 icmp_hdr = (struct net_icmp_hdr *)net_pkt_get_data( in net_icmpv4_send_error()
606 icmp_hdr = (struct net_icmp_hdr *)net_pkt_get_data(pkt, &icmp_access); in net_icmpv4_input()
Dipv4_fragment.c163 ipv4_hdr = (struct net_ipv4_hdr *)net_pkt_get_data(pkt, &ipv4_access); in reassemble_packet()
193 ipv4_hdr = (struct net_ipv4_hdr *)net_pkt_get_data(pkt, &ipv4_access); in reassemble_packet()
467 ipv4_hdr = (struct net_ipv4_hdr *)net_pkt_get_data(frag_pkt, &ipv4_access); in send_ipv4_fragment()
522 frag_hdr = (struct net_ipv4_hdr *)net_pkt_get_data(pkt, &frag_access); in net_ipv4_send_fragmented_pkt()
584 ip_hdr = (struct net_ipv4_hdr *)net_pkt_get_data(pkt, &ipv4_access); in net_ipv4_prepare_for_send()
Dipv4.c46 ipv4_hdr = (struct net_ipv4_hdr *)net_pkt_get_data(pkt, &ipv4_access); in net_ipv4_create_full()
97 ipv4_hdr = (struct net_ipv4_hdr *)net_pkt_get_data(pkt, &ipv4_access); in net_ipv4_finalize()
245 hdr = (struct net_ipv4_hdr *)net_pkt_get_data(pkt, &ipv4_access); in net_ipv4_input()
Dipv6_nbr.c781 ip_hdr = (struct net_ipv6_hdr *)net_pkt_get_data(pkt, &ipv6_access); in net_ipv6_prepare_for_send()
1066 na_hdr = (struct net_icmpv6_na_hdr *)net_pkt_get_data(pkt, &na_access); in net_ipv6_send_na()
1163 ns_hdr = (struct net_icmpv6_ns_hdr *)net_pkt_get_data(pkt, &ns_access); in handle_ns_input()
1189 net_pkt_get_data(pkt, &nd_access); in handle_ns_input()
1230 net_pkt_get_data(pkt, &nd_access); in handle_ns_input()
1738 na_hdr = (struct net_icmpv6_na_hdr *)net_pkt_get_data(pkt, &na_access); in handle_na_input()
1767 net_pkt_get_data(pkt, &nd_access); in handle_na_input()
1799 net_pkt_get_data(pkt, &nd_access); in handle_na_input()
1894 ns_hdr = (struct net_icmpv6_ns_hdr *)net_pkt_get_data(pkt, &ns_access); in net_ipv6_send_ns()
2209 net_pkt_get_data(pkt, &rapfx_access); in handle_ra_prefix()
[all …]
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()
627 frag_hdr = (struct net_ipv6_frag_hdr *)net_pkt_get_data(frag_pkt, in send_ipv6_fragment()
Digmp.c50 net_pkt_get_data(pkt, &igmp_access); in igmp_v2_create()
213 igmp_hdr = (struct net_ipv4_igmp_v2_query *)net_pkt_get_data(pkt, in net_ipv4_igmp_input()
Dipv6_mld.c50 net_pkt_get_data(pkt, &mld_access); in mld_create()
326 net_pkt_get_data(pkt, &mld_access); in handle_mld_query()
Dipv6.c61 ipv6_hdr = (struct net_ipv6_hdr *)net_pkt_get_data(pkt, &ipv6_access); in net_ipv6_create()
100 ipv6_hdr = (struct net_ipv6_hdr *)net_pkt_get_data(pkt, &ipv6_access); in net_ipv6_finalize()
459 hdr = (struct net_ipv6_hdr *)net_pkt_get_data(pkt, &ipv6_access); in net_ipv6_input()
Dicmp.c167 echo_req = (struct net_icmpv4_echo_req *)net_pkt_get_data( in send_icmpv4_echo_request()
287 echo_req = (struct net_icmpv6_echo_req *)net_pkt_get_data( in send_icmpv6_echo_request()
Ddhcpv4.c206 msg = (struct dhcp_msg *)net_pkt_get_data(pkt, &dhcp_access); in dhcpv4_create_message()
1078 msg = (struct dhcp_msg *)net_pkt_get_data(pkt, &dhcp_access); in net_dhcpv4_input()
1428 udp_hdr = (struct net_udp_hdr *)net_pkt_get_data(pkt, &udp_access); in net_dhcpv4_accept_unicast()
Dtcp.c1049 th = (struct tcphdr *)net_pkt_get_data(pkt, &tcp_access); in tcp_header_add()
1129 mss = net_pkt_get_data(pkt, &mss_opt_access); in net_tcp_set_mss_opt()
3466 tcp_hdr = (struct net_tcp_hdr *)net_pkt_get_data(pkt, &tcp_access); in net_tcp_finalize()
3492 tcp_hdr = (struct net_tcp_hdr *)net_pkt_get_data(pkt, tcp_access); in net_tcp_input()
/Zephyr-Core-3.5.0/subsys/net/l2/virtual/ipip/
Dipip.c112 ipv4_hdr = (struct net_ipv4_hdr *)net_pkt_get_data(pkt, &ipv4_access); in ipv4_get_tos()
315 hdr = (struct net_ipv6_hdr *)net_pkt_get_data(pkt, &access); in interface_input()
355 hdr = (struct net_ipv4_hdr *)net_pkt_get_data(pkt, &access); in interface_input()
/Zephyr-Core-3.5.0/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-Core-3.5.0/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-Core-3.5.0/subsys/shell/backends/
Dshell_telnet.c167 cmd = (struct telnet_simple_command *)net_pkt_get_data(pkt, in telnet_handle_command()
/Zephyr-Core-3.5.0/subsys/net/l2/openthread/
Dopenthread.c338 hdr = (struct net_ipv6_hdr *)net_pkt_get_data(pkt, &ipv6_access); in is_ipv6_frag()
/Zephyr-Core-3.5.0/subsys/net/lib/sockets/
Dsockets.c1036 ipv4_hdr = (struct net_ipv4_hdr *)net_pkt_get_data( in sock_get_pkt_src_addr()
1059 ipv6_hdr = (struct net_ipv6_hdr *)net_pkt_get_data( in sock_get_pkt_src_addr()
1079 udp_hdr = (struct net_udp_hdr *)net_pkt_get_data(pkt, in sock_get_pkt_src_addr()
1091 tcp_hdr = (struct net_tcp_hdr *)net_pkt_get_data(pkt, in sock_get_pkt_src_addr()
/Zephyr-Core-3.5.0/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-Core-3.5.0/tests/net/checksum_offload/src/
Dmain.c129 udp_hdr = (struct net_udp_hdr *)net_pkt_get_data(pkt, &udp_access); in get_udp_chksum()
/Zephyr-Core-3.5.0/tests/net/net_pkt/src/
Dmain.c545 net_pkt_get_data(pkt, &ip_access); in ZTEST()
/Zephyr-Core-3.5.0/tests/net/ipv6/src/
Dmain.c232 hdr = (struct net_icmp_hdr *)net_pkt_get_data(pkt, &icmp_access); in get_icmp_hdr()
/Zephyr-Core-3.5.0/drivers/modem/
Dwncm14a2a.c482 tcp = (struct net_tcp_hdr *)net_pkt_get_data(pkt, &tcp_access); in pkt_setup_ip_data()
/Zephyr-Core-3.5.0/tests/net/tcp/src/
Dmain.c260 th = (struct tcphdr *)net_pkt_get_data(pkt, &tcp_access); in tester_prepare_tcp_pkt()

12