Home
last modified time | relevance | path

Searched full:ipv6 (Results 1 – 25 of 2691) sorted by relevance

12345678910>>...108

/kernel/linux/linux-6.6/net/ipv6/
DKconfig3 # IPv6 configuration
6 # IPv6 as module will cause a CRASH if you try to unload it
7 menuconfig IPV6 config
8 tristate "The IPv6 protocol"
12 Support for IP version 6 (IPv6).
14 For general information about IPv6, see
15 <https://en.wikipedia.org/wiki/IPv6>.
16 For specific information about IPv6 under Linux, see
17 Documentation/networking/ipv6.rst and read the HOWTO at
18 <https://www.tldp.org/HOWTO/Linux+IPv6-HOWTO/>
[all …]
Dsysctl_net_ipv6.c3 * sysctl_net_ipv6.c: sysctl interface to net IPV6 subsystem.
12 #include <linux/ipv6.h>
16 #include <net/ipv6.h>
40 ipv6.sysctl.multipath_hash_policy); in proc_rt6_multipath_hash_policy()
56 ipv6.sysctl.multipath_hash_fields); in proc_rt6_multipath_hash_fields()
67 .data = &init_net.ipv6.sysctl.bindv6only,
74 .data = &init_net.ipv6.sysctl.anycast_src_echo_reply,
81 .data = &init_net.ipv6.sysctl.flowlabel_consistency,
88 .data = &init_net.ipv6.sysctl.auto_flowlabels,
96 .data = &init_net.ipv6.sysctl.fwmark_reflect,
[all …]
DMakefile6 obj-$(CONFIG_IPV6) += ipv6.o
8 ipv6-y := af_inet6.o anycast.o ip6_output.o ip6_input.o addrconf.o \
15 ipv6-$(CONFIG_SYSCTL) += sysctl_net_ipv6.o
16 ipv6-$(CONFIG_IPV6_MROUTE) += ip6mr.o
18 ipv6-$(CONFIG_XFRM) += xfrm6_policy.o xfrm6_state.o xfrm6_input.o \
20 ipv6-$(CONFIG_NETFILTER) += netfilter.o
21 ipv6-$(CONFIG_IPV6_MULTIPLE_TABLES) += fib6_rules.o
22 ipv6-$(CONFIG_PROC_FS) += proc.o
23 ipv6-$(CONFIG_SYN_COOKIES) += syncookies.o
24 ipv6-$(CONFIG_NETLABEL) += calipso.o
[all …]
Dfib6_rules.c3 * net/ipv6/fib6_rules.c IPv6 Routing Policy Rules
20 #include <net/ipv6.h>
69 if (net->ipv6.fib6_has_custom_rules) { in fib6_lookup()
79 err = fib_rules_lookup(net->ipv6.fib6_rules_ops, in fib6_lookup()
82 err = fib6_table_lookup(net, net->ipv6.fib6_local_tbl, oif, in fib6_lookup()
84 if (err || res->f6i == net->ipv6.fib6_null_entry) in fib6_lookup()
85 err = fib6_table_lookup(net, net->ipv6.fib6_main_tbl, in fib6_lookup()
96 if (net->ipv6.fib6_has_custom_rules) { in fib6_rule_lookup()
108 fib_rules_lookup(net->ipv6.fib6_rules_ops, in fib6_rule_lookup()
117 net, net->ipv6.fib6_local_tbl, fl6, skb, flags); in fib6_rule_lookup()
[all …]
/kernel/linux/linux-5.10/net/ipv6/
DKconfig3 # IPv6 configuration
6 # IPv6 as module will cause a CRASH if you try to unload it
7 menuconfig IPV6 config
8 tristate "The IPv6 protocol"
11 Support for IP version 6 (IPv6).
13 For general information about IPv6, see
14 <https://en.wikipedia.org/wiki/IPv6>.
15 For specific information about IPv6 under Linux, see
16 Documentation/networking/ipv6.rst and read the HOWTO at
17 <https://www.tldp.org/HOWTO/Linux+IPv6-HOWTO/>
[all …]
Dsysctl_net_ipv6.c3 * sysctl_net_ipv6.c: sysctl interface to net IPV6 subsystem.
12 #include <linux/ipv6.h>
16 #include <net/ipv6.h>
36 ipv6.sysctl.multipath_hash_policy); in proc_rt6_multipath_hash_policy()
47 .data = &init_net.ipv6.sysctl.bindv6only,
54 .data = &init_net.ipv6.sysctl.anycast_src_echo_reply,
61 .data = &init_net.ipv6.sysctl.flowlabel_consistency,
68 .data = &init_net.ipv6.sysctl.auto_flowlabels,
77 .data = &init_net.ipv6.sysctl.fwmark_reflect,
84 .data = &init_net.ipv6.sysctl.idgen_retries,
[all …]
DMakefile6 obj-$(CONFIG_IPV6) += ipv6.o
8 ipv6-objs := af_inet6.o anycast.o ip6_output.o ip6_input.o addrconf.o \
15 ipv6-offload := ip6_offload.o tcpv6_offload.o exthdrs_offload.o
17 ipv6-$(CONFIG_SYSCTL) = sysctl_net_ipv6.o
18 ipv6-$(CONFIG_IPV6_MROUTE) += ip6mr.o
20 ipv6-$(CONFIG_XFRM) += xfrm6_policy.o xfrm6_state.o xfrm6_input.o \
22 ipv6-$(CONFIG_NETFILTER) += netfilter.o
23 ipv6-$(CONFIG_IPV6_MULTIPLE_TABLES) += fib6_rules.o
24 ipv6-$(CONFIG_PROC_FS) += proc.o
25 ipv6-$(CONFIG_SYN_COOKIES) += syncookies.o
[all …]
Dfib6_rules.c3 * net/ipv6/fib6_rules.c IPv6 Routing Policy Rules
19 #include <net/ipv6.h>
68 if (net->ipv6.fib6_has_custom_rules) { in fib6_lookup()
78 err = fib_rules_lookup(net->ipv6.fib6_rules_ops, in fib6_lookup()
81 err = fib6_table_lookup(net, net->ipv6.fib6_local_tbl, oif, in fib6_lookup()
83 if (err || res->f6i == net->ipv6.fib6_null_entry) in fib6_lookup()
84 err = fib6_table_lookup(net, net->ipv6.fib6_main_tbl, in fib6_lookup()
95 if (net->ipv6.fib6_has_custom_rules) { in fib6_rule_lookup()
107 fib_rules_lookup(net->ipv6.fib6_rules_ops, in fib6_rule_lookup()
116 net, net->ipv6.fib6_local_tbl, fl6, skb, flags); in fib6_rule_lookup()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/iavf/
Diavf_common.c559 /* IPv4 --> IPv6 */
560 IAVF_PTT(36, IP, IPV4, NOF, IP_IP, IPV6, FRG, NONE, PAY3),
561 IAVF_PTT(37, IP, IPV4, NOF, IP_IP, IPV6, NOF, NONE, PAY3),
562 IAVF_PTT(38, IP, IPV4, NOF, IP_IP, IPV6, NOF, UDP, PAY4),
564 IAVF_PTT(40, IP, IPV4, NOF, IP_IP, IPV6, NOF, TCP, PAY4),
565 IAVF_PTT(41, IP, IPV4, NOF, IP_IP, IPV6, NOF, SCTP, PAY4),
566 IAVF_PTT(42, IP, IPV4, NOF, IP_IP, IPV6, NOF, ICMP, PAY4),
580 /* IPv4 --> GRE/NAT --> IPv6 */
581 IAVF_PTT(51, IP, IPV4, NOF, IP_GRENAT, IPV6, FRG, NONE, PAY3),
582 IAVF_PTT(52, IP, IPV4, NOF, IP_GRENAT, IPV6, NOF, NONE, PAY3),
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_lan_tx_rx.h650 /* IPv4 --> IPv6 */
651 ICE_PTT(36, IP, IPV4, NOF, IP_IP, IPV6, FRG, NONE, PAY3),
652 ICE_PTT(37, IP, IPV4, NOF, IP_IP, IPV6, NOF, NONE, PAY3),
653 ICE_PTT(38, IP, IPV4, NOF, IP_IP, IPV6, NOF, UDP, PAY4),
655 ICE_PTT(40, IP, IPV4, NOF, IP_IP, IPV6, NOF, TCP, PAY4),
656 ICE_PTT(41, IP, IPV4, NOF, IP_IP, IPV6, NOF, SCTP, PAY4),
657 ICE_PTT(42, IP, IPV4, NOF, IP_IP, IPV6, NOF, ICMP, PAY4),
671 /* IPv4 --> GRE/NAT --> IPv6 */
672 ICE_PTT(51, IP, IPV4, NOF, IP_GRENAT, IPV6, FRG, NONE, PAY3),
673 ICE_PTT(52, IP, IPV4, NOF, IP_GRENAT, IPV6, NOF, NONE, PAY3),
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
Dice_lan_tx_rx.h740 /* IPv4 --> IPv6 */
741 ICE_PTT(36, IP, IPV4, NOF, IP_IP, IPV6, FRG, NONE, PAY3),
742 ICE_PTT(37, IP, IPV4, NOF, IP_IP, IPV6, NOF, NONE, PAY3),
743 ICE_PTT(38, IP, IPV4, NOF, IP_IP, IPV6, NOF, UDP, PAY4),
745 ICE_PTT(40, IP, IPV4, NOF, IP_IP, IPV6, NOF, TCP, PAY4),
746 ICE_PTT(41, IP, IPV4, NOF, IP_IP, IPV6, NOF, SCTP, PAY4),
747 ICE_PTT(42, IP, IPV4, NOF, IP_IP, IPV6, NOF, ICMP, PAY4),
761 /* IPv4 --> GRE/NAT --> IPv6 */
762 ICE_PTT(51, IP, IPV4, NOF, IP_GRENAT, IPV6, FRG, NONE, PAY3),
763 ICE_PTT(52, IP, IPV4, NOF, IP_GRENAT, IPV6, NOF, NONE, PAY3),
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/
Diavf_common.c590 /* IPv4 --> IPv6 */
591 IAVF_PTT(36, IP, IPV4, NOF, IP_IP, IPV6, FRG, NONE, PAY3),
592 IAVF_PTT(37, IP, IPV4, NOF, IP_IP, IPV6, NOF, NONE, PAY3),
593 IAVF_PTT(38, IP, IPV4, NOF, IP_IP, IPV6, NOF, UDP, PAY4),
595 IAVF_PTT(40, IP, IPV4, NOF, IP_IP, IPV6, NOF, TCP, PAY4),
596 IAVF_PTT(41, IP, IPV4, NOF, IP_IP, IPV6, NOF, SCTP, PAY4),
597 IAVF_PTT(42, IP, IPV4, NOF, IP_IP, IPV6, NOF, ICMP, PAY4),
611 /* IPv4 --> GRE/NAT --> IPv6 */
612 IAVF_PTT(51, IP, IPV4, NOF, IP_GRENAT, IPV6, FRG, NONE, PAY3),
613 IAVF_PTT(52, IP, IPV4, NOF, IP_GRENAT, IPV6, NOF, NONE, PAY3),
[all …]
/kernel/linux/linux-6.6/Documentation/networking/
Dipv6.rst4 IPv6 title
8 Options for the ipv6 module are supplied as parameters at load time.
15 The available ipv6 module parameters are listed below. If a parameter
22 Specifies whether to load the IPv6 module, but disable all
24 has a dependency on the IPv6 module being loaded, but no
25 IPv6 addresses or operations are desired.
30 IPv6 is enabled.
35 IPv6 is disabled.
37 No IPv6 addresses will be added to interfaces, and
38 it will not be possible to open an IPv6 socket.
[all …]
/kernel/linux/linux-5.10/Documentation/networking/
Dipv6.rst4 IPv6 title
8 Options for the ipv6 module are supplied as parameters at load time.
15 The available ipv6 module parameters are listed below. If a parameter
22 Specifies whether to load the IPv6 module, but disable all
24 has a dependency on the IPv6 module being loaded, but no
25 IPv6 addresses or operations are desired.
30 IPv6 is enabled.
35 IPv6 is disabled.
37 No IPv6 addresses will be added to interfaces, and
38 it will not be possible to open an IPv6 socket.
[all …]
/kernel/linux/linux-5.10/net/6lowpan/
DKconfig4 depends on IPV6
6 This enables IPv6 over Low power Wireless Personal Area Network -
31 6LoWPAN IPv6 Destination Options Header compression according to
38 6LoWPAN IPv6 Fragment Header compression according to RFC6282.
44 6LoWPAN IPv6 Hop-by-Hop Options Header compression according to
48 tristate "IPv6 Header Support"
51 6LoWPAN IPv6 Header compression according to RFC6282.
57 6LoWPAN IPv6 Mobility Header compression according to RFC6282.
63 6LoWPAN IPv6 Routing Header compression according to RFC6282.
69 6LoWPAN IPv6 UDP Header compression according to RFC6282.
[all …]
/kernel/linux/linux-6.6/net/6lowpan/
DKconfig4 depends on IPV6
6 This enables IPv6 over Low power Wireless Personal Area Network -
31 6LoWPAN IPv6 Destination Options Header compression according to
38 6LoWPAN IPv6 Fragment Header compression according to RFC6282.
44 6LoWPAN IPv6 Hop-by-Hop Options Header compression according to
48 tristate "IPv6 Header Support"
51 6LoWPAN IPv6 Header compression according to RFC6282.
57 6LoWPAN IPv6 Mobility Header compression according to RFC6282.
63 6LoWPAN IPv6 Routing Header compression according to RFC6282.
69 6LoWPAN IPv6 UDP Header compression according to RFC6282.
[all …]
/kernel/linux/linux-5.10/net/ipv6/netfilter/
DKconfig6 menu "IPv6: Netfilter Configuration"
7 depends on INET && IPV6 && NETFILTER
10 tristate "IPv6 socket lookup support"
12 This option enables the IPv6 socket lookup infrastructure. This
16 tristate "IPv6 tproxy support"
21 bool "IPv6 nf_tables support"
23 This option enables the IPv6 support for nf_tables.
33 tristate "IPv6 nf_tables packet duplication support"
37 This module enables IPv6 packet duplication support for nf_tables.
40 tristate "nf_tables fib / ipv6 route lookup support"
[all …]
Dip6table_nat.c5 * Based on Rusty Russell's IPv4 NAT code. Development of IPv6 NAT
13 #include <linux/ipv6.h>
14 #include <net/ipv6.h>
35 return ip6t_do_table(skb, state, state->net->ipv6.ip6table_nat); in ip6table_nat_do_chain()
95 if (net->ipv6.ip6table_nat) in ip6table_nat_table_init()
102 NULL, &net->ipv6.ip6table_nat); in ip6table_nat_table_init()
110 ip6t_unregister_table(net, net->ipv6.ip6table_nat, NULL); in ip6table_nat_table_init()
111 net->ipv6.ip6table_nat = NULL; in ip6table_nat_table_init()
119 if (net->ipv6.ip6table_nat) in ip6table_nat_net_pre_exit()
125 if (!net->ipv6.ip6table_nat) in ip6table_nat_net_exit()
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
Dconnect6_prog.c35 memset(&tuple.ipv6.saddr, 0, sizeof(tuple.ipv6.saddr)); in connect_v6_prog()
36 memset(&tuple.ipv6.sport, 0, sizeof(tuple.ipv6.sport)); in connect_v6_prog()
38 tuple.ipv6.daddr[0] = bpf_htonl(DST_REWRITE_IP6_0); in connect_v6_prog()
39 tuple.ipv6.daddr[1] = bpf_htonl(DST_REWRITE_IP6_1); in connect_v6_prog()
40 tuple.ipv6.daddr[2] = bpf_htonl(DST_REWRITE_IP6_2); in connect_v6_prog()
41 tuple.ipv6.daddr[3] = bpf_htonl(DST_REWRITE_IP6_3); in connect_v6_prog()
43 tuple.ipv6.dport = bpf_htons(DST_REWRITE_PORT6); in connect_v6_prog()
48 sk = bpf_sk_lookup_tcp(ctx, &tuple, sizeof(tuple.ipv6), in connect_v6_prog()
51 sk = bpf_sk_lookup_udp(ctx, &tuple, sizeof(tuple.ipv6), in connect_v6_prog()
57 if (sk->src_ip6[0] != tuple.ipv6.daddr[0] || in connect_v6_prog()
[all …]
/kernel/linux/linux-6.6/net/ipv6/netfilter/
DKconfig6 menu "IPv6: Netfilter Configuration"
7 depends on INET && IPV6 && NETFILTER
10 tristate "IPv6 socket lookup support"
12 This option enables the IPv6 socket lookup infrastructure. This
16 tristate "IPv6 tproxy support"
21 bool "IPv6 nf_tables support"
23 This option enables the IPv6 support for nf_tables.
33 tristate "IPv6 nf_tables packet duplication support"
37 This module enables IPv6 packet duplication support for nf_tables.
40 tristate "nf_tables fib / ipv6 route lookup support"
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dconnect6_prog.c37 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 …]
/kernel/linux/linux-6.6/tools/testing/selftests/net/
Dbareudp.sh8 # configurations of bareudp (using IPv4 or IPv6 as underlay and transporting
9 # IPv4, IPv6 or MPLS packets on the overlay).
14 # is assigned an IPv4 and an IPv6 address. A host-route allows a veth to
18 # IPv4 and IPv6 addresses on their loopback device. Routes are added in NS0
20 # For IPv4 and IPv6 reachability tests, the route simply sets the peer's
32 # | * IPv6 address: 2001:db8::100/128 |
33 # | * IPv6 address: 2001:db8::200/128 |
35 # | * IPv6 route: 2001:db8::103/128 reachable via 2001:db8::11 |
36 # | * IPv6 route: 2001:db8::203/128 reachable via 2001:db8::11 |
41 # | | * IPv6 address: 2001:db8::10, peer 2001:db8::11/128 |
[all …]
Dsrv6_hencap_red_l3vpn_test.sh8 # Below is depicted the IPv6 network of an operator which offers advanced
9 # IPv4/IPv6 VPN services to hosts, enabling them to communicate with each
11 # In this example, hosts hs-1 and hs-2 are connected through an IPv4/IPv6 VPN
12 # service, while hs-3 and hs-4 are connected using an IPv6 only VPN.
14 # Routers rt-1,rt-2,rt-3 and rt-4 implement IPv4/IPv6 L3 VPN services
22 # into the IPv6 Destination Address. When a SRv6 Policy is made of only one
24 # SID directly into the IPv6 DA;
31 # handling, at the same time, both tunneled IPv4 and IPv6 traffic.
74 # in the IPv6 operator network.
90 # services. Reachability of SIDs is ensured by proper configuration of the IPv6
[all …]
/kernel/linux/linux-6.6/include/uapi/linux/
Din6.h10 * IPv6 Program Interfaces for BSD Systems
13 * Advanced Sockets API for IPv6
29 * IPv6 address structure
53 __be32 sin6_flowinfo; /* IPv6 flow information */
54 struct in6_addr sin6_addr; /* IPv6 address */
61 /* IPv6 multicast address of group */
64 /* local IPv6 address of interface */
129 * IPV6 extension headers
132 #define IPPROTO_HOPOPTS 0 /* IPv6 hop-by-hop options */
133 #define IPPROTO_ROUTING 43 /* IPv6 routing header */
[all …]
/kernel/linux/linux-5.10/include/uapi/linux/
Din6.h10 * IPv6 Program Interfaces for BSD Systems
13 * Advanced Sockets API for IPv6
29 * IPv6 address structure
53 __be32 sin6_flowinfo; /* IPv6 flow information */
54 struct in6_addr sin6_addr; /* IPv6 address */
61 /* IPv6 multicast address of group */
64 /* local IPv6 address of interface */
129 * IPV6 extension headers
132 #define IPPROTO_HOPOPTS 0 /* IPv6 hop-by-hop options */
133 #define IPPROTO_ROUTING 43 /* IPv6 routing header */
[all …]

12345678910>>...108