Home
last modified time | relevance | path

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

12

/external/linux-kselftest/tools/testing/selftests/bpf/progs/
Dbpf_flow.c54 __u8 nexthdr; member
242 static __always_inline int parse_ipv6_proto(struct __sk_buff *skb, __u8 nexthdr) in parse_ipv6_proto() argument
246 switch (nexthdr) { in parse_ipv6_proto()
255 return parse_ip_proto(skb, nexthdr); in parse_ipv6_proto()
323 keys->ip_proto = ip6h->nexthdr; in PROG()
329 return parse_ipv6_proto(skb, ip6h->nexthdr); in PROG()
345 keys->ip_proto = ip6h->nexthdr; in PROG()
347 return parse_ipv6_proto(skb, ip6h->nexthdr); in PROG()
361 keys->ip_proto = fragh->nexthdr; in PROG()
373 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_xdp_loop.c164 dport = get_dport(ip6h + 1, data_end, ip6h->nexthdr); in handle_ipv6()
168 vip.protocol = ip6h->nexthdr; in handle_ipv6()
199 ip6h->nexthdr = IPPROTO_IPV6; in handle_ipv6()
Dtest_tc_tunnel.c108 iph_inner.protocol = iph6_inner.nexthdr; in encap_ipv4()
302 h_outer.ip.nexthdr = encap_proto; in encap_ipv6()
519 iph_outer.nexthdr); in decap_ipv6()
Dtest_pkt_access.c77 proto = ip6h->nexthdr; in test_pkt_access()
Dtest_lwt_ip_encap.c64 hdr.ip6hdr.nexthdr = 47; /* IPPROTO_GRE */ in bpf_lwt_encap_gre6()
Dtest_lwt_seg6local.c36 unsigned char nexthdr; member
295 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_tcp_check_syncookie_kern.c102 if (ipv6h->nexthdr != IPPROTO_TCP) in check_syncookie()
/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/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
Dflow_dissector.c69 __u8 nexthdr; member
129 .iph.nexthdr = IPPROTO_TCP,
173 .iph.nexthdr = IPPROTO_TCP,
242 .iph.nexthdr = IPPROTO_FRAGMENT,
244 .ipf.nexthdr = IPPROTO_TCP,
268 .iph.nexthdr = IPPROTO_FRAGMENT,
270 .ipf.nexthdr = IPPROTO_TCP,
290 .iph.nexthdr = IPPROTO_TCP,
312 .iph.nexthdr = IPPROTO_TCP,
Dkfree_skb.c40 if (CHECK(pkt_v6->iph.nexthdr != 6, "check_ip", in on_sample()
41 "iph.nexthdr %x\n", pkt_v6->iph.nexthdr)) in on_sample()
Dxdp.c39 iph6->nexthdr != IPPROTO_IPV6, "ipv6", in test_xdp()
/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_ip-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()
/external/elfutils/src/
Dreadelf.c5465 const unsigned char *nexthdr = readp + length; in print_debug_aranges_section() local
5522 while (readp < nexthdr) in print_debug_aranges_section()
5562 if (readp != nexthdr) in print_debug_aranges_section()
5564 size_t padding = nexthdr - readp; in print_debug_aranges_section()
5566 readp = nexthdr; in print_debug_aranges_section()
5655 const unsigned char *nexthdr = readp + unit_length; in print_debug_rnglists_section() local
5695 (Dwarf_Off) (nexthdr - (unsigned char *) data->d_buf), in print_debug_rnglists_section()
5748 while (readp < nexthdr) in print_debug_rnglists_section()
5775 if ((uint64_t) (nexthdr - readp) < 1) in print_debug_rnglists_section()
5781 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/ltp/testcases/network/stress/broken_ip/
D00_Descriptions.txt38 broken_ip6-nexthdr

12