Home
last modified time | relevance | path

Searched refs:net_pkt_skip (Results 1 – 25 of 44) sorted by relevance

12

/Zephyr-latest/tests/net/ipv6_fragment/src/
Dmain.c975 net_pkt_skip(recv_pkt, 8); in test_pkt_loopback()
981 net_pkt_skip(recv_pkt, 8); in test_pkt_loopback()
988 net_pkt_skip(recv_pkt, NET_IPV6H_LEN + NET_IPV6_FRAGH_LEN); in test_pkt_loopback()
993 net_pkt_skip(recv_pkt, NET_IPV6H_LEN + NET_IPV6_FRAGH_LEN); in test_pkt_loopback()
1183 if (net_pkt_skip(pkt, 40 + 1032 + 2) || in verify_fragment()
1223 if (net_pkt_skip(pkt, 40 + 1032 + 2) || in verify_fragment()
1263 if (net_pkt_skip(pkt, 40 + 1032 + 2) || in verify_fragment()
1316 if (net_pkt_skip(pkt, 40 + 2) || in verify_fragment()
1362 if (net_pkt_skip(pkt, 40 + 2) || in verify_fragment()
1415 if (net_pkt_skip(pkt, 40 + 2) || in verify_fragment()
[all …]
/Zephyr-latest/subsys/net/ip/
Dipv6_fragment.c94 if (net_pkt_skip(pkt, length)) { in net_ipv6_find_last_ext_hdr()
100 if (net_pkt_skip(pkt, 7)) { in net_ipv6_find_last_ext_hdr()
296 if (net_pkt_skip(pkt, net_pkt_ipv6_fragment_start(pkt))) { in reassemble_packet()
316 if (net_pkt_skip(pkt, net_pkt_ipv6_hdr_prev(pkt)) || in reassemble_packet()
489 if (net_pkt_skip(pkt, 1) || /* reserved */ in net_ipv6_handle_fragment_hdr()
617 net_pkt_skip(pkt, 1) || in send_ipv6_fragment()
653 if (net_pkt_skip(pkt, frag_offset) || in send_ipv6_fragment()
708 if (net_pkt_skip(pkt, next_hdr_off) || in net_ipv6_send_fragmented_pkt()
735 net_pkt_skip(pkt, last_hdr_off); in net_ipv6_send_fragmented_pkt()
Dudp.c80 if (net_pkt_skip(pkt, net_pkt_ip_hdr_len(pkt) + in net_udp_get_hdr()
109 if (net_pkt_skip(pkt, net_pkt_ip_hdr_len(pkt) + in net_udp_set_hdr()
Dipv4.c166 if (net_pkt_skip(pkt, sizeof(struct net_ipv4_hdr))) { in net_ipv4_parse_hdr_options()
225 if (net_pkt_skip(pkt, opt_len)) { in net_ipv4_parse_hdr_options()
366 if (net_pkt_skip(pkt, opts_len)) { in net_ipv4_input()
Dipv6.c141 net_pkt_skip(pkt, net_pkt_ipv6_ext_len(pkt))) { in net_ipv6_finalize()
252 net_pkt_skip(pkt, opt_len); in ipv6_handle_ext_hdr_options()
270 if (net_pkt_skip(pkt, opt_len)) { in ipv6_handle_ext_hdr_options()
Digmp.c83 net_pkt_skip(pkt, offsetof(struct net_ipv4_igmp_v2_report, chksum)); in igmp_v2_create()
177 net_pkt_skip(pkt, offsetof(struct net_ipv4_igmp_v3_report, chksum)); in igmp_v3_create()
Dipv6_mld.c362 net_pkt_skip(pkt, net_pkt_ip_hdr_len(pkt) + net_pkt_ipv6_ext_len(pkt) + in send_mld_report()
/Zephyr-latest/tests/net/dhcpv4/client/src/
Dmain.c360 if (net_pkt_skip(pkt, NET_IPV4UDPH_LEN)) { in parse_dhcp_message()
365 if (net_pkt_skip(pkt, 4)) { in parse_dhcp_message()
374 if (net_pkt_skip(pkt, 36 + 64 + 128 + 4)) { in parse_dhcp_message()
387 if (net_pkt_skip(pkt, 1)) { in parse_dhcp_message()
402 if (length && net_pkt_skip(pkt, length)) { in parse_dhcp_message()
/Zephyr-latest/tests/net/ipv4_fragment/src/
Dmain.c311 net_pkt_skip(recv_pkt, 12); in sender_iface()
317 net_pkt_skip(recv_pkt, 12); in sender_iface()
323 net_pkt_skip(recv_pkt, 6); in sender_iface()
330 net_pkt_skip(recv_pkt, NET_IPV4H_LEN); in sender_iface()
335 net_pkt_skip(recv_pkt, NET_IPV4H_LEN); in sender_iface()
638 net_pkt_skip(pkt, net_pkt_ip_hdr_len(pkt)); in ZTEST()
707 net_pkt_skip(pkt, net_pkt_ip_hdr_len(pkt)); in ZTEST()
851 net_pkt_skip(pkt, net_pkt_ip_hdr_len(pkt)); in ZTEST()
/Zephyr-latest/subsys/net/lib/dhcpv4/
Ddhcpv4.c897 net_pkt_skip(pkt, length); in dhcpv4_parse_option_vendor()
920 net_pkt_skip(pkt, length); in dhcpv4_parse_option_vendor()
938 net_pkt_skip(pkt, len); in dhcpv4_parse_option_vendor()
1044 net_pkt_skip(pkt, length - 4U)) { in dhcpv4_parse_options()
1101 if (net_pkt_skip(pkt, length - dns_servers_cnt * addr_size)) { in dhcpv4_parse_options()
1136 net_pkt_skip(pkt, length - 4U) < 0) { in dhcpv4_parse_options()
1168 net_pkt_skip(pkt, length - 4U) < 0) { in dhcpv4_parse_options()
1189 if (net_pkt_skip(pkt, length)) { in dhcpv4_parse_options()
1295 if (net_pkt_skip(pkt, length)) { in dhcpv4_parse_options()
1486 if (net_pkt_skip(pkt, NET_IPV4UDPH_LEN)) { in net_dhcpv4_input()
[all …]
/Zephyr-latest/tests/net/net_pkt/src/
Dmain.c279 net_pkt_skip(pkt, 1); in ZTEST()
286 net_pkt_skip(pkt, 1); in ZTEST()
292 net_pkt_skip(pkt, 1); in ZTEST()
330 ret = net_pkt_skip(pkt, 20); in ZTEST()
370 ret = net_pkt_skip(pkt, 20); in ZTEST()
455 ret = net_pkt_skip(pkt, 20); in ZTEST()
500 net_pkt_skip(pkt, 4); in ZTEST()
804 net_pkt_skip(pkt, 6); in ZTEST()
/Zephyr-latest/tests/net/igmp/src/
Dmain.c130 net_pkt_skip(pkt, net_pkt_ip_hdr_len(pkt) + in get_igmp_hdr()
145 net_pkt_skip(pkt, net_pkt_ip_hdr_len(pkt) + net_pkt_ipv4_opts_len(pkt)); in get_igmp_group_record()
146 net_pkt_skip(pkt, sizeof(struct net_ipv4_igmp_v3_report)); in get_igmp_group_record()
/Zephyr-latest/tests/net/icmpv4/src/
Dmain.c185 ret = net_pkt_skip(pkt, NET_IPV4H_LEN); in verify_echo_reply()
249 ret = net_pkt_skip(pkt, NET_IPV4H_LEN - 1U + opts_len); in verify_echo_reply_with_opts()
/Zephyr-latest/tests/net/checksum_offload/src/
Dmain.c140 if (net_pkt_skip(pkt, sizeof(struct net_eth_hdr) + in get_udp_chksum()
167 if (net_pkt_skip(pkt, sizeof(struct net_eth_hdr) + in get_icmp_chksum()
198 net_pkt_skip(pkt, sizeof(struct net_eth_hdr)); in test_receiving()
232 net_pkt_skip(pkt, net_pkt_ip_hdr_len(pkt) + net_pkt_ip_opts_len(pkt)); in test_receiving()
314 net_pkt_skip(pkt, hdr_offset); in test_fragment()
1195 net_pkt_skip(pkt, hdr_offset); in icmp_handler()
/Zephyr-latest/samples/net/lldp/src/
Dmain.c163 if (net_pkt_skip(pkt, length)) { in parse_lldp()
/Zephyr-latest/samples/net/wpan_serial/src/
Dmain.c190 net_pkt_skip(pkt, 1); in send_data()
192 net_pkt_skip(pkt, 2); in send_data()
/Zephyr-latest/tests/net/lib/mdns_responder/src/
Dmain.c366 net_pkt_skip(pkt, NET_IPV6UDPH_LEN); in check_service_type_enum_resp()
374 net_pkt_skip(pkt, sizeof(service_enum_start)); in check_service_type_enum_resp()
/Zephyr-latest/tests/net/icmpv6/src/
Dmain.c170 net_pkt_skip(pkt, sizeof(struct net_ipv6_hdr)); in create_pkt()
/Zephyr-latest/subsys/net/lib/shell/
Dping.c67 net_pkt_skip(pkt, sizeof(*icmp_echo)); in handle_ipv6_echo_reply()
147 net_pkt_skip(pkt, sizeof(*icmp_echo)); in handle_ipv4_echo_reply()
/Zephyr-latest/subsys/net/lib/dhcpv6/
Ddhcpv6.c829 ret = net_pkt_skip(pkt, length); in dhcpv6_parse_option_status_code()
899 ret = net_pkt_skip(pkt, sublen); in dhcpv6_parse_option_iaaddr()
992 ret = net_pkt_skip(pkt, sublen); in dhcpv6_parse_option_ia_na()
1075 ret = net_pkt_skip(pkt, sublen); in dhcpv6_parse_option_iaprefix()
1167 ret = net_pkt_skip(pkt, sublen); in dhcpv6_parse_option_ia_pd()
1198 ret = net_pkt_skip(pkt, length); in dhcpv6_find_option()
1816 if (net_pkt_skip(pkt, NET_IPV6UDPH_LEN)) { in dhcpv6_input()
/Zephyr-latest/tests/net/mld/src/
Dmain.c136 net_pkt_skip(pkt, net_pkt_ip_hdr_len(pkt) + in get_icmp_hdr()
651 net_pkt_skip(pkt, sizeof(struct net_icmp_hdr)); in expect_exclude_mcast_report()
837 net_pkt_skip(pkt, sizeof(struct net_icmp_hdr)); in handle_mld_report()
/Zephyr-latest/tests/net/dhcpv4/server/src/
Dmain.c429 (void)net_pkt_skip(pkt, len); in verify_no_option()
556 ret = net_pkt_skip(pkt, SIZE_OF_SNAME + SIZE_OF_FILE); in verify_offer()
739 ret = net_pkt_skip(pkt, SIZE_OF_SNAME + SIZE_OF_FILE); in verify_ack()
/Zephyr-latest/tests/boards/espressif/wifi/src/
Dmain.c135 net_pkt_skip(pkt, hdr_offset); in icmp_event()
/Zephyr-latest/tests/net/ppp/driver/src/
Dmain.c419 net_pkt_skip(pkt, len - sizeof(uint16_t) - (2 + 1)); in ppp_calc_fcs()
/Zephyr-latest/subsys/net/l2/ppp/
Doptions.c69 net_pkt_skip(pkt, opt_val_len); in ppp_parse_options()

12