/Linux-v5.4/tools/testing/selftests/net/forwarding/ |
D | mirror_lib.sh | 50 local ip1=$1; shift 54 mirror_test v$h1 $ip1 $ip2 $dev 100 $expect 55 mirror_test v$h2 $ip2 $ip1 $dev 100 $expect 75 local ip1=$1; shift 78 quick_test_span_dir_ips "$dev" "$direction" "$ip1" "$ip2" 81 mirror_test v$h1 $ip1 $ip2 $dev 100 10 85 mirror_test v$h2 $ip2 $ip1 $dev 100 10 105 local ip1=$1; shift 112 mirror_test v$h1 $ip1 $ip2 $dev 100 $expect 113 mirror_test v$h2 $ip2 $ip1 $dev 100 $expect
|
D | mirror_gre_lib.sh | 33 local ip1=$1; shift 40 "$backward_type" "$ip1" "$ip2" 54 local ip1=$1; shift 62 "$backward_type" "$ip1" "$ip2" 67 mirror_test v$h1 $ip1 $ip2 $h3 77 10 105 local ip1=$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_symmetric.sh | 438 local ip1=$1; shift 447 ip neigh add $ip1 lladdr $mac1 nud noarp dev vlan10 \
|
D | vxlan_asymmetric.sh | 395 local ip1=$1; shift 404 ip neigh add $ip1 lladdr $mac1 nud noarp dev vlan10 \
|
/Linux-v5.4/net/netfilter/ipset/ |
D | ip_set_hash_ipportip.c | 50 hash_ipportip4_data_equal(const struct hash_ipportip4_elem *ip1, in hash_ipportip4_data_equal() argument 54 return ip1->ip == ip2->ip && in hash_ipportip4_data_equal() 55 ip1->ip2 == ip2->ip2 && in hash_ipportip4_data_equal() 56 ip1->port == ip2->port && in hash_ipportip4_data_equal() 57 ip1->proto == ip2->proto; in hash_ipportip4_data_equal() 214 hash_ipportip6_data_equal(const struct hash_ipportip6_elem *ip1, in hash_ipportip6_data_equal() argument 218 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && in hash_ipportip6_data_equal() 219 ipv6_addr_equal(&ip1->ip2.in6, &ip2->ip2.in6) && in hash_ipportip6_data_equal() 220 ip1->port == ip2->port && in hash_ipportip6_data_equal() 221 ip1->proto == ip2->proto; in hash_ipportip6_data_equal()
|
D | ip_set_hash_ipportnet.c | 63 hash_ipportnet4_data_equal(const struct hash_ipportnet4_elem *ip1, in hash_ipportnet4_data_equal() argument 67 return ip1->ip == ip2->ip && in hash_ipportnet4_data_equal() 68 ip1->ip2 == ip2->ip2 && in hash_ipportnet4_data_equal() 69 ip1->cidr == ip2->cidr && in hash_ipportnet4_data_equal() 70 ip1->port == ip2->port && in hash_ipportnet4_data_equal() 71 ip1->proto == ip2->proto; in hash_ipportnet4_data_equal() 312 hash_ipportnet6_data_equal(const struct hash_ipportnet6_elem *ip1, in hash_ipportnet6_data_equal() argument 316 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && in hash_ipportnet6_data_equal() 317 ipv6_addr_equal(&ip1->ip2.in6, &ip2->ip2.in6) && in hash_ipportnet6_data_equal() 318 ip1->cidr == ip2->cidr && in hash_ipportnet6_data_equal() [all …]
|
D | ip_set_hash_netiface.c | 66 hash_netiface4_data_equal(const struct hash_netiface4_elem *ip1, in hash_netiface4_data_equal() argument 70 return ip1->ip == ip2->ip && in hash_netiface4_data_equal() 71 ip1->cidr == ip2->cidr && in hash_netiface4_data_equal() 73 ip1->physdev == ip2->physdev && in hash_netiface4_data_equal() 74 strcmp(ip1->iface, ip2->iface) == 0; in hash_netiface4_data_equal() 289 hash_netiface6_data_equal(const struct hash_netiface6_elem *ip1, in hash_netiface6_data_equal() argument 293 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && in hash_netiface6_data_equal() 294 ip1->cidr == ip2->cidr && in hash_netiface6_data_equal() 296 ip1->physdev == ip2->physdev && in hash_netiface6_data_equal() 297 strcmp(ip1->iface, ip2->iface) == 0; in hash_netiface6_data_equal()
|
D | ip_set_hash_ipport.c | 51 hash_ipport4_data_equal(const struct hash_ipport4_elem *ip1, in hash_ipport4_data_equal() argument 55 return ip1->ip == ip2->ip && in hash_ipport4_data_equal() 56 ip1->port == ip2->port && in hash_ipport4_data_equal() 57 ip1->proto == ip2->proto; in hash_ipport4_data_equal() 206 hash_ipport6_data_equal(const struct hash_ipport6_elem *ip1, in hash_ipport6_data_equal() argument 210 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && in hash_ipport6_data_equal() 211 ip1->port == ip2->port && in hash_ipport6_data_equal() 212 ip1->proto == ip2->proto; in hash_ipport6_data_equal()
|
D | ip_set_hash_netport.c | 61 hash_netport4_data_equal(const struct hash_netport4_elem *ip1, in hash_netport4_data_equal() argument 65 return ip1->ip == ip2->ip && in hash_netport4_data_equal() 66 ip1->port == ip2->port && in hash_netport4_data_equal() 67 ip1->proto == ip2->proto && in hash_netport4_data_equal() 68 ip1->cidr == ip2->cidr; in hash_netport4_data_equal() 274 hash_netport6_data_equal(const struct hash_netport6_elem *ip1, in hash_netport6_data_equal() argument 278 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && in hash_netport6_data_equal() 279 ip1->port == ip2->port && in hash_netport6_data_equal() 280 ip1->proto == ip2->proto && in hash_netport6_data_equal() 281 ip1->cidr == ip2->cidr; in hash_netport6_data_equal()
|
D | ip_set_hash_ipmark.c | 46 hash_ipmark4_data_equal(const struct hash_ipmark4_elem *ip1, in hash_ipmark4_data_equal() argument 50 return ip1->ip == ip2->ip && in hash_ipmark4_data_equal() 51 ip1->mark == ip2->mark; in hash_ipmark4_data_equal() 169 hash_ipmark6_data_equal(const struct hash_ipmark6_elem *ip1, in hash_ipmark6_data_equal() argument 173 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && in hash_ipmark6_data_equal() 174 ip1->mark == ip2->mark; in hash_ipmark6_data_equal()
|
D | ip_set_hash_netportnet.c | 60 hash_netportnet4_data_equal(const struct hash_netportnet4_elem *ip1, in hash_netportnet4_data_equal() argument 64 return ip1->ipcmp == ip2->ipcmp && in hash_netportnet4_data_equal() 65 ip1->ccmp == ip2->ccmp && in hash_netportnet4_data_equal() 66 ip1->port == ip2->port && in hash_netportnet4_data_equal() 67 ip1->proto == ip2->proto; in hash_netportnet4_data_equal() 335 hash_netportnet6_data_equal(const struct hash_netportnet6_elem *ip1, in hash_netportnet6_data_equal() argument 339 return ipv6_addr_equal(&ip1->ip[0].in6, &ip2->ip[0].in6) && in hash_netportnet6_data_equal() 340 ipv6_addr_equal(&ip1->ip[1].in6, &ip2->ip[1].in6) && in hash_netportnet6_data_equal() 341 ip1->ccmp == ip2->ccmp && in hash_netportnet6_data_equal() 342 ip1->port == ip2->port && in hash_netportnet6_data_equal() [all …]
|
D | ip_set_hash_net.c | 51 hash_net4_data_equal(const struct hash_net4_elem *ip1, in hash_net4_data_equal() argument 55 return ip1->ip == ip2->ip && in hash_net4_data_equal() 56 ip1->cidr == ip2->cidr; in hash_net4_data_equal() 216 hash_net6_data_equal(const struct hash_net6_elem *ip1, in hash_net6_data_equal() argument 220 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && in hash_net6_data_equal() 221 ip1->cidr == ip2->cidr; in hash_net6_data_equal()
|
D | ip_set_hash_netnet.c | 56 hash_netnet4_data_equal(const struct hash_netnet4_elem *ip1, in hash_netnet4_data_equal() argument 60 return ip1->ipcmp == ip2->ipcmp && in hash_netnet4_data_equal() 61 ip1->ccmp == ip2->ccmp; in hash_netnet4_data_equal() 286 hash_netnet6_data_equal(const struct hash_netnet6_elem *ip1, in hash_netnet6_data_equal() argument 290 return ipv6_addr_equal(&ip1->ip[0].in6, &ip2->ip[0].in6) && in hash_netnet6_data_equal() 291 ipv6_addr_equal(&ip1->ip[1].in6, &ip2->ip[1].in6) && in hash_netnet6_data_equal() 292 ip1->ccmp == ip2->ccmp; in hash_netnet6_data_equal()
|
D | ip_set_hash_ip.c | 175 hash_ip6_data_equal(const struct hash_ip6_elem *ip1, in hash_ip6_data_equal() argument 179 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6); in hash_ip6_data_equal()
|
/Linux-v5.4/fs/xfs/ |
D | xfs_inode.c | 542 struct xfs_inode *ip1, in xfs_lock_two_inodes() argument 563 ASSERT(ip0->i_ino != ip1->i_ino); in xfs_lock_two_inodes() 565 if (ip0->i_ino > ip1->i_ino) { in xfs_lock_two_inodes() 567 ip0 = ip1; in xfs_lock_two_inodes() 568 ip1 = temp; in xfs_lock_two_inodes() 584 if (!xfs_ilock_nowait(ip1, xfs_lock_inumorder(ip1_mode, 1))) { in xfs_lock_two_inodes() 591 xfs_ilock(ip1, xfs_lock_inumorder(ip1_mode, 1)); in xfs_lock_two_inodes() 2983 struct xfs_inode *ip1, /* in: inode of old entry */ in xfs_sort_for_rename() argument 3004 i_tab[i++] = ip1; in xfs_sort_for_rename() 3050 struct xfs_inode *ip1, in xfs_cross_rename() argument [all …]
|
D | xfs_inode.h | 449 struct xfs_inode *ip1, uint ip1_mode);
|