/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/ |
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 [all...] |
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 [all...] |
H A D | router_multicast.sh | 280 tc filter add dev $h2 ingress protocol ipv6 pref 1 handle 122 flower \ 282 tc filter add dev $h3 ingress protocol ipv6 pref 1 handle 133 flower \ 306 tc filter del dev $h3 ingress protocol ipv6 pref 1 handle 133 flower 307 tc filter del dev $h2 ingress protocol ipv6 pref 1 handle 122 flower 368 tc filter add dev $h1 ingress protocol ipv6 pref 1 handle 1 flower \ 370 tc filter add dev $h2 ingress protocol ipv6 pref 1 handle 1 flower \ 372 tc filter add dev $h3 ingress protocol ipv6 pref 1 handle 1 flower \ 374 tc filter add dev $rp3 ingress protocol ipv6 pref 1 handle 1 flower \ 401 tc filter del dev $rp3 ingress protocol ipv6 pref 1 handle 1 flower 402 tc filter del dev $h3 ingress protocol ipv6 pre [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
H A D | ip_defrag.c | 135 int offset, bool ipv6) in send_fragment() 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() 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() 134 send_fragment(int fd_raw, struct sockaddr *addr, socklen_t alen, int offset, bool ipv6) send_fragment() argument 203 send_udp_frags(int fd_raw, struct sockaddr *addr, socklen_t alen, bool ipv6) send_udp_frags() argument 334 run_test(struct sockaddr *addr, socklen_t alen, bool ipv6) run_test() argument [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A D | ip_defrag.c | 135 int offset, bool ipv6) in send_fragment() 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() 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() 134 send_fragment(int fd_raw, struct sockaddr *addr, socklen_t alen, int offset, bool ipv6) send_fragment() argument 203 send_udp_frags(int fd_raw, struct sockaddr *addr, socklen_t alen, bool ipv6) send_udp_frags() argument 334 run_test(struct sockaddr *addr, socklen_t alen, bool ipv6) run_test() argument [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | test_tcp_check_syncookie_kern.c | 12 #include <linux/ipv6.h> 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 | 11 #include <linux/ipv6.h> 34 set_ip(tuple->ipv6.saddr, &ip6h->daddr); in set_tuple() 35 set_ip(tuple->ipv6.daddr, &ip6h->saddr); in set_tuple() 36 tuple->ipv6.sport = tcph->dest; in set_tuple() 37 tuple->ipv6.dport = tcph->source; in set_tuple() 46 size_t tuple_len = sizeof(tuple.ipv6); in is_allowed_peer_cg()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | test_tcp_check_syncookie_kern.c | 12 #include <linux/ipv6.h> 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 | 11 #include <linux/ipv6.h> 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()
|
H A D | test_migrate_reuseport.c | 18 #include <linux/ipv6.h> 69 struct ipv6hdr *ipv6 = (struct ipv6hdr *)(eth + 1); in drop_ack() local 71 if (ipv6 + 1 > data_end) in drop_ack() 74 if (ipv6->nexthdr != IPPROTO_TCP) in drop_ack() 77 tcp = (struct tcphdr *)(ipv6 + 1); in drop_ack()
|
/third_party/ltp/testcases/network/stress/multicast/grp-operation/ |
H A D | mcast-lib.sh | 31 SYSCTL_ALL_FORCE_MLD_VERSION=$(sysctl -b net.ipv6.conf.all.force_mld_version) 32 SYSCTL_FORCE_MLD_VERSION=$(sysctl -b net.ipv6.conf.$(tst_iface).force_mld_version) 33 SYSCTL_MLD_MAX_MSF=$(sysctl -b net.ipv6.mld_max_msf) 35 ROD sysctl -q -w net.ipv6.conf.all.force_mld_version=0 36 ROD sysctl -q -w net.ipv6.conf.$(tst_iface).force_mld_version=0 37 ROD sysctl -q -w net.ipv6.mld_max_msf=$default_mld_max_msf 77 [ -n "$SYSCTL_ALL_FORCE_MLD_VERSION" ] && sysctl -q -w net.ipv6.conf.all.force_mld_version=$SYSCTL_ALL_FORCE_MLD_VERSION 78 [ -n "$SYSCTL_FORCE_MLD_VERSION" ] && sysctl -q -w net.ipv6.conf.$(tst_iface).force_mld_version=$SYSCTL_FORCE_MLD_VERSION 79 [ -n "$SYSCTL_MLD_MAX_MSF" ] && sysctl -q -w net.ipv6.mld_max_msf=$SYSCTL_MLD_MAX_MSF
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/net_helper/ |
H A D | ipv6_address.h | 33 * @param ipv6 - IPv6 address. [input] 36 static bool IsValidIPv6(const std::string &ipv6); 40 * @param ipv6 - IPv6 address. [input] 66 * @param ipv6 - IPv6 abbreviation, string type such as fe80::0/64. [input] 70 static Ipv6Address Create(std::string ipv6); 111 * @param ipv6 - string of IPv6 address. [input] 116 static Ipv6Address Create(std::string ipv6, const size_t prefixLength); 121 * @param ipv6 - string of IPv6 address. [input] 126 static Ipv6Address Create(std::string ipv6, const std::string &mask); 186 * @param ipv6 [all...] |
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | addrlabel.c | 10 * YOSHIFUJI Hideaki @ USAGI/WIDE Project <yoshfuji@linux-ipv6.org> 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 in ip6addrlbl_del() [all...] |
H A D | reassembly.c | 38 #include <linux/ipv6.h> 51 #include <net/ipv6.h> 99 q = inet_frag_find(net->ipv6.fqdir, &key); in fq_find() 461 table[0].data = &net->ipv6.fqdir->high_thresh; in ip6_frags_ns_sysctl_register() 462 table[0].extra1 = &net->ipv6.fqdir->low_thresh; in ip6_frags_ns_sysctl_register() 463 table[1].data = &net->ipv6.fqdir->low_thresh; in ip6_frags_ns_sysctl_register() 464 table[1].extra2 = &net->ipv6.fqdir->high_thresh; in ip6_frags_ns_sysctl_register() 465 table[2].data = &net->ipv6.fqdir->timeout; in ip6_frags_ns_sysctl_register() 467 hdr = register_net_sysctl(net, "net/ipv6", table); in ip6_frags_ns_sysctl_register() 471 net->ipv6 in ip6_frags_ns_sysctl_register() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
H A D | port_sel.c | 112 u8 *ipv6; in mlx5_lag_set_definer_inner() local 151 ipv6 = MLX5_ADDR_OF(match_definer_format_31, match_definer_mask, in mlx5_lag_set_definer_inner() 153 memset(ipv6, 0xff, 16); in mlx5_lag_set_definer_inner() 154 ipv6 = MLX5_ADDR_OF(match_definer_format_31, match_definer_mask, in mlx5_lag_set_definer_inner() 156 memset(ipv6, 0xff, 16); in mlx5_lag_set_definer_inner() 160 ipv6 = MLX5_ADDR_OF(match_definer_format_32, match_definer_mask, in mlx5_lag_set_definer_inner() 162 memset(ipv6, 0xff, 16); in mlx5_lag_set_definer_inner() 163 ipv6 = MLX5_ADDR_OF(match_definer_format_32, match_definer_mask, in mlx5_lag_set_definer_inner() 165 memset(ipv6, 0xff, 16); in mlx5_lag_set_definer_inner() 198 u8 *ipv6; in mlx5_lag_set_definer() local [all...] |
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | addrlabel.c | 10 * YOSHIFUJI Hideaki @ USAGI/WIDE Project <yoshfuji@linux-ipv6.org> 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 in ip6addrlbl_del() [all...] |
H A D | reassembly.c | 38 #include <linux/ipv6.h> 51 #include <net/ipv6.h> 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() 473 hdr = register_net_sysctl_sz(net, "net/ipv6", table, in ip6_frags_ns_sysctl_register() 478 net->ipv6 in ip6_frags_ns_sysctl_register() [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
H A D | uverbs_std_types_flow_action.c | 130 const struct ib_uverbs_flow_ipv6_filter ipv6 = { in parse_esp_ip() local 142 struct ib_uverbs_flow_ipv6_filter ipv6; in parse_esp_ip() member 153 sizeof(ipv6.reserved) != sizeof(ipv6)); in parse_esp_ip() 171 if (len > sizeof(user_val.ipv6) && in parse_esp_ip() 172 !ib_is_buffer_cleared(val_ptr + sizeof(user_val.ipv6), in parse_esp_ip() 173 len - sizeof(user_val.ipv6))) in parse_esp_ip() 176 val_len = min_t(size_t, len, sizeof(user_val.ipv6)); in parse_esp_ip() 177 ret = copy_from_user(&user_val.ipv6, val_ptr, in parse_esp_ip() 182 user_pmask = &ipv6; in parse_esp_ip() [all...] |
/kernel/linux/linux-6.6/drivers/net/ipa/ |
H A D | ipa_table.c | 148 ipa_table_mem(struct ipa *ipa, bool filter, bool hashed, bool ipv6) in ipa_table_mem() argument 152 mem_id = filter ? hashed ? ipv6 ? IPA_MEM_V6_FILTER_HASHED in ipa_table_mem() 154 : ipv6 ? IPA_MEM_V6_FILTER in ipa_table_mem() 156 : hashed ? ipv6 ? IPA_MEM_V6_ROUTE_HASHED in ipa_table_mem() 158 : ipv6 ? IPA_MEM_V6_ROUTE in ipa_table_mem() 203 bool hashed, bool ipv6, u16 first, u16 count) in ipa_table_reset_add() 212 mem = ipa_table_mem(ipa, filter, hashed, ipv6); in ipa_table_reset_add() 231 ipa_filter_reset_table(struct ipa *ipa, bool hashed, bool ipv6, bool modem) in ipa_filter_reset_table() argument 256 ipa_table_reset_add(trans, true, hashed, ipv6, endpoint_id, 1); in ipa_filter_reset_table() 385 static void ipa_table_init_add(struct gsi_trans *trans, bool filter, bool ipv6) in ipa_table_init_add() argument 202 ipa_table_reset_add(struct gsi_trans *trans, bool filter, bool hashed, bool ipv6, u16 first, u16 count) ipa_table_reset_add() argument [all...] |
/third_party/curl/tests/libtest/ |
H A D | libprereq.c | 28 int ipv6; member 39 if(prereq_cb->ipv6) { in prereq_callback() 61 prereq_cb.ipv6 = 0; in test() 67 if(strstr(URL, "#ipv6")) { in test() 69 prereq_cb.ipv6 = 1; in test()
|
/foundation/communication/netmanager_base/services/netmanagernative/bpf/include/netfirewall/ |
H A D | netfirewall_match.h | 72 struct in6_addr tmp = tuple->ipv6.saddr;
in swap_tuple_addrs() 73 tuple->ipv6.saddr = tuple->ipv6.daddr;
in swap_tuple_addrs() 74 tuple->ipv6.daddr = tmp;
in swap_tuple_addrs() 98 load_l3_v6_addrs(skb, l3_nhoff, &(tuple->ipv6.saddr), &(tuple->ipv6.daddr));
in get_match_tuple() 186 memcpy(&(lpm_key.data), &(tuple->ipv6.saddr), sizeof(lpm_key.data));
in match_addrs() 193 memcpy(&(lpm_key.data), &(tuple->ipv6.daddr), sizeof(lpm_key.data));
in match_addrs() 365 .data = tuple->ipv6.saddr,
in MatchDomain()
|
/third_party/lwip/src/ |
H A D | Filelists.mk | 65 CORE6FILES=$(LWIPDIR)/core/ipv6/dhcp6.c \ 66 $(LWIPDIR)/core/ipv6/ethip6.c \ 67 $(LWIPDIR)/core/ipv6/icmp6.c \ 68 $(LWIPDIR)/core/ipv6/inet6.c \ 69 $(LWIPDIR)/core/ipv6/ip6.c \ 70 $(LWIPDIR)/core/ipv6/ip6_addr.c \ 71 $(LWIPDIR)/core/ipv6/ip6_frag.c \ 72 $(LWIPDIR)/core/ipv6/mld6.c \ 73 $(LWIPDIR)/core/ipv6/nd6.c
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | tls.c | 35 #include <net/ipv6.h> 43 MLX5_SET(tls_flow, flow, ipv6, 0); in mlx5e_tls_set_ipv4_flow() 55 MLX5_SET(tls_flow, flow, ipv6, 1); in mlx5e_tls_set_ipv6_flow() 56 memcpy(MLX5_ADDR_OF(tls_flow, flow, dst_ipv4_dst_ipv6.ipv6_layout.ipv6), in mlx5e_tls_set_ipv6_flow() 57 &sk->sk_v6_daddr, MLX5_FLD_SZ_BYTES(ipv6_layout, ipv6)); in mlx5e_tls_set_ipv6_flow() 58 memcpy(MLX5_ADDR_OF(tls_flow, flow, src_ipv4_src_ipv6.ipv6_layout.ipv6), in mlx5e_tls_set_ipv6_flow() 59 &np->saddr, MLX5_FLD_SZ_BYTES(ipv6_layout, ipv6)); in mlx5e_tls_set_ipv6_flow()
|
/third_party/node/lib/internal/dns/ |
H A D | utils.js | 164 setLocalAddress(ipv4, ipv6) { 167 if (ipv6 !== undefined) { 168 validateString(ipv6, 'ipv6'); 171 this._handle.setLocalAddress(ipv4, ipv6); 174 this[kSnapshotStates].localAddress = { ipv4, ipv6 }; 191 const { ipv4, ipv6 } = localAddress; 192 this._handle.setLocalAddress(ipv4, ipv6);
|
/kernel/linux/linux-5.10/net/openvswitch/ |
H A D | flow.c | 22 #include <linux/ipv6.h> 33 #include <net/ipv6.h> 260 key->ipv6.label = *(__be32 *)nh & htonl(IPV6_FLOWINFO_FLOWLABEL); in parse_ipv6hdr() 261 key->ipv6.addr.src = nh->saddr; in parse_ipv6hdr() 262 key->ipv6.addr.dst = nh->daddr; in parse_ipv6hdr() 415 memset(&key->ipv6.nd, 0, sizeof(key->ipv6.nd)); in parse_icmpv6() 434 key->ipv6.nd.target = nd->target; in parse_icmpv6() 452 if (unlikely(!is_zero_ether_addr(key->ipv6.nd.sll))) in parse_icmpv6() 454 ether_addr_copy(key->ipv6 in parse_icmpv6() [all...] |