Searched refs:next_hdr (Results 1 – 4 of 4) sorted by relevance
/Zephyr-Core-2.7.6/samples/net/promiscuous_mode/src/ |
D | main.c | 65 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-Core-2.7.6/subsys/net/ip/ |
D | ipv6_fragment.c | 241 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() 591 uint8_t next_hdr, in send_ipv6_fragment() argument 632 frag_hdr->nexthdr = next_hdr; in send_ipv6_fragment() 686 uint8_t next_hdr; in net_ipv6_send_fragmented_pkt() local 701 net_pkt_read_u8(pkt, &next_hdr) || in net_ipv6_send_fragmented_pkt() 733 next_hdr_off, next_hdr, final); in net_ipv6_send_fragmented_pkt()
|
/Zephyr-Core-2.7.6/tests/net/ipv6_fragment/src/ |
D | main.c | 1574 uint8_t next_hdr; in test_find_last_ipv6_fragment_hbho_1() local 1599 net_pkt_read_u8(pkt, &next_hdr); in test_find_last_ipv6_fragment_hbho_1() 1601 zassert_equal(next_hdr, 0x11, "Invalid next header"); in test_find_last_ipv6_fragment_hbho_1() 1617 uint8_t next_hdr; in test_find_last_ipv6_fragment_hbho_2() local 1642 net_pkt_read_u8(pkt, &next_hdr); in test_find_last_ipv6_fragment_hbho_2() 1644 zassert_equal(next_hdr, 0x11, "Invalid next header"); in test_find_last_ipv6_fragment_hbho_2() 1660 uint8_t next_hdr; in test_find_last_ipv6_fragment_hbho_3() local 1685 net_pkt_read_u8(pkt, &next_hdr); in test_find_last_ipv6_fragment_hbho_3() 1687 zassert_equal(next_hdr, 0x11, "Invalid next header"); in test_find_last_ipv6_fragment_hbho_3() 1738 uint8_t next_hdr; in test_find_last_ipv6_fragment_hbho_frag_1() local [all …]
|
/Zephyr-Core-2.7.6/include/net/ |
D | net_pkt.h | 518 uint8_t next_hdr) in net_pkt_set_ipv6_next_hdr() argument 520 pkt->ipv6_next_hdr = next_hdr; in net_pkt_set_ipv6_next_hdr() 577 uint8_t next_hdr) in net_pkt_set_ipv6_next_hdr() argument 580 ARG_UNUSED(next_hdr); in net_pkt_set_ipv6_next_hdr()
|