Searched refs:ipv6 (Results 126 - 150 of 714) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/bpf/progs/
H A Dxdp_redirect_multi_kern.c8 #include <linux/ipv6.h>
H A Dtest_parse_tcp_hdr_opt.c15 #include <linux/ipv6.h>
H A Dtest_parse_tcp_hdr_opt_dynptr.c14 #include <linux/ipv6.h>
/linux-master/drivers/net/ethernet/huawei/hinic/
H A Dhinic_dev.h46 u8 ipv6; member in struct:hinic_rss_type
/linux-master/include/net/
H A Dprotocol.h26 #include <linux/ipv6.h>
31 * found in an ipv4 or ipv6 header. Since in both cases the protocol
H A Dipv6.h12 #include <linux/ipv6.h>
71 * ipv6.sysctl.max_dst_opts_cnt
72 * ipv6.sysctl.max_hbh_opts_cnt
73 * ipv6.sysctl.max_dst_opts_len
74 * ipv6.sysctl.max_hbh_opts_len
212 ((net)->ipv6.sysctl.fwmark_reflect ? (mark) : 0)
265 _DEVINC(net, ipv6, , idev, field)
267 _DEVINC(net, ipv6, __, idev, field)
269 _DEVADD(net, ipv6, , idev, field, val)
271 _DEVADD(net, ipv6, _
[all...]
/linux-master/lib/
H A Dtest_blackhole_dev.c18 #include <linux/ipv6.h>
/linux-master/tools/testing/selftests/net/forwarding/
H A Dpedit_dsfield.sh257 ipv6 "ip_tos $dsfield" \
276 ipv6 "ip_tos $(((dscp << 2) | 1))" \
295 ipv6 "ip_tos $((124 | $ecn))" \
H A Dmirror_gre_changes.sh41 sysctl_set net.ipv6.conf.$swp3.keep_addr_on_down 1
60 sysctl_restore net.ipv6.conf.$swp3.keep_addr_on_down
212 test_span_gre_ttl gt6 ip6gretap ipv6 "mirror to ip6gretap"
H A Dvxlan_bridge_1d_ipv6.sh345 tc filter add dev $rp1 egress protocol ipv6 pref 1 handle 101 \
402 tc filter add dev $rp1 egress protocol ipv6 pref 1 handle 101 \
408 tc filter add dev $swp1 egress protocol ipv6 pref 1 handle 101 \
469 proto ipv6 pref 100 flower dst_ip $dst_ip ip_proto \
472 proto ipv6 pref 100 flower dst_ip $dst_ip ip_proto \
627 tc filter add dev v1 egress pref 77 protocol ipv6 \
630 tc filter del dev v1 egress pref 77 protocol ipv6
639 tc filter add dev v1 egress pref 77 protocol ipv6 \
643 tc filter del dev v1 egress pref 77 protocol ipv6
655 tc filter add dev v1 egress pref 77 protocol ipv6 \
[all...]
/linux-master/net/ipv6/
H A Dnetfilter.c9 #include <linux/ipv6.h>
15 #include <net/ipv6.h>
20 #include <net/netfilter/ipv6/nf_defrag_ipv6.h>
H A Dip6mr.c11 * YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
40 #include <net/ipv6.h>
107 list_for_each_entry_rcu(mrt, &net->ipv6.mr6_tables, list, \
109 list_empty(&net->ipv6.mr6_tables))
117 ret = list_entry_rcu(net->ipv6.mr6_tables.next,
123 if (&ret->list == &net->ipv6.mr6_tables)
152 err = fib_rules_lookup(net->ipv6.mr6_rules_ops,
237 INIT_LIST_HEAD(&net->ipv6.mr6_tables);
249 net->ipv6.mr6_rules_ops = ops;
266 list_for_each_entry_safe(mrt, next, &net->ipv6
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun.c512 attr.fl.fl6.daddr = tun_key->u.ipv6.dst;
513 attr.fl.fl6.saddr = tun_key->u.ipv6.src;
562 /* the HW fills up ipv6 payload len */
627 attr.fl.fl6.daddr = tun_key->u.ipv6.dst;
628 attr.fl.fl6.saddr = tun_key->u.ipv6.src;
666 /* the HW fills up ipv6 payload len */
880 src_ipv4_src_ipv6.ipv6_layout.ipv6),
882 ipv6));
884 src_ipv4_src_ipv6.ipv6_layout.ipv6),
886 ipv6));
[all...]
/linux-master/tools/testing/selftests/net/
H A Dfib_nexthop_multiprefix.sh76 ip netns exec ${ns} sysctl -q -w net.ipv6.conf.all.keep_addr_on_down=1
79 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.forwarding=0
83 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.forwarding=1
H A Dsrv6_hl2encap_red_l2vpn_test.sh341 ip netns exec "${nsname}" sysctl -wq net.ipv6.conf.all.accept_dad=0
342 ip netns exec "${nsname}" sysctl -wq net.ipv6.conf.default.accept_dad=0
343 ip netns exec "${nsname}" sysctl -wq net.ipv6.conf.all.forwarding=1
469 ip netns exec "${hsname}" sysctl -wq net.ipv6.conf.all.accept_dad=0
470 ip netns exec "${hsname}" sysctl -wq net.ipv6.conf.default.accept_dad=0
H A Dbareudp.sh257 ip netns exec "${NS1}" sysctl -qw net.ipv6.conf.all.forwarding=1
258 ip netns exec "${NS2}" sysctl -qw net.ipv6.conf.all.forwarding=1
370 IPV6="ipv6"
376 "ipv6")
377 IPV6="ipv6"
414 tc -netns "${NS1}" filter add dev veth10 ingress protocol ipv6 \
418 tc -netns "${NS2}" filter add dev veth23 ingress protocol ipv6 \
464 tc -netns "${NS1}" filter add dev veth10 ingress protocol ipv6 \
468 tc -netns "${NS2}" filter add dev veth23 ingress protocol ipv6 \
538 test_overlay ipv6 nomultiprot
[all...]
H A Dvrf_route_leaking.sh215 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.forwarding=0
216 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.keep_addr_on_down=1
219 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.forwarding=1
293 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.forwarding=0
294 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.keep_addr_on_down=1
297 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.forwarding=1
569 6) TESTS=ipv6;;
585 elif [ "$TESTS" = "ipv6" ]; then
/linux-master/drivers/net/ethernet/mscc/
H A Docelot_vcap.c488 struct ocelot_vcap_key_ipv6 *ipv6 = NULL; local
516 ipv6 = &filter->key.ipv6;
517 ttl = ipv6->ttl;
520 proto = ipv6->proto;
521 ds = ipv6->ds;
522 ip_data = &ipv6->data;
524 val = ipv6->sip.value[i + 8];
525 msk = ipv6->sip.mask[i + 8];
534 sport = &ipv6
[all...]
/linux-master/net/ipv6/netfilter/
H A Dip6_tables.c21 #include <net/ipv6.h>
55 const struct ipv6hdr *ipv6 = ipv6_hdr(skb); local
58 ipv6_masked_addr_cmp(&ipv6->saddr, &ip6info->smsk,
61 ipv6_masked_addr_cmp(&ipv6->daddr, &ip6info->dmsk,
107 ip6_checkentry(const struct ip6t_ip6 *ipv6) argument
109 if (ipv6->flags & ~IP6T_F_MASK)
111 if (ipv6->invflags & ~IP6T_INV_MASK)
138 memcmp(&e->ipv6, &uncond, sizeof(uncond)) == 0;
306 if (!ip6_packet_match(skb, indev, outdev, &e->ipv6,
351 !(e->ipv6
483 const struct ip6t_ip6 *ipv6 = par->entryinfo; local
1273 compat_find_calc_match(struct xt_entry_match *m, const struct ip6t_ip6 *ipv6, int *size) argument
[all...]
/linux-master/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
H A Dtc_flower.sh596 tc filter add dev $h2 ingress protocol ipv6 pref 1 handle 101 flower \
598 tc filter add dev $h2 ingress protocol ipv6 pref 2 handle 102 flower \
600 tc filter add dev $h2 ingress protocol ipv6 pref 3 handle 103 flower \
642 tc filter del dev $h2 ingress protocol ipv6 pref 3 handle 103 flower
643 tc filter del dev $h2 ingress protocol ipv6 pref 2 handle 102 flower
644 tc filter del dev $h2 ingress protocol ipv6 pref 1 handle 101 flower
668 batch="${batch}filter add dev $iface ingress protocol ipv6 pref 1 \
689 batch="${batch}filter del dev $iface ingress protocol ipv6 pref 1 \
765 tc filter add dev $h2 ingress protocol ipv6 pref 1 handle 101 flower \
767 tc filter add dev $h2 ingress protocol ipv6 pre
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl.c625 rulei->ipv6.prev_val = val;
627 rulei->ipv6.prev_field = field;
668 rulei->ipv6.prev_field == MLXSW_SP_ACL_MANGLE_FIELD_IP6_SIP_1) {
672 rulei->ipv6.prev_val,
678 rulei->ipv6.prev_field == MLXSW_SP_ACL_MANGLE_FIELD_IP6_SIP_3) {
682 rulei->ipv6.prev_val,
688 rulei->ipv6.prev_field == MLXSW_SP_ACL_MANGLE_FIELD_IP6_DIP_1) {
692 rulei->ipv6.prev_val,
698 rulei->ipv6.prev_field == MLXSW_SP_ACL_MANGLE_FIELD_IP6_DIP_3) {
702 rulei->ipv6
[all...]
/linux-master/drivers/staging/gdm724x/
H A Dgdm_lte.c8 #include <linux/ipv6.h>
174 static __sum16 icmp6_checksum(struct ipv6hdr *ipv6, u16 *ptr, int len) argument
193 memcpy(&pseudo_header.ph.ph_src, &ipv6->saddr.in6_u.u6_addr8, 16);
194 memcpy(&pseudo_header.ph.ph_dst, &ipv6->daddr.in6_u.u6_addr8, 16);
195 pseudo_header.ph.ph_len = be16_to_cpu(ipv6->payload_len);
196 pseudo_header.ph.ph_nxt = ipv6->nexthdr;
341 struct ipv6hdr *ipv6; local
380 ipv6 = network_data;
382 if (ipv6->nexthdr == IPPROTO_ICMPV6) /* Check NDP request */ {
387 } else if (ipv6
[all...]
/linux-master/drivers/net/
H A Dgeneve.c162 ipv6_addr_equal(&addr6, &node->geneve->cfg.info.key.u.ipv6.dst))
460 static struct socket *geneve_create_sock(struct net *net, bool ipv6, argument
469 if (ipv6) {
582 bool ipv6, bool ipv6_rx_csum)
594 sock = geneve_create_sock(net, ipv6, port, ipv6_rx_csum);
666 static int geneve_sock_add(struct geneve_dev *geneve, bool ipv6) argument
675 gs = geneve_find_sock(gn, ipv6 ? AF_INET6 : AF_INET, geneve->cfg.info.key.tp_dst);
681 gs = geneve_socket_create(net, geneve->cfg.info.key.tp_dst, ipv6,
689 if (ipv6) {
710 bool ipv4, ipv6; local
581 geneve_socket_create(struct net *net, __be16 port, bool ipv6, bool ipv6_rx_csum) argument
[all...]
/linux-master/net/openvswitch/
H A Dflow_netlink.c25 #include <linux/ipv6.h>
34 #include <net/ipv6.h>
672 bool ttl = false, ipv4 = false, ipv6 = false; local
713 SW_FLOW_KEY_PUT(match, tun_key.u.ipv6.src,
715 ipv6 = true;
718 SW_FLOW_KEY_PUT(match, tun_key.u.ipv6.dst,
720 ipv6 = true;
805 SW_FLOW_KEY_PUT(match, tun_proto, ipv6 ? AF_INET6 : AF_INET,
814 if (ipv4 && ipv6) {
820 if (!ipv4 && !ipv6) {
[all...]
/linux-master/drivers/net/ethernet/netronome/nfp/crypto/
H A Dtls.c5 #include <linux/ipv6.h>
278 bool ipv6; local
295 ipv6 = true;
302 ipv6 = false;
324 nfp_net_tls_set_ipver_vlan(front, ipv6 ? 6 : 4);
327 if (ipv6)

Completed in 238 milliseconds

1234567891011>>