/linux/net/netfilter/ipset/ |
A D | ip_set_hash_ipportnet.c | 54 __be32 ip2; member 68 return ip1->ip == ip2->ip && in hash_ipportnet4_data_equal() 69 ip1->ip2 == ip2->ip2 && in hash_ipportnet4_data_equal() 126 next->ip2 = d->ip2; in hash_ipportnet4_data_next() 275 ip2 = ntohl(h->next.ip2); in hash_ipportnet4_uadt() 278 ip2 = ip2_from; in hash_ipportnet4_uadt() 285 e.ip2 = htonl(ip2); in hash_ipportnet4_uadt() 286 ip2 = ip_set_range_to_cidr(ip2, ip2_to, &cidr); in hash_ipportnet4_uadt() 295 ip2 = ip2_from; in hash_ipportnet4_uadt() 306 union nf_inet_addr ip2; member [all …]
|
A 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() 209 union nf_inet_addr ip2; member 219 const struct hash_ipportip6_elem *ip2, in hash_ipportip6_data_equal() argument 223 ipv6_addr_equal(&ip1->ip2.in6, &ip2->ip2.in6) && in hash_ipportip6_data_equal() 224 ip1->port == ip2->port && in hash_ipportip6_data_equal() [all …]
|
A D | ip_set_hash_netportnet.c | 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() 305 ip2 = ntohl(h->next.ip[1]); in hash_netportnet4_uadt() 308 ip2 = ip2_from; in hash_netportnet4_uadt() 317 e.ip[1] = htonl(ip2); in hash_netportnet4_uadt() 318 ip2 = ip_set_range_to_cidr(ip2, ip2_to, in hash_netportnet4_uadt() 325 } while (ip2++ < ip2_to); in hash_netportnet4_uadt() 326 ip2 = ip2_from; in hash_netportnet4_uadt() [all …]
|
A 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() 264 ip2 = ntohl(h->next.ip[1]); in hash_netnet4_uadt() 266 ip2 = ip2_from; in hash_netnet4_uadt() 273 e.ip[1] = htonl(ip2); in hash_netnet4_uadt() 274 ip2 = ip_set_range_to_cidr(ip2, ip2_to, &e.cidr[1]); in hash_netnet4_uadt() 280 } while (ip2++ < ip2_to); in hash_netnet4_uadt() 281 ip2 = ip2_from; in hash_netnet4_uadt() 302 const struct hash_netnet6_elem *ip2, in hash_netnet6_data_equal() argument [all …]
|
A 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() 307 const struct hash_netiface6_elem *ip2, in hash_netiface6_data_equal() argument 310 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && in hash_netiface6_data_equal() 311 ip1->cidr == ip2->cidr && in hash_netiface6_data_equal() 313 ip1->physdev == ip2->physdev && in hash_netiface6_data_equal() [all …]
|
A 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() 285 const struct hash_netport6_elem *ip2, in hash_netport6_data_equal() argument 288 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && in hash_netport6_data_equal() 289 ip1->port == ip2->port && in hash_netport6_data_equal() 290 ip1->proto == ip2->proto && in hash_netport6_data_equal() 291 ip1->cidr == ip2->cidr; in hash_netport6_data_equal()
|
A 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() 211 const struct hash_ipport6_elem *ip2, in hash_ipport6_data_equal() argument 214 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && in hash_ipport6_data_equal() 215 ip1->port == ip2->port && in hash_ipport6_data_equal() 216 ip1->proto == ip2->proto; in hash_ipport6_data_equal()
|
A 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() 179 const struct hash_ipmark6_elem *ip2, in hash_ipmark6_data_equal() argument 182 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && in hash_ipmark6_data_equal() 183 ip1->mark == ip2->mark; in hash_ipmark6_data_equal()
|
A 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() 227 const struct hash_net6_elem *ip2, in hash_net6_data_equal() argument 230 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && in hash_net6_data_equal() 231 ip1->cidr == ip2->cidr; in hash_net6_data_equal()
|
A D | ip_set_hash_ip.c | 184 const struct hash_ip6_elem *ip2, in hash_ip6_data_equal() argument 187 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6); in hash_ip6_data_equal()
|
/linux/tools/testing/selftests/wireguard/ |
A D | netns.sh | 54 ip2 link del dev wg0 55 ip2 link del dev wg1 255 ip2 addr flush dev wg0 277 ip2 link del wg0 278 ip2 link del wg1 316 ip2 link set veths up 350 ip2 link set wg1 up 352 ip2 link del wg1 389 ip2 link del wg0 420 ip2 link set veth2 up [all …]
|
/linux/tools/testing/selftests/net/forwarding/ |
A 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
|
A 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
|
A D | vxlan_asymmetric.sh | 406 local ip2=$1; shift 416 ip neigh add $ip2 lladdr $mac2 nud noarp dev vlan20 \
|
A D | vxlan_symmetric.sh | 449 local ip2=$1; shift 459 ip neigh add $ip2 lladdr $mac2 nud noarp dev vlan20 \
|
/linux/fs/xfs/ |
A D | xfs_inode.c | 2910 if (ip2) in xfs_sort_for_rename() 2911 i_tab[i++] = ip2; in xfs_sort_for_rename() 2958 struct xfs_inode *ip2, in xfs_cross_rename() argument 2984 if (S_ISDIR(VFS_I(ip2)->i_mode)) { in xfs_cross_rename() 3015 if (!S_ISDIR(VFS_I(ip2)->i_mode)) { in xfs_cross_rename() 3793 struct xfs_inode *ip2) in xfs_ilock2_io_mmap() argument 3801 VFS_I(ip2)->i_mapping); in xfs_ilock2_io_mmap() 3809 struct xfs_inode *ip2) in xfs_iunlock2_io_mmap() argument 3812 VFS_I(ip2)->i_mapping); in xfs_iunlock2_io_mmap() 3813 inode_unlock(VFS_I(ip2)); in xfs_iunlock2_io_mmap() [all …]
|
A D | xfs_inode.h | 517 int xfs_ilock2_io_mmap(struct xfs_inode *ip1, struct xfs_inode *ip2); 518 void xfs_iunlock2_io_mmap(struct xfs_inode *ip1, struct xfs_inode *ip2);
|
/linux/drivers/net/wireguard/selftest/ |
A 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/lib/zstd/compress/ |
A 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()
|