/openbmc/linux/net/ipv6/ |
H A D | sysctl_net_ipv6.c | 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, 103 .data = &init_net.ipv6.sysctl.idgen_retries, 110 .data = &init_net.ipv6.sysctl.idgen_delay, 117 .data = &init_net.ipv6.sysctl.flowlabel_state_ranges, [all …]
|
H A D | Makefile | 6 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 D | ip6_fib.c | 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() 188 net->ipv6.rt6_stats->fib_nodes++; in node_alloc() 196 net->ipv6.rt6_stats->fib_nodes--; in node_free_immediate() [all …]
|
H A D | fib6_rules.c | 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() 118 if (rt != net->ipv6.ip6_null_entry && rt->dst.error != -EAGAIN) in fib6_rule_lookup() 122 net, net->ipv6.fib6_main_tbl, fl6, skb, flags); in fib6_rule_lookup() [all …]
|
H A D | addrlabel.c | 133 hlist_for_each_entry_rcu(p, &net->ipv6.ip6addrlbl_table.head, list) { in __ipv6_addr_label() 213 hlist_for_each_entry_safe(p, n, &net->ipv6.ip6addrlbl_table.head, list) { in __ip6addrlbl_add() 234 hlist_add_head_rcu(&newp->list, &net->ipv6.ip6addrlbl_table.head); in __ip6addrlbl_add() 237 net->ipv6.ip6addrlbl_table.seq++; in __ip6addrlbl_add() 256 spin_lock(&net->ipv6.ip6addrlbl_table.lock); in ip6addrlbl_add() 258 spin_unlock(&net->ipv6.ip6addrlbl_table.lock); in ip6addrlbl_add() 276 hlist_for_each_entry_safe(p, n, &net->ipv6.ip6addrlbl_table.head, list) { in __ip6addrlbl_del() 300 spin_lock(&net->ipv6.ip6addrlbl_table.lock); in ip6addrlbl_del() 302 spin_unlock(&net->ipv6.ip6addrlbl_table.lock); in ip6addrlbl_del() 316 spin_lock_init(&net->ipv6.ip6addrlbl_table.lock); in ip6addrlbl_net_init() [all …]
|
H A D | reassembly.c | 99 q = inet_frag_find(net->ipv6.fqdir, &key); in fq_find() 467 table[0].data = &net->ipv6.fqdir->high_thresh; in ip6_frags_ns_sysctl_register() 468 table[0].extra1 = &net->ipv6.fqdir->low_thresh; in ip6_frags_ns_sysctl_register() 469 table[1].data = &net->ipv6.fqdir->low_thresh; in ip6_frags_ns_sysctl_register() 470 table[1].extra2 = &net->ipv6.fqdir->high_thresh; in ip6_frags_ns_sysctl_register() 471 table[2].data = &net->ipv6.fqdir->timeout; in ip6_frags_ns_sysctl_register() 478 net->ipv6.sysctl.frags_hdr = hdr; in ip6_frags_ns_sysctl_register() 492 table = net->ipv6.sysctl.frags_hdr->ctl_table_arg; in ip6_frags_ns_sysctl_unregister() 493 unregister_net_sysctl_table(net->ipv6.sysctl.frags_hdr); in ip6_frags_ns_sysctl_unregister() 535 res = fqdir_init(&net->ipv6.fqdir, &ip6_frags, net); in ipv6_frags_init_net() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | connect6_prog.c | 35 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 D | xdp_synproxy_kern.c | 309 __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 D | test_cls_redirect.c | 96 offsetofend(struct bpf_sock_tuple, ipv6.dport) - 97 offsetof(struct bpf_sock_tuple, ipv6.sport) - 1, 280 const struct ipv6hdr *ipv6, in pkt_skip_ipv6_extension_headers() argument 293 .next = ipv6->nexthdr, in pkt_skip_ipv6_extension_headers() 351 struct ipv6hdr *ipv6 = buf_assign(pkt, sizeof(*ipv6), scratch); in pkt_parse_ipv6() local 352 if (ipv6 == NULL) { in pkt_parse_ipv6() 356 if (!pkt_skip_ipv6_extension_headers(pkt, ipv6, proto, is_fragment)) { in pkt_parse_ipv6() 360 return ipv6; in pkt_parse_ipv6() 632 struct ipv6hdr *ipv6 = (struct ipv6hdr *)iph; in fill_tuple() local 633 memcpy(&tuple->ipv6.daddr, &ipv6->daddr, in fill_tuple() [all …]
|
H A D | test_cls_redirect_dynptr.c | 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() 523 struct ipv6hdr *ipv6 = (struct ipv6hdr *)iph; in fill_tuple() local 524 memcpy(&tuple->ipv6.daddr, &ipv6->daddr, in fill_tuple() [all …]
|
H A 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()
|
/openbmc/openbmc/meta-google/recipes-google/networking/gbmc-bridge/ |
H A D | gbmc-br-dhcp.sh | 55 echo "DHCPv6(gbmcbr): $ipv6/128" >&2 57 update-dhcp-status 'ONGOING' "Received dhcp response ${ipv6}" 59 ip_to_bytes pfx_bytes "$ipv6" 64 echo "Invalid address prefix ${ipv6}" >&2 65 update-dhcp-status 'ONGOING' "Invalid address prefix ${ipv6}" 71 echo "Invalid address ${ipv6}" >&2 72 update-dhcp-status 'ONGOING' "Invalid address ${ipv6}" 77 update-dhcp-status 'ONGOING' "Setting hostname ${fqdn} and ip ${ipv6}"
|
/openbmc/linux/drivers/net/ethernet/mediatek/ |
H A D | mtk_ppe_debugfs.c | 12 bool ipv6; member 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() 123 ai.dest = &entry->ipv6.dest_ip; in mtk_ppe_debugfs_foe_show() 124 ai.ipv6 = true; in mtk_ppe_debugfs_foe_show() [all …]
|
/openbmc/openbmc/meta-facebook/recipes-fb/network-wait-ipv6-ll/ |
H A D | network-wait-ipv6-ll_0.1.bb | 12 file://check-ipv6-ll \ 13 file://network-wait-ipv6-ll@.service \ 18 install -m 0755 ${UNPACKDIR}/check-ipv6-ll ${D}${libexecdir} 24 NCSI_WAIT_IPV6_LL_INSTFMT="../network-wait-ipv6-ll@.service:${TGT}.wants/network-wait-ipv6-ll@{0}.s… 26 SYSTEMD_SERVICE:${PN} += "network-wait-ipv6-ll@.service"
|
/openbmc/linux/tools/testing/selftests/net/ |
H A 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 …]
|
/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | ip6gre_custom_multipath_hash.sh | 387 sysctl_set net.ipv6.fib_multipath_hash_fields 0x0040 391 sysctl_set net.ipv6.fib_multipath_hash_fields 0x0080 395 sysctl_set net.ipv6.fib_multipath_hash_fields 0x0400 399 sysctl_set net.ipv6.fib_multipath_hash_fields 0x0800 414 sysctl_set net.ipv6.neigh.default.gc_thresh1 1024 415 sysctl_set net.ipv6.neigh.default.gc_thresh2 1024 416 sysctl_set net.ipv6.neigh.default.gc_thresh3 1024 418 sysctl_set net.ipv6.fib_multipath_hash_fields 0x0040 422 sysctl_set net.ipv6.fib_multipath_hash_fields 0x0080 426 sysctl_set net.ipv6.fib_multipath_hash_fields 0x0200 [all …]
|
H A D | custom_multipath_hash.sh | 319 sysctl_set net.ipv6.fib_multipath_hash_policy 3 323 sysctl_set net.ipv6.neigh.default.gc_thresh1 1024 324 sysctl_set net.ipv6.neigh.default.gc_thresh2 1024 325 sysctl_set net.ipv6.neigh.default.gc_thresh3 1024 327 sysctl_set net.ipv6.fib_multipath_hash_fields 0x0001 331 sysctl_set net.ipv6.fib_multipath_hash_fields 0x0002 335 sysctl_set net.ipv6.fib_multipath_hash_fields 0x0008 339 sysctl_set net.ipv6.fib_multipath_hash_fields 0x0010 343 sysctl_set net.ipv6.fib_multipath_hash_fields 0x0020 347 sysctl_restore net.ipv6.neigh.default.gc_thresh3 [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | ip_check_defrag.c | 41 static int setup_topology(bool ipv6) in setup_topology() argument 49 if (ipv6) { in setup_topology() 61 if (ipv6) in setup_topology() 81 static int attach(struct ip_check_defrag *skel, bool ipv6) in attach() argument 84 .pf = ipv6 ? NFPROTO_IPV6 : NFPROTO_IPV4, in attach() 157 void test_bpf_ip_check_defrag_ok(bool ipv6) in test_bpf_ip_check_defrag_ok() argument 183 if (!ASSERT_OK(setup_topology(ipv6), "setup_topology")) in test_bpf_ip_check_defrag_ok() 186 if (!ASSERT_OK(attach(skel, ipv6), "attach")) in test_bpf_ip_check_defrag_ok() 193 srv_fd = start_server(ipv6 ? AF_INET6 : AF_INET, SOCK_DGRAM, NULL, SERVER_PORT, 0); in test_bpf_ip_check_defrag_ok() 221 if (ipv6) { in test_bpf_ip_check_defrag_ok() [all …]
|
/openbmc/webui-vue/src/views/Settings/Network/ |
H A D | TableIpv6.vue | 2 <page-section :section-title="$t('pageNetwork.ipv6')"> 193 this.$root.$emit('network-table-ipv6-complete'); 204 (ipv6) => 205 ipv6.AddressOrigin === 'LinkLocal' || 206 ipv6.AddressOrigin === 'Static' || 207 ipv6.AddressOrigin === 'SLAAC' || 208 ipv6.AddressOrigin === 'DHCPv6', 210 this.form.ipv6TableItems = addresses.map((ipv6) => { 212 Address: ipv6.Address, 213 PrefixLength: ipv6.PrefixLength, [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/iperf2/ |
H A D | iperf2_2.0.13.bb | 19 PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}" 20 PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
H A D | port_sel.c | 116 u8 *ipv6; in mlx5_lag_set_definer_inner() local 155 ipv6 = MLX5_ADDR_OF(match_definer_format_31, match_definer_mask, in mlx5_lag_set_definer_inner() 157 memset(ipv6, 0xff, 16); in mlx5_lag_set_definer_inner() 158 ipv6 = MLX5_ADDR_OF(match_definer_format_31, match_definer_mask, in mlx5_lag_set_definer_inner() 160 memset(ipv6, 0xff, 16); in mlx5_lag_set_definer_inner() 164 ipv6 = MLX5_ADDR_OF(match_definer_format_32, match_definer_mask, in mlx5_lag_set_definer_inner() 166 memset(ipv6, 0xff, 16); in mlx5_lag_set_definer_inner() 167 ipv6 = MLX5_ADDR_OF(match_definer_format_32, match_definer_mask, in mlx5_lag_set_definer_inner() 169 memset(ipv6, 0xff, 16); in mlx5_lag_set_definer_inner() 202 u8 *ipv6; in mlx5_lag_set_definer() local [all …]
|
/openbmc/openbmc/meta-openembedded/meta-xfce/recipes-panel-plugins/mailwatch/ |
H A D | xfce4-mailwatch-plugin_1.3.1.bb | 12 PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" 13 PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
|
/openbmc/openbmc/poky/meta/recipes-graphics/xorg-app/ |
H A D | xauth_1.1.3.bb | 14 PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" 15 PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
|
/openbmc/openbmc/meta-openembedded/meta-webserver/recipes-support/spawn-fcgi/ |
H A D | spawn-fcgi_1.6.5.bb | 13 PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" 14 PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-connectivity/rtorrent/ |
H A D | rtorrent_0.10.0.bb | 13 PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" 15 PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
|