/Zephyr-latest/subsys/net/ip/ |
D | ipv4_fragment.c | 169 LOG_DBG("Removing %d bytes from start of pkt %p", net_pkt_ip_hdr_len(pkt), in reassemble_packet() 172 if (net_pkt_pull(pkt, net_pkt_ip_hdr_len(pkt))) { in reassemble_packet() 278 payload_len = net_pkt_get_len(pkt) - net_pkt_ip_hdr_len(pkt); in fragments_are_ready() 344 if (more && (net_pkt_get_len(pkt) - net_pkt_ip_hdr_len(pkt)) % 8) { in net_ipv4_handle_fragment_hdr() 434 net_pkt_ip_hdr_len(pkt), in send_ipv4_fragment() 445 if (net_pkt_copy(frag_pkt, pkt, net_pkt_ip_hdr_len(pkt))) { in send_ipv4_fragment() 452 if (net_pkt_skip(pkt, (frag_offset + net_pkt_ip_hdr_len(pkt))) || in send_ipv4_fragment() 460 net_pkt_set_ip_hdr_len(frag_pkt, net_pkt_ip_hdr_len(pkt)); in send_ipv4_fragment() 482 ipv4_hdr->len = htons((fit_len + net_pkt_ip_hdr_len(pkt))); in send_ipv4_fragment() 551 fit_len = (mtu - net_pkt_ip_hdr_len(pkt)) / 8; in net_ipv4_send_fragmented_pkt() [all …]
|
D | udp.c | 51 length = net_pkt_get_len(pkt) - net_pkt_ip_hdr_len(pkt) - in net_udp_finalize() 80 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() 164 net_pkt_ip_hdr_len(pkt) - in net_udp_input()
|
D | ipv6_fragment.c | 618 net_pkt_copy(frag_pkt, pkt, net_pkt_ip_hdr_len(pkt) + in send_ipv6_fragment() 645 net_pkt_set_ip_hdr_len(frag_pkt, net_pkt_ip_hdr_len(pkt)); in send_ipv6_fragment() 717 (net_pkt_ip_hdr_len(pkt) + net_pkt_ipv6_ext_len(pkt)); in net_ipv6_send_fragmented_pkt() 726 net_pkt_ip_hdr_len(pkt) + net_pkt_ipv6_ext_len(pkt)); in net_ipv6_send_fragmented_pkt() 758 (net_pkt_ip_hdr_len(pkt) + net_pkt_ipv6_ext_len(pkt)); in net_ipv6_send_fragmented_pkt()
|
D | utils.c | 650 net_pkt_ip_hdr_len(pkt) - in net_calc_chksum() 657 net_pkt_ip_hdr_len(pkt) - in net_calc_chksum() 670 net_pkt_skip(pkt, net_pkt_ip_hdr_len(pkt) - len); in net_calc_chksum() 693 net_pkt_ip_hdr_len(pkt) + in net_calc_chksum_ipv4()
|
D | ipv4.c | 123 ((net_pkt_ip_hdr_len(pkt) + in net_ipv4_finalize() 426 net_pkt_pull(pkt, net_pkt_ip_hdr_len(pkt) + in net_ipv4_input()
|
D | ipv6_mld.c | 362 net_pkt_skip(pkt, net_pkt_ip_hdr_len(pkt) + net_pkt_ipv6_ext_len(pkt) + in send_mld_report()
|
D | igmp.c | 421 pkt->buffer->len - (net_pkt_ip_hdr_len(pkt) + net_pkt_ipv4_opts_len(pkt));
|
D | icmpv4.c | 439 net_pkt_ip_hdr_len(pkt) - in icmpv4_handle_echo_request()
|
D | ipv6.c | 797 net_pkt_pull(pkt, net_pkt_ip_hdr_len(pkt) + in net_ipv6_input()
|
D | tcp.c | 152 size_t ip_len = net_pkt_ip_hdr_len(pkt) + net_pkt_ip_opts_len(pkt); in th_get() 328 int len = net_pkt_get_len(pkt) - net_pkt_ip_hdr_len(pkt) - in tcp_data_len() 1077 net_pkt_skip(pkt, net_pkt_ip_hdr_len(pkt) + net_pkt_ip_opts_len(pkt) + in tcp_options_get() 4232 net_pkt_skip(pkt, net_pkt_ip_hdr_len(pkt) + in tp_input() 4244 net_pkt_skip(pkt, net_pkt_ip_hdr_len(pkt) + in tp_input()
|
D | net_pkt.c | 2061 net_pkt_set_ip_hdr_len(clone_pkt, net_pkt_ip_hdr_len(pkt));
|
D | ipv6_nbr.c | 1892 tllao_offset = net_pkt_ip_hdr_len(pkt) + in handle_na_input()
|
/Zephyr-latest/tests/net/checksum_offload/src/ |
D | main.c | 141 net_pkt_ip_hdr_len(pkt) + in get_udp_chksum() 168 net_pkt_ip_hdr_len(pkt) + in get_icmp_chksum() 232 net_pkt_skip(pkt, net_pkt_ip_hdr_len(pkt) + net_pkt_ip_opts_len(pkt)); in test_receiving() 279 net_pkt_ip_hdr_len(pkt) + in test_fragment() 923 size_t hdr_offset = net_pkt_ip_hdr_len(pkt) + in test_fragment_rx_udp() 1175 size_t hdr_offset = net_pkt_ip_hdr_len(pkt) + in icmp_handler()
|
/Zephyr-latest/tests/net/igmp/src/ |
D | main.c | 130 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()
|
/Zephyr-latest/tests/net/ipv4_fragment/src/ |
D | main.c | 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/tests/boards/espressif/wifi/src/ |
D | main.c | 123 size_t hdr_offset = net_pkt_ip_hdr_len(pkt) + net_pkt_ip_opts_len(pkt) + in icmp_event()
|
/Zephyr-latest/tests/net/ipv6_fragment/src/ |
D | main.c | 2016 net_pkt_skip(pkt, net_pkt_ip_hdr_len(pkt) + net_pkt_ipv6_ext_len(pkt)); in ZTEST() 2176 net_pkt_skip(pkt, net_pkt_ip_hdr_len(pkt) + net_pkt_ipv6_ext_len(pkt)); in ZTEST()
|
/Zephyr-latest/tests/net/mld/src/ |
D | main.c | 136 net_pkt_skip(pkt, net_pkt_ip_hdr_len(pkt) + in get_icmp_hdr()
|
/Zephyr-latest/tests/net/ipv6/src/ |
D | main.c | 295 net_pkt_skip(pkt, net_pkt_ip_hdr_len(pkt) + net_pkt_ipv6_ext_len(pkt)); in skip_headers() 312 if (net_pkt_skip(pkt, net_pkt_ip_hdr_len(pkt) + in get_icmp_hdr()
|
/Zephyr-latest/tests/net/dhcpv4/server/src/ |
D | main.c | 77 size_t payload_len = net_pkt_get_len(pkt) - net_pkt_ip_hdr_len(pkt) - in send_icmp_echo_reply()
|
/Zephyr-latest/include/zephyr/net/ |
D | net_pkt.h | 519 static inline uint8_t net_pkt_ip_hdr_len(struct net_pkt *pkt) in net_pkt_ip_hdr_len() function
|
/Zephyr-latest/subsys/net/lib/dhcpv4/ |
D | dhcpv4.c | 1935 net_pkt_skip(pkt, net_pkt_ip_hdr_len(pkt)); in net_dhcpv4_accept_unicast()
|
/Zephyr-latest/tests/net/tcp/src/ |
D | main.c | 411 ret = net_pkt_skip(pkt, net_pkt_ip_hdr_len(pkt) + in read_tcp_header()
|