Home
last modified time | relevance | path

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

12345678910>>...72

/openbmc/linux/net/ipv6/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A Dip6_fib.c16 #define pr_fmt(fmt) "IPv6: " fmt
30 #include <net/ipv6.h>
76 list_for_each_entry(w, &(net)->ipv6.fib6_walkers, lh)
80 write_lock_bh(&net->ipv6.fib6_walker_lock); in fib6_walker_link()
81 list_add(&w->lh, &net->ipv6.fib6_walkers); in fib6_walker_link()
82 write_unlock_bh(&net->ipv6.fib6_walker_lock); in fib6_walker_link()
87 write_lock_bh(&net->ipv6.fib6_walker_lock); in fib6_walker_unlink()
89 write_unlock_bh(&net->ipv6.fib6_walker_lock); in fib6_walker_unlink()
94 int new, old = atomic_read(&net->ipv6.fib6_sernum); in fib6_new_sernum()
98 } while (!atomic_try_cmpxchg(&net->ipv6.fib6_sernum, &old, new)); in fib6_new_sernum()
[all …]
/openbmc/openbmc-test-automation/redfish/managers/
H A Dtest_bmc_ipv6.robot2 Documentation Network interface IPv6 configuration and verification
27 Get IPv6 Address And Verify
28 [Documentation] Get IPv6 Address And Verify.
32 Verify IPv6 On BMC ${ipv6_network_configuration['Address']}
37 [Documentation] Get IPv6 prefix length and verify.
41 Verify IPv6 On BMC ${ipv6_network_configuration['PrefixLength']}
45 Get IPv6 Default Gateway And Verify
46 [Documentation] Get IPv6 default gateway and verify.
51 Verify IPv6 Default Gateway On BMC ${ipv6_gateway}
54 Verify All Configured IPv6 And PrefixLength On BMC
[all …]
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A 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 …]
/openbmc/linux/drivers/net/ethernet/intel/iavf/
H A 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 …]
/openbmc/linux/Documentation/networking/
H A 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 …]
/openbmc/linux/net/6lowpan/
H A 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 …]
/openbmc/openbmc-test-automation/lib/
H A Dbmc_ipv6_utils.robot12 Get BMC IPv6 Info
13 [Documentation] Get system IPv6 address and prefix length.
25 # Get line having IPv6 address details.
43 Verify IPv6 On BMC
44 [Documentation] Verify IPv6 on BMC.
45 [Arguments] ${ipv6}
48 # ipv6 IPv6 address to be verified (e.g. "2001::1234:1234").
50 # Get IPv6 address details on BMC using IP command.
51 @{ip_data}= Get BMC IPv6 Info
52 Should Contain Match ${ip_data} ${ipv6}/*
[all …]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A 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 …]
H A Dxdp_synproxy_kern.c309 __u8 *ttl, bool ipv6) in values_get_tcpipopts() argument
316 if (ipv6) in values_get_tcpipopts()
325 *mss = ipv6 ? DEFAULT_MSS6 : DEFAULT_MSS4; in values_get_tcpipopts()
368 struct ipv6hdr *ipv6; member
382 hdr->ipv6 = NULL; in tcp_dissect()
400 hdr->ipv6 = (void *)hdr->eth + sizeof(*hdr->eth); in tcp_dissect()
401 if (hdr->ipv6 + 1 > data_end) in tcp_dissect()
403 if (hdr->ipv6->version != 6) in tcp_dissect()
409 if (hdr->ipv6->nexthdr != NEXTHDR_TCP) in tcp_dissect()
412 hdr->tcp = (void *)hdr->ipv6 + sizeof(*hdr->ipv6); in tcp_dissect()
[all …]
H A Dtest_cls_redirect_dynptr.c15 #include <linux/ipv6.h>
91 offsetofend(struct bpf_sock_tuple, ipv6.dport) -
92 offsetof(struct bpf_sock_tuple, ipv6.sport) - 1,
186 const struct ipv6hdr *ipv6, uint8_t *upper_proto, in pkt_skip_ipv6_extension_headers() argument
198 .next = ipv6->nexthdr, in pkt_skip_ipv6_extension_headers()
242 static int pkt_parse_ipv6(struct bpf_dynptr *dynptr, __u64 *offset, struct ipv6hdr *ipv6, in pkt_parse_ipv6() argument
245 if (bpf_dynptr_read(ipv6, sizeof(*ipv6), dynptr, *offset, 0)) in pkt_parse_ipv6()
248 *offset += sizeof(*ipv6); in pkt_parse_ipv6()
250 if (!pkt_skip_ipv6_extension_headers(dynptr, offset, ipv6, proto, is_fragment)) in pkt_parse_ipv6()
278 /* Changing the ethertype if the encapsulated packet is ipv6 */ in accept_locally()
[all …]
/openbmc/linux/net/ipv6/netfilter/
H A 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 …]
/openbmc/linux/tools/testing/selftests/net/
H A 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 …]
H A 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 …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/tayga/files/
H A Dtayga.conf8 # TUN device that TAYGA will use to exchange IPv4 and IPv6 packets with the
21 # requires its own address because it acts as an IPv4 and IPv6 router, and
32 # TAYGA's IPv6 address. This is NOT your router's IPv6 address! TAYGA
33 # requires its own address because it acts as an IPv4 and IPv6 router, and
37 # You can leave ipv6-addr unspecified and TAYGA will construct its IPv6
44 #ipv6-addr 2001:db8:1::2
45 ipv6-addr fdaa:bb:1::1
48 # The NAT64 prefix. The IPv4 address space is mapped into the IPv6 address
53 # This must be a prefix selected from your organization's IPv6 address space
55 # Prefix will prohibit IPv6 hosts from contacting IPv4 hosts that have private
[all …]
/openbmc/linux/include/uapi/linux/
H A 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 …]
/openbmc/linux/drivers/net/ethernet/mediatek/
H A Dmtk_ppe_debugfs.c12 bool ipv6; member
36 [MTK_PPE_PKT_TYPE_IPV6_ROUTE_3T] = "IPv6 3T", in mtk_foe_pkt_type_str()
37 [MTK_PPE_PKT_TYPE_IPV6_ROUTE_5T] = "IPv6 5T", in mtk_foe_pkt_type_str()
48 mtk_print_addr(struct seq_file *m, u32 *addr, bool ipv6) in mtk_print_addr() argument
53 if (!ipv6) { in mtk_print_addr()
66 mtk_print_addr(m, ai->src, ai->ipv6); in mtk_print_addr_info()
70 mtk_print_addr(m, ai->dest, ai->ipv6); in mtk_print_addr_info()
117 ai.src_port = &entry->ipv6.src_port; in mtk_ppe_debugfs_foe_show()
118 ai.dest_port = &entry->ipv6.dest_port; in mtk_ppe_debugfs_foe_show()
122 ai.src = &entry->ipv6.src_ip; in mtk_ppe_debugfs_foe_show()
[all …]
/openbmc/linux/net/netfilter/ipset/
H A DKconfig60 can store arbitrary IPv4 or IPv6 addresses (or network addresses)
70 can store IPv4/IPv6 address and mark pairs.
79 can store IPv4/IPv6 address and protocol/port pairs.
88 one can store IPv4/IPv6 address, protocol/port, and IPv4/IPv6
98 one can store IPv4/IPv6 address, protocol/port, and IPv4/IPv6
108 one can store IPv4/IPv6 address and MAC (ethernet address) pairs in a set.
126 one can store two IPv4/IPv6 subnets, and a protocol/port in a set.
135 one can store IPv4/IPv6 network address/prefix elements in a set.
144 one can store IPv4/IPv6 network address/prefix pairs in a set.
153 one can store IPv4/IPv6 network address/prefix and
[all …]
/openbmc/openbmc-test-automation/openpower/ext_interfaces/
H A Dtest_vmi.robot485 Verify VMI IPv6 Address SLAAC
496 Verify VMI IPv6 Address Static
514 ${vmi_ipv6addr}= Verify VMI IPv6 Address SLAAC
531 ${vmi_ipv6addr}= Verify VMI IPv6 Address Static
542 # Set IPv6 origin to SLAAC.
544 Verify VMI IPv6 Address SLAAC
553 ... check IPv6 gets Slaac address and this works on the setup
559 # Enable SLAAC and check whether IPv6 origin is set to SLAAC.
563 ${vmi_ipv6addr}= Verify VMI IPv6 Address SLAAC
569 [Documentation] Disable VMI DHCPv6 property and verify IPv6 addres
[all...]
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/
H A DIPAddresses.v1_1_5.json111 "description": "This type describes an IPv6 address.",
112 "longDescription": "This type shall describe an IPv6 address assigned to an interface.",
129 "description": "The IPv6 address.",
130 …"longDescription": "This property lists an IPv6 address that is currently assigned on this interfa…
147 … "longDescription": "This property shall contain the IPv6 address origin for this interface.",
177 "description": "The IPv6 address prefix Length.",
178 …"longDescription": "This property shall contain the IPv6 address prefix length for this interface.…
201 …"description": "This type represents a single IPv6 static address to be assigned on a network inte…
202 …"longDescription": "This type shall represent a single IPv6 static address to be assigned on a net…
219 "description": "A valid IPv6 address.",
[all …]
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/
H A DIPAddresses.v1_1_5.json111 "description": "This type describes an IPv6 address.",
112 "longDescription": "This type shall describe an IPv6 address assigned to an interface.",
129 "description": "The IPv6 address.",
130 …"longDescription": "This property lists an IPv6 address that is currently assigned on this interfa…
147 … "longDescription": "This property shall contain the IPv6 address origin for this interface.",
177 "description": "The IPv6 address prefix Length.",
178 …"longDescription": "This property shall contain the IPv6 address prefix length for this interface.…
201 …"description": "This type represents a single IPv6 static address to be assigned on a network inte…
202 …"longDescription": "This type shall represent a single IPv6 static address to be assigned on a net…
219 "description": "A valid IPv6 address.",
[all …]
/openbmc/linux/net/netlabel/
H A Dnetlabel_addrlist.c24 #include <linux/ipv6.h>
26 #include <net/ipv6.h>
86 * netlbl_af6list_search - Search for a matching IPv6 address entry
87 * @addr: IPv6 address
91 * Searches the IPv6 address list given by @head. If a matching address entry
110 * netlbl_af6list_search_exact - Search for an exact IPv6 address entry
111 * @addr: IPv6 address
112 * @mask: IPv6 address mask
116 * Searches the IPv6 address list given by @head. If an exact match if found
135 #endif /* IPv6 */
[all …]

12345678910>>...72