/linux-6.1.9/net/netfilter/ipset/ |
D | ip_set_hash_ipportnet.c | 54 __be32 ip2; member 65 const struct hash_ipportnet4_elem *ip2, in hash_ipportnet4_data_equal() argument 68 return ip1->ip == ip2->ip && in hash_ipportnet4_data_equal() 69 ip1->ip2 == ip2->ip2 && in hash_ipportnet4_data_equal() 70 ip1->cidr == ip2->cidr && in hash_ipportnet4_data_equal() 71 ip1->port == ip2->port && in hash_ipportnet4_data_equal() 72 ip1->proto == ip2->proto; in hash_ipportnet4_data_equal() 96 elem->ip2 &= ip_set_netmask(cidr); in hash_ipportnet4_data_netmask() 107 nla_put_ipaddr4(skb, IPSET_ATTR_IP2, data->ip2) || in hash_ipportnet4_data_list() 126 next->ip2 = d->ip2; in hash_ipportnet4_data_next() [all …]
|
D | ip_set_hash_ipportip.c | 44 __be32 ip2; member 52 const struct hash_ipportip4_elem *ip2, in hash_ipportip4_data_equal() argument 55 return ip1->ip == ip2->ip && in hash_ipportip4_data_equal() 56 ip1->ip2 == ip2->ip2 && in hash_ipportip4_data_equal() 57 ip1->port == ip2->port && in hash_ipportip4_data_equal() 58 ip1->proto == ip2->proto; in hash_ipportip4_data_equal() 66 nla_put_ipaddr4(skb, IPSET_ATTR_IP2, data->ip2) || in hash_ipportip4_data_list() 103 ip4addrptr(skb, opt->flags & IPSET_DIM_THREE_SRC, &e.ip2); in hash_ipportip4_kadt() 135 ret = ip_set_get_ipaddr4(tb[IPSET_ATTR_IP2], &e.ip2); in hash_ipportip4_uadt() 210 union nf_inet_addr ip2; member [all …]
|
D | ip_set_hash_netportnet.c | 62 const struct hash_netportnet4_elem *ip2, in hash_netportnet4_data_equal() argument 65 return ip1->ipcmp == ip2->ipcmp && in hash_netportnet4_data_equal() 66 ip1->ccmp == ip2->ccmp && in hash_netportnet4_data_equal() 67 ip1->port == ip2->port && in hash_netportnet4_data_equal() 68 ip1->proto == ip2->proto; in hash_netportnet4_data_equal() 195 u32 ip2_from = 0, ip2_to = 0, ip2, i = 0; in hash_netportnet4_uadt() local 301 ip2 = ntohl(h->next.ip[1]); in hash_netportnet4_uadt() 304 ip2 = ip2_from; in hash_netportnet4_uadt() 314 e.ip[1] = htonl(ip2); in hash_netportnet4_uadt() 320 ip2 = hash_netportnet4_range_to_cidr(ip2, in hash_netportnet4_uadt() [all …]
|
D | ip_set_hash_netnet.c | 58 const struct hash_netnet4_elem *ip2, in hash_netnet4_data_equal() argument 61 return ip1->ipcmp == ip2->ipcmp && in hash_netnet4_data_equal() 62 ip1->ccmp == ip2->ccmp; in hash_netnet4_data_equal() 171 u32 ip2 = 0, ip2_from = 0, ip2_to = 0, i = 0; in hash_netnet4_uadt() local 250 ip2 = ntohl(h->next.ip[1]); in hash_netnet4_uadt() 252 ip2 = ip2_from; in hash_netnet4_uadt() 260 e.ip[1] = htonl(ip2); in hash_netnet4_uadt() 265 ip2 = ip_set_range_to_cidr(ip2, ip2_to, &e.cidr[1]); in hash_netnet4_uadt() 271 } while (ip2++ < ip2_to); in hash_netnet4_uadt() 272 ip2 = ip2_from; in hash_netnet4_uadt() [all …]
|
D | ip_set_hash_netiface.c | 70 const struct hash_netiface4_elem *ip2, in hash_netiface4_data_equal() argument 73 return ip1->ip == ip2->ip && in hash_netiface4_data_equal() 74 ip1->cidr == ip2->cidr && in hash_netiface4_data_equal() 76 ip1->physdev == ip2->physdev && in hash_netiface4_data_equal() 78 strncmp(ip1->iface, ip2->iface, strlen(ip1->iface)) == 0 : in hash_netiface4_data_equal() 79 strcmp(ip1->iface, ip2->iface) == 0); in hash_netiface4_data_equal() 304 const struct hash_netiface6_elem *ip2, in hash_netiface6_data_equal() argument 307 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && in hash_netiface6_data_equal() 308 ip1->cidr == ip2->cidr && in hash_netiface6_data_equal() 310 ip1->physdev == ip2->physdev && in hash_netiface6_data_equal() [all …]
|
D | ip_set_hash_netport.c | 63 const struct hash_netport4_elem *ip2, in hash_netport4_data_equal() argument 66 return ip1->ip == ip2->ip && in hash_netport4_data_equal() 67 ip1->port == ip2->port && in hash_netport4_data_equal() 68 ip1->proto == ip2->proto && in hash_netport4_data_equal() 69 ip1->cidr == ip2->cidr; in hash_netport4_data_equal() 280 const struct hash_netport6_elem *ip2, in hash_netport6_data_equal() argument 283 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && in hash_netport6_data_equal() 284 ip1->port == ip2->port && in hash_netport6_data_equal() 285 ip1->proto == ip2->proto && in hash_netport6_data_equal() 286 ip1->cidr == ip2->cidr; in hash_netport6_data_equal()
|
D | ip_set_hash_ipport.c | 53 const struct hash_ipport4_elem *ip2, in hash_ipport4_data_equal() argument 56 return ip1->ip == ip2->ip && in hash_ipport4_data_equal() 57 ip1->port == ip2->port && in hash_ipport4_data_equal() 58 ip1->proto == ip2->proto; in hash_ipport4_data_equal() 212 const struct hash_ipport6_elem *ip2, in hash_ipport6_data_equal() argument 215 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && in hash_ipport6_data_equal() 216 ip1->port == ip2->port && in hash_ipport6_data_equal() 217 ip1->proto == ip2->proto; in hash_ipport6_data_equal()
|
D | ip_set_hash_ipmark.c | 48 const struct hash_ipmark4_elem *ip2, in hash_ipmark4_data_equal() argument 51 return ip1->ip == ip2->ip && in hash_ipmark4_data_equal() 52 ip1->mark == ip2->mark; in hash_ipmark4_data_equal() 180 const struct hash_ipmark6_elem *ip2, in hash_ipmark6_data_equal() argument 183 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && in hash_ipmark6_data_equal() 184 ip1->mark == ip2->mark; in hash_ipmark6_data_equal()
|
D | ip_set_hash_net.c | 53 const struct hash_net4_elem *ip2, in hash_net4_data_equal() argument 56 return ip1->ip == ip2->ip && in hash_net4_data_equal() 57 ip1->cidr == ip2->cidr; in hash_net4_data_equal() 224 const struct hash_net6_elem *ip2, in hash_net6_data_equal() argument 227 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && in hash_net6_data_equal() 228 ip1->cidr == ip2->cidr; in hash_net6_data_equal()
|
D | ip_set_hash_ip.c | 182 const struct hash_ip6_elem *ip2, in hash_ip6_data_equal() argument 185 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6); in hash_ip6_data_equal()
|
/linux-6.1.9/tools/testing/selftests/net/forwarding/ |
D | mirror_lib.sh | 64 local ip2=$1; shift 67 mirror_test v$h1 $ip1 $ip2 $dev 100 $expect 68 mirror_test v$h2 $ip2 $ip1 $dev 100 $expect 89 local ip2=$1; shift 91 quick_test_span_dir_ips "$dev" "$direction" "$ip1" "$ip2" 94 mirror_test v$h1 $ip1 $ip2 $dev 100 10 98 mirror_test v$h2 $ip2 $ip1 $dev 100 10 120 local ip2=$1; shift 126 mirror_test v$h1 $ip1 $ip2 $dev 100 $expect 127 mirror_test v$h2 $ip2 $ip1 $dev 100 $expect
|
D | mirror_gre_lib.sh | 34 local ip2=$1; shift 40 "$backward_type" "$ip1" "$ip2" 55 local ip2=$1; shift 62 "$backward_type" "$ip1" "$ip2" 67 mirror_test v$h1 $ip1 $ip2 $h3 77 10 106 local ip2=$1; shift 112 quick_test_span_gre_dir_ips $tundev ingress $ip1 $ip2 116 fail_test_span_gre_dir_ips $tundev ingress $ip1 $ip2 120 quick_test_span_gre_dir_ips $tundev ingress $ip1 $ip2
|
D | vxlan_asymmetric.sh | 406 local ip2=$1; shift 416 ip neigh add $ip2 lladdr $mac2 nud noarp dev vlan20 \
|
D | vxlan_asymmetric_ipv6.sh | 401 local ip2=$1; shift 411 ip neigh add $ip2 lladdr $mac2 nud noarp dev vlan20 \
|
D | vxlan_symmetric.sh | 449 local ip2=$1; shift 459 ip neigh add $ip2 lladdr $mac2 nud noarp dev vlan20 \
|
D | vxlan_symmetric_ipv6.sh | 446 local ip2=$1; shift 456 ip neigh add $ip2 lladdr $mac2 nud noarp dev vlan20 \
|
/linux-6.1.9/tools/testing/selftests/wireguard/ |
D | netns.sh | 42 ip2() { pretty 2 "ip $*"; ip -n $netns2 "$@"; } function 56 ip2 link del dev wg0 57 ip2 link del dev wg1 97 ip2 addr add 192.168.241.2/24 dev wg0 98 ip2 addr add fd00::2/112 dev wg0 114 ip2 link set up dev wg0 167 { read _; read _; read _; read rx_bytes _; read _; read tx_bytes _; } < <(ip2 -stats link show dev … 180 ip2 link set wg0 mtu $big_mtu 184 ip2 link set wg0 mtu $orig_mtu 191 ip2 link set wg0 mtu $big_mtu [all …]
|
/linux-6.1.9/fs/xfs/ |
D | xfs_inode.c | 2537 struct xfs_inode *ip2, /* in: inode of new entry */ in xfs_sort_for_rename() argument 2558 if (ip2) in xfs_sort_for_rename() 2559 i_tab[i++] = ip2; in xfs_sort_for_rename() 2606 struct xfs_inode *ip2, in xfs_cross_rename() argument 2615 error = xfs_dir_replace(tp, dp1, name1, ip2->i_ino, spaceres); in xfs_cross_rename() 2632 if (S_ISDIR(VFS_I(ip2)->i_mode)) { in xfs_cross_rename() 2633 error = xfs_dir_replace(tp, ip2, &xfs_name_dotdot, in xfs_cross_rename() 2663 if (!S_ISDIR(VFS_I(ip2)->i_mode)) { in xfs_cross_rename() 2686 xfs_trans_ichgtime(tp, ip2, ip2_flags); in xfs_cross_rename() 2687 xfs_trans_log_inode(tp, ip2, XFS_ILOG_CORE); in xfs_cross_rename() [all …]
|
D | xfs_inode.h | 575 int xfs_ilock2_io_mmap(struct xfs_inode *ip1, struct xfs_inode *ip2); 576 void xfs_iunlock2_io_mmap(struct xfs_inode *ip1, struct xfs_inode *ip2);
|
/linux-6.1.9/drivers/net/wireguard/selftest/ |
D | allowedips.c | 26 u8 ip1[16], ip2[16], cidr1, cidr2; in print_node() local 51 wg_allowedips_read_node(rcu_dereference_raw(node->bit[0]), ip2, &cidr2); in print_node() 52 printk(fmt_connection, ip1, cidr1, ip2, cidr2); in print_node() 55 wg_allowedips_read_node(rcu_dereference_raw(node->bit[1]), ip2, &cidr2); in print_node() 56 printk(fmt_connection, ip1, cidr1, ip2, cidr2); in print_node()
|
/linux-6.1.9/lib/zstd/compress/ |
D | zstd_fast.c | 92 BYTE const* ip2 = ip0 + 2; in ZSTD_compressBlock_fast_generic() local 101 BYTE const* repMatch = ip2 - offset_1; in ZSTD_compressBlock_fast_generic() 115 if ((offset_1 > 0) & (MEM_read32(repMatch) == MEM_read32(ip2))) { in ZSTD_compressBlock_fast_generic() 116 mLength = (ip2[-1] == repMatch[-1]) ? 1 : 0; in ZSTD_compressBlock_fast_generic() 117 ip0 = ip2 - mLength; in ZSTD_compressBlock_fast_generic()
|