/kernel/linux/linux-5.10/net/ipv6/ |
H A D | xfrm6_policy.c | 22 #include <net/ipv6.h> 101 atomic_inc(&dev_net(dev)->ipv6.rt6_stats->fib_rt_uncache); in xfrm6_fill_dst() 218 hdr = register_net_sysctl(net, "net/ipv6", table); in xfrm6_net_sysctl_init() 222 net->ipv6.sysctl.xfrm6_hdr = hdr; in xfrm6_net_sysctl_init() 236 if (!net->ipv6.sysctl.xfrm6_hdr) in xfrm6_net_sysctl_exit() 239 table = net->ipv6.sysctl.xfrm6_hdr->ctl_table_arg; in xfrm6_net_sysctl_exit() 240 unregister_net_sysctl_table(net->ipv6.sysctl.xfrm6_hdr); in xfrm6_net_sysctl_exit()
|
H A D | proc.c | 12 * YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> 16 #include <linux/ipv6.h> 27 #include <net/ipv6.h> 47 atomic_read(&net->ipv6.fqdir->rhashtable.nelems), in sockstat6_seq_show() 48 frag_mem_limit(net->ipv6.fqdir)); in sockstat6_seq_show() 53 /* ipv6 mib according to RFC 2465 */ 234 snmp6_seq_show_item64(seq, idev->stats.ipv6, in snmp6_dev_seq_show()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_tun.c | 368 fl6.daddr = tun_key->u.ipv6.dst; in mlx5e_tc_tun_create_header_ipv6() 369 fl6.saddr = tun_key->u.ipv6.src; in mlx5e_tc_tun_create_header_ipv6() 423 /* the HW fills up ipv6 payload len */ in mlx5e_tc_tun_create_header_ipv6() 575 src_ipv4_src_ipv6.ipv6_layout.ipv6), in mlx5e_tc_tun_parse() 577 ipv6)); in mlx5e_tc_tun_parse() 579 src_ipv4_src_ipv6.ipv6_layout.ipv6), in mlx5e_tc_tun_parse() 581 ipv6)); in mlx5e_tc_tun_parse() 584 dst_ipv4_dst_ipv6.ipv6_layout.ipv6), in mlx5e_tc_tun_parse() 586 ipv6)); in mlx5e_tc_tun_parse() 588 dst_ipv4_dst_ipv6.ipv6_layout.ipv6), in mlx5e_tc_tun_parse() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
H A 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
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | test_lwt_seg6local.sh | 137 ip netns exec ${NS1} sysctl net.ipv6.conf.all.forwarding=1 > /dev/null 138 ip netns exec ${NS2} sysctl net.ipv6.conf.all.forwarding=1 > /dev/null 139 ip netns exec ${NS3} sysctl net.ipv6.conf.all.forwarding=1 > /dev/null 140 ip netns exec ${NS4} sysctl net.ipv6.conf.all.forwarding=1 > /dev/null 141 ip netns exec ${NS5} sysctl net.ipv6.conf.all.forwarding=1 > /dev/null 143 ip netns exec ${NS6} sysctl net.ipv6.conf.all.seg6_enabled=1 > /dev/null 144 ip netns exec ${NS6} sysctl net.ipv6.conf.lo.seg6_enabled=1 > /dev/null 145 ip netns exec ${NS6} sysctl net.ipv6.conf.veth10.seg6_enabled=1 > /dev/null
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A D | srv6_end_dt46_l3vpn_test.sh | 269 ip netns exec ${nsname} sysctl -wq net.ipv6.conf.all.accept_dad=0 270 ip netns exec ${nsname} sysctl -wq net.ipv6.conf.default.accept_dad=0 277 ip netns exec ${nsname} sysctl -wq net.ipv6.conf.all.forwarding=1 292 ip netns exec ${hsname} sysctl -wq net.ipv6.conf.all.accept_dad=0 293 ip netns exec ${hsname} sysctl -wq net.ipv6.conf.default.accept_dad=0 312 ip netns exec ${rtname} sysctl -wq net.ipv6.conf.all.accept_dad=0 313 ip netns exec ${rtname} sysctl -wq net.ipv6.conf.default.accept_dad=0 321 ip netns exec ${rtname} sysctl -wq net.ipv6.conf.${rtveth}.proxy_ndp=1 370 # set default routes to unreachable for both ipv4 and ipv6
|
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_toolkit/unittest/ |
H A D | base_address_test.cpp | 64 Ipv6Address ipv6 = Ipv6Address::Create("fe80::47b1:fa81:b33e:ea6b/64"); in HWTEST_F() local 65 ipv6.Dump(); in HWTEST_F()
|
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | addrconf.c | 72 #include <net/ipv6.h> 339 idev->stats.ipv6 = alloc_percpu_gfp(struct ipstats_mib, GFP_KERNEL_ACCOUNT); in snmp6_alloc_dev() 340 if (!idev->stats.ipv6) in snmp6_alloc_dev() 345 addrconf_stats = per_cpu_ptr(idev->stats.ipv6, i); in snmp6_alloc_dev() 364 free_percpu(idev->stats.ipv6); in snmp6_alloc_dev() 387 memcpy(&ndev->cnf, dev_net(dev)->ipv6.devconf_dflt, sizeof(ndev->cnf)); in ipv6_add_dev() 670 devconf = net->ipv6.devconf_all; in inet6_netconf_get_devconf() 673 devconf = net->ipv6.devconf_dflt; in inet6_netconf_get_devconf() 713 u32 res = atomic_read(&net->ipv6.dev_addr_genid) + in inet6_base_seq() 784 net->ipv6 in inet6_netconf_dump_devconf() [all...] |
H A D | proc.c | 12 * YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> 16 #include <linux/ipv6.h> 27 #include <net/ipv6.h> 47 atomic_read(&net->ipv6.fqdir->rhashtable.nelems), in sockstat6_seq_show() 48 frag_mem_limit(net->ipv6.fqdir)); in sockstat6_seq_show() 53 /* ipv6 mib according to RFC 2465 */ 237 snmp6_seq_show_item64(seq, idev->stats.ipv6, in snmp6_dev_seq_show()
|
H A D | xfrm6_policy.c | 22 #include <net/ipv6.h> 204 hdr = register_net_sysctl_sz(net, "net/ipv6", table, in xfrm6_net_sysctl_init() 209 net->ipv6.sysctl.xfrm6_hdr = hdr; in xfrm6_net_sysctl_init() 223 if (!net->ipv6.sysctl.xfrm6_hdr) in xfrm6_net_sysctl_exit() 226 table = net->ipv6.sysctl.xfrm6_hdr->ctl_table_arg; in xfrm6_net_sysctl_exit() 227 unregister_net_sysctl_table(net->ipv6.sysctl.xfrm6_hdr); in xfrm6_net_sysctl_exit()
|
/kernel/linux/linux-6.6/include/net/ |
H A D | ioam6.h | 13 #include <linux/ipv6.h> 50 return net->ipv6.ioam6_data; in ioam6_pernet()
|
H A D | ipv6.h | 12 #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...] |
/kernel/linux/linux-6.6/include/linux/netfilter_ipv6/ |
H A D | ip6_tables.h | 21 #include <linux/ipv6.h> 39 struct ip6t_ip6 ipv6; member
|
/kernel/linux/linux-5.10/net/ipv6/netfilter/ |
H A D | ip6t_SYNPROXY.c | 72 if (!(e->ipv6.flags & IP6T_F_PROTO) || in synproxy_tg6_check() 73 e->ipv6.proto != IPPROTO_TCP || in synproxy_tg6_check() 74 e->ipv6.invflags & XT_INV_PROTO) in synproxy_tg6_check()
|
H A D | nf_defrag_ipv6_hooks.c | 7 #include <linux/ipv6.h> 23 #include <net/netfilter/ipv6/nf_conntrack_ipv6.h> 26 #include <net/netfilter/ipv6/nf_defrag_ipv6.h>
|
/kernel/linux/linux-6.6/net/ipv6/netfilter/ |
H A D | ip6t_SYNPROXY.c | 72 if (!(e->ipv6.flags & IP6T_F_PROTO) || in synproxy_tg6_check() 73 e->ipv6.proto != IPPROTO_TCP || in synproxy_tg6_check() 74 e->ipv6.invflags & XT_INV_PROTO) in synproxy_tg6_check()
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/ |
H A D | vxlan_bridge_1d_ipv6.sh | 345 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...] |
/kernel/linux/linux-5.10/drivers/net/ |
H A D | geneve.c | 159 ipv6_addr_equal(&addr6, &node->geneve->cfg.info.key.u.ipv6.dst)) in geneve6_lookup() 438 static struct socket *geneve_create_sock(struct net *net, bool ipv6, in geneve_create_sock() argument 447 if (ipv6) { in geneve_create_sock() 562 bool ipv6, bool ipv6_rx_csum) in geneve_socket_create() 574 sock = geneve_create_sock(net, ipv6, port, ipv6_rx_csum); in geneve_socket_create() 646 static int geneve_sock_add(struct geneve_dev *geneve, bool ipv6) in geneve_sock_add() argument 655 gs = geneve_find_sock(gn, ipv6 ? AF_INET6 : AF_INET, geneve->cfg.info.key.tp_dst); in geneve_sock_add() 661 gs = geneve_socket_create(net, geneve->cfg.info.key.tp_dst, ipv6, in geneve_sock_add() 669 if (ipv6) { in geneve_sock_add() 690 bool ipv4, ipv6; in geneve_open() local 561 geneve_socket_create(struct net *net, __be16 port, bool ipv6, bool ipv6_rx_csum) geneve_socket_create() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ |
H A D | geneve.c | 162 ipv6_addr_equal(&addr6, &node->geneve->cfg.info.key.u.ipv6.dst)) in geneve6_lookup() 467 static struct socket *geneve_create_sock(struct net *net, bool ipv6, in geneve_create_sock() argument 476 if (ipv6) { in geneve_create_sock() 589 bool ipv6, bool ipv6_rx_csum) in geneve_socket_create() 601 sock = geneve_create_sock(net, ipv6, port, ipv6_rx_csum); in geneve_socket_create() 673 static int geneve_sock_add(struct geneve_dev *geneve, bool ipv6) in geneve_sock_add() argument 682 gs = geneve_find_sock(gn, ipv6 ? AF_INET6 : AF_INET, geneve->cfg.info.key.tp_dst); in geneve_sock_add() 688 gs = geneve_socket_create(net, geneve->cfg.info.key.tp_dst, ipv6, in geneve_sock_add() 696 if (ipv6) { in geneve_sock_add() 717 bool ipv4, ipv6; in geneve_open() local 588 geneve_socket_create(struct net *net, __be16 port, bool ipv6, bool ipv6_rx_csum) geneve_socket_create() argument [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | devlink_trap_tunnel_ipip6.sh | 159 tc filter add dev $swp1 egress protocol ipv6 pref 1 handle 101 \ 180 tc filter del dev $swp1 egress protocol ipv6 pref 1 handle 101 flower 192 tc filter add dev $swp1 egress protocol ipv6 pref 1 handle 101 \ 211 tc filter del dev $swp1 egress protocol ipv6 pref 1 handle 101 flower
|
H A D | devlink_trap_tunnel_vxlan_ipv6.sh | 173 tc filter add dev $swp1 egress protocol ipv6 pref 1 handle 101 \ 192 tc filter del dev $swp1 egress protocol ipv6 pref 1 handle 101 flower 248 tc filter add dev $swp1 egress protocol ipv6 pref 1 handle 101 \ 266 tc filter del dev $swp1 egress protocol ipv6 pref 1 handle 101 flower 319 tc filter add dev $swp1 egress protocol ipv6 pref 1 handle 101 \ 333 devlink_trap_drop_cleanup $mz_pid $swp1 "ipv6" 1 101
|
/third_party/libwebsockets/lib/core-net/client/ |
H A D | connect2.c | 48 if (wsi->ipv6) { in lws_getaddrinfo46() 282 * start off allowing ipv6 on connection if vhost allows it 284 wsi->ipv6 = LWS_IPV6_ENABLED(wsi->a.vhost); 291 if (wsi->ipv6 && iface && 294 wsi->ipv6 = 0;
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | xdpwall.c | 10 #include <linux/ipv6.h> 97 struct ipv6hdr *ipv6; member 153 filter_ipv6_addr(&info->ip.ipv6->saddr); in filter_src_dst_ip() 281 info->ip.ipv6 = inner_ip6h; in parse_gue_v6() 307 info->ip.ipv6 = ip6h; in parse_ipv6_gue()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/net_helper/ |
H A D | dhcpd_interface.cpp | 54 bool DhcpdInterface::StartDhcpServerFromInterface(const std::string &ifaceName, Ipv4Address &ipv4, Ipv6Address &ipv6, in StartDhcpServerFromInterface() argument 70 ipv6 = mBindIpv6; in StartDhcpServerFromInterface() 165 bool DhcpdInterface::ApplyIpAddress(const std::string &ifaceName, const Ipv4Address &ipv4, const Ipv6Address &ipv6) in ApplyIpAddress() argument 168 if (ipv6.IsValid()) { in ApplyIpAddress() 169 ret |= NetworkInterface::AddIpAddress(ifaceName, ipv6); in ApplyIpAddress() 174 bool DhcpdInterface::AssignIpAddr(Ipv4Address &ipv4, Ipv6Address &ipv6, const std::vector<Ipv4Address> &vecIpv4Addr, in AssignIpAddr() argument 200 ipv6 = Ipv6Address::Create(prefixIp.GetAddressWithString(), prefixIp.GetAddressPrefixLength(), 0); in AssignIpAddr() 284 WIFI_LOGE("inet_ntop convert ipv6 address failed!"); in AssignIpAddrV6()
|
/kernel/linux/linux-5.10/tools/usb/usbip/src/ |
H A D | usbipd.c | 57 " -6, --ipv6\n" 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() 590 { "ipv6", no_argument, NULL, '6' }, in main() 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()
|