Home
last modified time | relevance | path

Searched refs:next_hdr (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/samples/net/promiscuous_mode/src/
Dmain.c65 uint8_t next_hdr; in print_info() local
79 next_hdr = NET_IPV6_HDR(pkt)->nexthdr; in print_info()
87 next_hdr = NET_IPV4_HDR(pkt)->proto; in print_info()
100 switch (next_hdr) { in print_info()
131 if (next_hdr == IPPROTO_TCP || next_hdr == IPPROTO_UDP) { in print_info()
142 if (next_hdr == IPPROTO_TCP || next_hdr == IPPROTO_UDP) { in print_info()
/Zephyr-latest/subsys/net/ip/
Dipv6_fragment.c241 uint8_t next_hdr; in reassemble_packet() local
308 next_hdr = ipv6.frag_hdr->nexthdr; in reassemble_packet()
317 net_pkt_write_u8(pkt, next_hdr)) { in reassemble_packet()
593 uint8_t next_hdr, in send_ipv6_fragment() argument
634 frag_hdr->nexthdr = next_hdr; in send_ipv6_fragment()
695 uint8_t next_hdr; in net_ipv6_send_fragmented_pkt() local
709 net_pkt_read_u8(pkt, &next_hdr)) { in net_ipv6_send_fragmented_pkt()
737 switch (next_hdr) { in net_ipv6_send_fragmented_pkt()
768 next_hdr_off, next_hdr, final); in net_ipv6_send_fragmented_pkt()
/Zephyr-latest/tests/net/ipv6_fragment/src/
Dmain.c1763 uint8_t next_hdr; in ZTEST() local
1788 net_pkt_read_u8(pkt, &next_hdr); in ZTEST()
1790 zassert_equal(next_hdr, 0x11, "Invalid next header"); in ZTEST()
1806 uint8_t next_hdr; in ZTEST() local
1831 net_pkt_read_u8(pkt, &next_hdr); in ZTEST()
1833 zassert_equal(next_hdr, 0x11, "Invalid next header"); in ZTEST()
1849 uint8_t next_hdr; in ZTEST() local
1874 net_pkt_read_u8(pkt, &next_hdr); in ZTEST()
1876 zassert_equal(next_hdr, 0x11, "Invalid next header"); in ZTEST()
1927 uint8_t next_hdr; in ZTEST() local
[all …]
/Zephyr-latest/include/zephyr/net/
Dnet_pkt.h671 uint8_t next_hdr) in net_pkt_set_ipv6_next_hdr() argument
673 pkt->ipv6_next_hdr = next_hdr; in net_pkt_set_ipv6_next_hdr()
730 uint8_t next_hdr) in net_pkt_set_ipv6_next_hdr() argument
733 ARG_UNUSED(next_hdr); in net_pkt_set_ipv6_next_hdr()