/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, 96 .data = &init_net.ipv6.sysctl.fwmark_reflect, 103 .data = &init_net.ipv6.sysctl.idgen_retries, 110 .data = &init_net.ipv6.sysctl.idgen_delay, 202 .data = &init_net.ipv6.sysctl.ioam6_id, 210 .data = &init_net.ipv6.sysctl.ioam6_id_wide, 281 if (!net->ipv6.sysctl.hdr) in ipv6_sysctl_net_init() 288 if (!net->ipv6.sysctl.route_hdr) in ipv6_sysctl_net_init() [all …]
|
H A D | Makefile | 6 obj-$(CONFIG_IPV6) += ipv6.o 15 ipv6-$(CONFIG_SYSCTL) += sysctl_net_ipv6.o 16 ipv6-$(CONFIG_IPV6_MROUTE) += ip6mr.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 26 ipv6-$(CONFIG_IPV6_SEG6_HMAC) += seg6_hmac.o 27 ipv6-$(CONFIG_IPV6_RPL_LWTUNNEL) += rpl_iptunnel.o [all …]
|
H A D | ip6_fib.c | 196 net->ipv6.rt6_stats->fib_nodes--; in node_free_immediate() 209 net->ipv6.rt6_stats->fib_nodes--; in node_free() 246 net->ipv6.fib6_null_entry); in fib6_alloc_table() 322 rt = net->ipv6.ip6_null_entry; in fib6_rule_lookup() 2371 net->ipv6.rt6_stats = kzalloc(sizeof(*net->ipv6.rt6_stats), GFP_KERNEL); in fib6_net_init() 2372 if (!net->ipv6.rt6_stats) in fib6_net_init() 2382 net->ipv6.fib6_main_tbl = kzalloc(sizeof(*net->ipv6.fib6_main_tbl), in fib6_net_init() 2384 if (!net->ipv6.fib6_main_tbl) in fib6_net_init() 2395 net->ipv6.fib6_local_tbl = kzalloc(sizeof(*net->ipv6.fib6_local_tbl), in fib6_net_init() 2417 kfree(net->ipv6.rt6_stats); in fib6_net_init() [all …]
|
H A D | fib6_rules.c | 69 if (net->ipv6.fib6_has_custom_rules) { 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() 129 dst_hold(&net->ipv6.ip6_null_entry->dst); in fib6_rule_lookup() 130 return &net->ipv6.ip6_null_entry->dst; in fib6_rule_lookup() 213 rt = net->ipv6.ip6_null_entry; in __fib6_rule_action() 218 rt = net->ipv6.ip6_blk_hole_entry; in __fib6_rule_action() 222 rt = net->ipv6.ip6_prohibit_entry; in __fib6_rule_action() 235 if (rt != net->ipv6.ip6_null_entry) { in __fib6_rule_action() 388 net->ipv6.fib6_has_custom_rules = true; in fib6_rule_configure() [all …]
|
H A D | addrlabel.c | 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() 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() 317 INIT_HLIST_HEAD(&net->ipv6.ip6addrlbl_table.head); in ip6addrlbl_net_init() 344 spin_lock(&net->ipv6.ip6addrlbl_table.lock); in ip6addrlbl_net_exit() 349 spin_unlock(&net->ipv6.ip6addrlbl_table.lock); in ip6addrlbl_net_exit() 513 net->ipv6.ip6addrlbl_table.seq, in ip6addrlbl_dump() [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() 57 if (sk->src_ip6[0] != tuple.ipv6.daddr[0] || in connect_v6_prog() 58 sk->src_ip6[1] != tuple.ipv6.daddr[1] || in connect_v6_prog() 59 sk->src_ip6[2] != tuple.ipv6.daddr[2] || in connect_v6_prog() [all …]
|
H A D | xdp_synproxy_kern.c | 316 if (ipv6) in values_get_tcpipopts() 368 struct ipv6hdr *ipv6; member 382 hdr->ipv6 = NULL; in tcp_dissect() 412 hdr->tcp = (void *)hdr->ipv6 + sizeof(*hdr->ipv6); in tcp_dissect() 450 } else if (hdr->ipv6) { in tcp_lookup() 451 __builtin_memcpy(tup.ipv6.saddr, &hdr->ipv6->saddr, sizeof(tup.ipv6.saddr)); in tcp_lookup() 452 __builtin_memcpy(tup.ipv6.daddr, &hdr->ipv6->daddr, sizeof(tup.ipv6.daddr)); in tcp_lookup() 567 swap(hdr->ipv6->saddr, hdr->ipv6->daddr); in tcpv6_gen_synack() 641 if (csum_ipv6_magic(&hdr->ipv6->saddr, &hdr->ipv6->daddr, in syncookie_handle_syn() 738 else if (hdr->ipv6) in syncookie_handle_ack() [all …]
|
H A D | test_cls_redirect.c | 351 struct ipv6hdr *ipv6 = buf_assign(pkt, sizeof(*ipv6), scratch); in pkt_parse_ipv6() local 352 if (ipv6 == NULL) { in pkt_parse_ipv6() 360 return ipv6; in pkt_parse_ipv6() 633 memcpy(&tuple->ipv6.daddr, &ipv6->daddr, in fill_tuple() 635 memcpy(&tuple->ipv6.saddr, &ipv6->saddr, in fill_tuple() 790 if (ipv6 == NULL) { in process_icmpv6() 802 memcpy(&tuple.ipv6.saddr, &ipv6->daddr, sizeof(tuple.ipv6.saddr)); in process_icmpv6() 803 memcpy(&tuple.ipv6.daddr, &ipv6->saddr, sizeof(tuple.ipv6.daddr)); in process_icmpv6() 900 if (ipv6 == NULL) { in process_ipv6() 920 return process_tcp(pkt, ipv6, sizeof(*ipv6), metrics); in process_ipv6() [all …]
|
H A D | test_cls_redirect_dynptr.c | 198 .next = ipv6->nexthdr, in pkt_skip_ipv6_extension_headers() 245 if (bpf_dynptr_read(ipv6, sizeof(*ipv6), dynptr, *offset, 0)) in pkt_parse_ipv6() 248 *offset += sizeof(*ipv6); in pkt_parse_ipv6() 524 memcpy(&tuple->ipv6.daddr, &ipv6->daddr, in fill_tuple() 526 memcpy(&tuple->ipv6.saddr, &ipv6->saddr, in fill_tuple() 656 struct ipv6hdr ipv6; in process_icmpv6() local 692 memcpy(&tuple.ipv6.saddr, &ipv6.daddr, sizeof(tuple.ipv6.saddr)); in process_icmpv6() 693 memcpy(&tuple.ipv6.daddr, &ipv6.saddr, sizeof(tuple.ipv6.daddr)); in process_icmpv6() 791 struct ipv6hdr ipv6; in process_ipv6() local 793 .hdr = &ipv6, in process_ipv6() [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()
|
H A D | cgroup_skb_sk_lookup_kern.c | 33 set_ip(tuple->ipv6.saddr, &ip6h->daddr); in set_tuple() 34 set_ip(tuple->ipv6.daddr, &ip6h->saddr); in set_tuple() 35 tuple->ipv6.sport = tcph->dest; in set_tuple() 36 tuple->ipv6.dport = tcph->source; in set_tuple() 45 size_t tuple_len = sizeof(tuple.ipv6); in is_allowed_peer_cg()
|
/openbmc/openbmc/meta-google/recipes-google/networking/gbmc-bridge/ |
H A D | gbmc-br-dhcp.sh | 49 echo "DHCPv6(gbmcbr): $ipv6/128" >&2 51 update-dhcp-status 'ONGOING' "Received dhcp response ${ipv6}" 53 ip_to_bytes pfx_bytes "$ipv6" 58 echo "Invalid address prefix ${ipv6}" >&2 59 update-dhcp-status 'ONGOING' "Invalid address prefix ${ipv6}" 65 echo "Invalid address ${ipv6}" >&2 66 update-dhcp-status 'ONGOING' "Invalid address ${ipv6}" 71 update-dhcp-status 'ONGOING' "Setting hostname ${fqdn} and ip ${ipv6}"
|
/openbmc/openbmc/meta-facebook/recipes-fb/network-wait-ipv6-ll/ |
H A D | network-wait-ipv6-ll_0.1.bb | 9 file://check-ipv6-ll \ 10 file://network-wait-ipv6-ll@.service \ 15 install -m 0755 ${WORKDIR}/check-ipv6-ll ${D}${libexecdir} 21 NCSI_WAIT_IPV6_LL_INSTFMT="../network-wait-ipv6-ll@.service:${TGT}.wants/network-wait-ipv6-ll@{0}.s… 23 SYSTEMD_SERVICE:${PN} += "network-wait-ipv6-ll@.service"
|
/openbmc/linux/drivers/net/ethernet/mediatek/ |
H A D | mtk_ppe_debugfs.c | 12 bool ipv6; member 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() 146 l2 = &entry->ipv6.l2; in mtk_ppe_debugfs_foe_show() [all …]
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | ip_defrag.c | 135 int offset, bool ipv6) in send_fragment() argument 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() 278 send_fragment(fd_raw, addr, alen, offset, ipv6); in send_udp_frags() 302 if (ipv6) { in send_udp_frags() 326 send_fragment(fd_raw, addr, alen, offset, ipv6); in send_udp_frags() 376 send_udp_frags(fd_tx_raw, addr, alen, ipv6); in run_test() [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 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 438 sysctl_restore net.ipv6.neigh.default.gc_thresh3 439 sysctl_restore net.ipv6.neigh.default.gc_thresh2 440 sysctl_restore net.ipv6.neigh.default.gc_thresh1 452 sysctl_set net.ipv6.fib_multipath_hash_policy 3 [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 347 sysctl_restore net.ipv6.neigh.default.gc_thresh3 348 sysctl_restore net.ipv6.neigh.default.gc_thresh2 349 sysctl_restore net.ipv6.neigh.default.gc_thresh1 [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/openbmc/meta-openembedded/meta-oe/recipes-benchmark/iperf2/ |
H A D | iperf2_2.0.13.bb | 20 PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}" 21 PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
|
/openbmc/webui-vue/src/views/Settings/Network/ |
H A D | TableIpv6.vue | 2 <page-section :section-title="$t('pageNetwork.ipv6')"> 204 (ipv6) => 205 ipv6.AddressOrigin === 'LinkLocal' || 206 ipv6.AddressOrigin === 'Static' || 207 ipv6.AddressOrigin === 'SLAAC' || 208 ipv6.AddressOrigin === 'DHCPv6', 212 Address: ipv6.Address, 213 PrefixLength: ipv6.PrefixLength, 214 AddressOrigin: ipv6.AddressOrigin, 233 const { Address, PrefixLength } = ipv6; [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/poky/meta/recipes-extended/libtirpc/ |
H A D | libtirpc_1.3.4.bb | 13 file://ipv6.patch \ 24 ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} \ 26 PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6"
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-connectivity/rtorrent/ |
H A D | rtorrent_git.bb | 15 PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" 17 PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
|