/tools/testing/selftests/bpf/progs/ |
D | connect6_prog.c | 37 memset(&tuple.ipv6.saddr, 0, sizeof(tuple.ipv6.saddr)); in connect_v6_prog() 38 memset(&tuple.ipv6.sport, 0, sizeof(tuple.ipv6.sport)); in connect_v6_prog() 40 tuple.ipv6.daddr[0] = bpf_htonl(DST_REWRITE_IP6_0); in connect_v6_prog() 41 tuple.ipv6.daddr[1] = bpf_htonl(DST_REWRITE_IP6_1); in connect_v6_prog() 42 tuple.ipv6.daddr[2] = bpf_htonl(DST_REWRITE_IP6_2); in connect_v6_prog() 43 tuple.ipv6.daddr[3] = bpf_htonl(DST_REWRITE_IP6_3); in connect_v6_prog() 45 tuple.ipv6.dport = bpf_htons(DST_REWRITE_PORT6); in connect_v6_prog() 50 sk = bpf_sk_lookup_tcp(ctx, &tuple, sizeof(tuple.ipv6), in connect_v6_prog() 53 sk = bpf_sk_lookup_udp(ctx, &tuple, sizeof(tuple.ipv6), in connect_v6_prog() 59 if (sk->src_ip6[0] != tuple.ipv6.daddr[0] || in connect_v6_prog() [all …]
|
D | test_tcp_check_syncookie_kern.c | 109 memcpy(tup.ipv6.saddr, &ipv6h->saddr, sizeof(tup.ipv6.saddr)); in check_syncookie() 110 memcpy(tup.ipv6.daddr, &ipv6h->daddr, sizeof(tup.ipv6.daddr)); in check_syncookie() 111 tup.ipv6.sport = tcph->source; in check_syncookie() 112 tup.ipv6.dport = tcph->dest; in check_syncookie() 114 sk = bpf_skc_lookup_tcp(ctx, &tup, sizeof(tup.ipv6), in check_syncookie()
|
D | test_sk_lookup_kern.c | 74 tuple_len = ipv4 ? sizeof(tuple->ipv4) : sizeof(tuple->ipv6); in bpf_sk_lookup_test0()
|
/tools/testing/selftests/net/ |
D | ip_defrag.c | 135 int offset, bool ipv6) in send_fragment() argument 140 uint8_t *frag_start = ipv6 ? ip_frame + IP6_HLEN + FRAG_HLEN : in send_fragment() 149 if (ipv6) in send_fragment() 156 if (ipv6) { in send_fragment() 204 socklen_t alen, bool ipv6) in send_udp_frags() argument 219 if (ipv6) { in send_udp_frags() 248 send_fragment(fd_raw, addr, alen, offset, ipv6); in send_udp_frags() 259 send_fragment(fd_raw, addr, alen, offset, ipv6); in send_udp_frags() 264 send_fragment(fd_raw, addr, alen, offset, ipv6); in send_udp_frags() 269 send_fragment(fd_raw, addr, alen, offset, ipv6); in send_udp_frags() [all …]
|
D | reuseaddr_conflict.c | 21 int open_port(int ipv6, int any) in open_port() argument 29 int family = ipv6 ? AF_INET6 : AF_INET; in open_port() 43 if (ipv6) { in open_port() 56 if (ipv6 && setsockopt(fd, IPPROTO_IPV6, IPV6_V6ONLY, (void*)&v6only, in open_port()
|
D | ip_defrag.sh | 19 ip netns exec "${NETNS}" sysctl -w net.ipv6.ip6frag_high_thresh=9000000 >/dev/null 2>&1 20 ip netns exec "${NETNS}" sysctl -w net.ipv6.ip6frag_low_thresh=7000000 >/dev/null 2>&1 21 ip netns exec "${NETNS}" sysctl -w net.ipv6.ip6frag_time=1 >/dev/null 2>&1 28 ip netns exec "${NETNS}" sysctl -w net.ipv6.route.max_size=65536 >/dev/null 2>&1
|
D | fib_nexthop_multiprefix.sh | 81 ip netns exec ${ns} sysctl -q -w net.ipv6.conf.all.keep_addr_on_down=1 84 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.forwarding=0 88 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.forwarding=1
|
D | fib_nexthops.sh | 130 ip netns exec ${n} sysctl -qw net.ipv6.conf.all.keep_addr_on_down=1 131 ip netns exec ${n} sysctl -qw net.ipv6.conf.all.forwarding=1 132 ip netns exec ${n} sysctl -qw net.ipv6.conf.default.forwarding=1 133 ip netns exec ${n} sysctl -qw net.ipv6.conf.default.ignore_routes_with_linkdown=1 134 ip netns exec ${n} sysctl -qw net.ipv6.conf.all.accept_dad=0 135 ip netns exec ${n} sysctl -qw net.ipv6.conf.default.accept_dad=0
|
D | icmp_redirect.sh | 177 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.forwarding=0 178 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.accept_redirects=1 179 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.keep_addr_on_down=1 184 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.forwarding=1 185 ip netns exec $ns sysctl -q -w net.ipv6.route.mtu_expires=10
|
D | l2tp.sh | 97 ip netns exec ${ns} sysctl -qw net.ipv6.conf.all.keep_addr_on_down=1 98 ip netns exec ${ns} sysctl -qw net.ipv6.conf.all.forwarding=1 99 ip netns exec ${ns} sysctl -qw net.ipv6.conf.default.forwarding=1 100 ip netns exec ${ns} sysctl -qw net.ipv6.conf.default.accept_dad=0
|
/tools/testing/selftests/drivers/net/mlxsw/ |
D | one_armed_router.sh | 177 tc filter add dev $swp1 ingress protocol ipv6 pref 1 handle 101 flower \ 181 tc filter add dev $swp2 egress protocol ipv6 pref 1 handle 101 flower \ 185 tc filter add dev $swp2 egress protocol ipv6 pref 2 handle 102 flower \ 213 tc filter del dev $swp2 egress protocol ipv6 pref 2 handle 102 flower 214 tc filter del dev $swp2 egress protocol ipv6 pref 1 handle 101 flower 215 tc filter del dev $swp1 ingress protocol ipv6 pref 1 handle 101 flower 230 sysctl_set net.ipv6.conf.all.accept_redirects 0 245 sysctl_restore net.ipv6.conf.all.accept_redirects
|
D | blackhole_routes.sh | 146 tc filter add dev $rp1 ingress protocol ipv6 pref 1 handle 101 flower \ 161 tc filter del dev $rp1 ingress protocol ipv6 pref 1 handle 101 flower
|
D | tc_flower_scale.sh | 78 prot ipv6 \
|
/tools/testing/selftests/net/forwarding/ |
D | router_multicast.sh | 280 tc filter add dev $h2 ingress protocol ipv6 pref 1 handle 122 flower \ 282 tc filter add dev $h3 ingress protocol ipv6 pref 1 handle 133 flower \ 306 tc filter del dev $h3 ingress protocol ipv6 pref 1 handle 133 flower 307 tc filter del dev $h2 ingress protocol ipv6 pref 1 handle 122 flower 368 tc filter add dev $h1 ingress protocol ipv6 pref 1 handle 1 flower \ 370 tc filter add dev $h2 ingress protocol ipv6 pref 1 handle 1 flower \ 372 tc filter add dev $h3 ingress protocol ipv6 pref 1 handle 1 flower \ 374 tc filter add dev $rp3 ingress protocol ipv6 pref 1 handle 1 flower \ 401 tc filter del dev $rp3 ingress protocol ipv6 pref 1 handle 1 flower 402 tc filter del dev $h3 ingress protocol ipv6 pref 1 handle 1 flower [all …]
|
D | mirror_gre.sh | 129 test_span_gre_mac gt6 ingress ipv6 "mirror to ip6gretap" 130 test_span_gre_mac gt6 egress ipv6 "mirror to ip6gretap"
|
D | mirror_gre_changes.sh | 41 sysctl_set net.ipv6.conf.$swp3.keep_addr_on_down 1 60 sysctl_restore net.ipv6.conf.$swp3.keep_addr_on_down 211 test_span_gre_ttl gt6 ip6gretap ipv6 "mirror to ip6gretap"
|
D | ip6gre_inner_v6_multipath.sh | 259 sysctl_set net.ipv6.fib_multipath_hash_policy 2 283 sysctl_restore net.ipv6.fib_multipath_hash_policy
|
D | ip6gre_inner_v4_multipath.sh | 259 sysctl_set net.ipv6.fib_multipath_hash_policy 2 282 sysctl_restore net.ipv6.fib_multipath_hash_policy
|
/tools/testing/selftests/bpf/ |
D | test_lwt_seg6local.sh | 130 ip netns exec ns1 sysctl net.ipv6.conf.all.forwarding=1 > /dev/null 131 ip netns exec ns2 sysctl net.ipv6.conf.all.forwarding=1 > /dev/null 132 ip netns exec ns3 sysctl net.ipv6.conf.all.forwarding=1 > /dev/null 133 ip netns exec ns4 sysctl net.ipv6.conf.all.forwarding=1 > /dev/null 134 ip netns exec ns5 sysctl net.ipv6.conf.all.forwarding=1 > /dev/null 136 ip netns exec ns6 sysctl net.ipv6.conf.all.seg6_enabled=1 > /dev/null 137 ip netns exec ns6 sysctl net.ipv6.conf.lo.seg6_enabled=1 > /dev/null 138 ip netns exec ns6 sysctl net.ipv6.conf.veth10.seg6_enabled=1 > /dev/null
|
D | test_tc_tunnel.sh | 103 $0 ipv6 ip6tnl none 100 106 $0 ipv6 sit none 100 113 $0 ipv6 ip6gre $mac 100 119 $0 ipv6 ip6gre $mac 2000 125 $0 ipv6 ip6udp $mac 100 131 $0 ipv6 ip6udp $mac 2000
|
D | test_flow_dissector.sh | 108 tc filter add dev lo parent ffff: protocol ipv6 pref 1337 flower ip_proto \
|
/tools/usb/usbip/src/ |
D | usbipd.c | 491 static int do_standalone_mode(int daemonize, int ipv4, int ipv6) in do_standalone_mode() argument 523 if (ipv4 && ipv6) in do_standalone_mode() 609 int ipv4 = 0, ipv6 = 0; in main() local 633 ipv6 = 1; in main() 663 if (!ipv4 && !ipv6) in main() 664 ipv4 = ipv6 = 1; in main() 668 rc = do_standalone_mode(daemonize, ipv4, ipv6); in main()
|
/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/ |
D | tc_flower.sh | 595 tc filter add dev $h2 ingress protocol ipv6 pref 1 handle 101 flower \ 597 tc filter add dev $h2 ingress protocol ipv6 pref 2 handle 102 flower \ 599 tc filter add dev $h2 ingress protocol ipv6 pref 3 handle 103 flower \ 641 tc filter del dev $h2 ingress protocol ipv6 pref 3 handle 103 flower 642 tc filter del dev $h2 ingress protocol ipv6 pref 2 handle 102 flower 643 tc filter del dev $h2 ingress protocol ipv6 pref 1 handle 101 flower 764 tc filter add dev $h2 ingress protocol ipv6 pref 1 handle 101 flower \ 766 tc filter add dev $h2 ingress protocol ipv6 pref 2 handle 102 flower \ 768 tc filter add dev $h2 ingress protocol ipv6 pref 3 handle 103 flower \ 801 tc filter del dev $h2 ingress protocol ipv6 pref 3 handle 103 flower [all …]
|
/tools/testing/selftests/bpf/prog_tests/ |
D | flow_dissector.c | 93 struct ipv6_pkt ipv6; member 127 .pkt.ipv6 = { 288 .pkt.ipv6 = { 310 .pkt.ipv6 = {
|
/tools/testing/selftests/netfilter/ |
D | conntrack_icmp_related.sh | 42 ipv6 () { function 93 ip -net nsclient$i addr add $(ipv6 $i)/64 dev $DEV
|