Home
last modified time | relevance | path

Searched refs:nexthdr (Results 1 – 25 of 31) sorted by relevance

12

/external/linux-kselftest/tools/testing/selftests/bpf/
Dbpf_flow.c54 __u8 nexthdr; member
213 static __always_inline int parse_ipv6_proto(struct __sk_buff *skb, __u8 nexthdr) in parse_ipv6_proto() argument
217 keys->ip_proto = nexthdr; in parse_ipv6_proto()
218 switch (nexthdr) { in parse_ipv6_proto()
227 return parse_ip_proto(skb, nexthdr); in parse_ipv6_proto()
288 return parse_ipv6_proto(skb, ip6h->nexthdr); in PROG()
304 return parse_ipv6_proto(skb, ip6h->nexthdr); in PROG()
321 return parse_ipv6_proto(skb, fragh->nexthdr); in PROG()
Dtest_xdp.c168 dport = get_dport(ip6h + 1, data_end, ip6h->nexthdr); in handle_ipv6()
172 vip.protocol = ip6h->nexthdr; in handle_ipv6()
203 ip6h->nexthdr = IPPROTO_IPV6; in handle_ipv6()
Dtest_pkt_access.c50 proto = ip6h->nexthdr; in process()
Dtest_lwt_seg6local.c47 unsigned char nexthdr; member
306 srh->nexthdr = 0; in __encap_srh()
Dtest_tunnel_kern.c650 if (iph->nexthdr == 58 /* NEXTHDR_ICMP */) { in _ip6ip6_set_tunnel()
653 if (iph->nexthdr != 6 /* NEXTHDR_TCP */) { in _ip6ip6_set_tunnel()
654 ERROR(iph->nexthdr); in _ip6ip6_set_tunnel()
Dtest_sk_lookup_kern.c45 proto = ip6h->nexthdr; in get_tuple()
Dtest_l4lb.c251 pckt->proto = ip6h->nexthdr; in parse_icmpv6()
355 protocol = ip6h->nexthdr; in process_packet()
Dtest_l4lb_noinline.c251 pckt->proto = ip6h->nexthdr; in parse_icmpv6()
355 protocol = ip6h->nexthdr; in process_packet()
Dtest_xdp_noinline.c317 ip6h->nexthdr = IPPROTO_IPV6; in encap_v6()
512 pckt->flow.proto = ip6h->nexthdr; in parse_icmpv6()
652 *protocol = ip6h->nexthdr; in process_l3_headers_v6()
Dtest_flow_dissector.c204 ip6h->nexthdr = proto; in build_ipv6_header()
233 pseudo_sum += htons(ip6h->nexthdr); in build_udp_v6_csum()
Dtest_progs.c68 .iph.nexthdr = 6,
164 iph6->nexthdr != IPPROTO_IPV6, "ipv6", in test_xdp()
/external/libnl/include/linux-private/linux/
Dipv6.h25 __u8 nexthdr; member
38 __u8 nexthdr; member
103 __u8 nexthdr; member
Dip.h109 __u8 nexthdr; member
124 __u8 nexthdr; member
130 __u8 nexthdr; member
/external/kernel-headers/original/uapi/linux/
Dipv6.h49 __u8 nexthdr; member
62 __u8 nexthdr; member
129 __u8 nexthdr; member
Dip.h110 __u8 nexthdr; member
125 __u8 nexthdr; member
131 __u8 nexthdr; member
Dseg6.h25 __u8 nexthdr; member
/external/iproute2/include/uapi/linux/
Dip.h110 __u8 nexthdr; member
125 __u8 nexthdr; member
131 __u8 nexthdr; member
Dseg6.h25 __u8 nexthdr; member
/external/ltp/runtest/
Dnet_stress.broken_ip15 broken_ip6-nexthdr broken_ip6-nexthdr -6
/external/iputils/
Dtraceroute6.c841 int nexthdr; in packet_ok() local
845 nexthdr = hip->ip6_nxt; in packet_ok()
847 if (nexthdr == 44) { in packet_ok()
848 nexthdr = *(unsigned char*)up; in packet_ok()
851 if (nexthdr == IPPROTO_UDP) in packet_ok()
Dping6.c1638 int nexthdr; in parse_reply() local
1655 nexthdr = iph1->ip6_nxt; in parse_reply()
1657 if (nexthdr == 44) { in parse_reply()
1658 nexthdr = *(__u8*)icmph1; in parse_reply()
1661 if (nexthdr == IPPROTO_ICMPV6) { in parse_reply()
/external/elfutils/src/
Dreadelf.c5428 const unsigned char *nexthdr = readp + length; in print_debug_aranges_section() local
5485 while (readp < nexthdr) in print_debug_aranges_section()
5525 if (readp != nexthdr) in print_debug_aranges_section()
5527 size_t padding = nexthdr - readp; in print_debug_aranges_section()
5529 readp = nexthdr; in print_debug_aranges_section()
5618 const unsigned char *nexthdr = readp + unit_length; in print_debug_rnglists_section() local
5658 (Dwarf_Off) (nexthdr - (unsigned char *) data->d_buf), in print_debug_rnglists_section()
5711 while (readp < nexthdr) in print_debug_rnglists_section()
5738 if ((uint64_t) (nexthdr - readp) < 1) in print_debug_rnglists_section()
5744 get_uleb128 (op1, readp, nexthdr); in print_debug_rnglists_section()
[all …]
/external/scapy/scapy/layers/
Dmobileip.py47 bind_layers( MobileIPTunnelData, IP, nexthdr=4)
/external/libnl/etc/
Dpktloc33 ip6.nexthdr u8 net+6
/external/linux-kselftest/tools/testing/selftests/net/
Dmsg_zerocopy.c286 ip6h->nexthdr = IPPROTO_EGP; in setup_ip6h()

12