/linux/tools/testing/selftests/wireguard/ |
A D | netns.sh | 52 ip1 link del dev wg0 53 ip1 link del dev wg1 254 ip1 addr flush dev wg0 286 ip1 link del wg0 313 ip1 link set vethc up 388 ip1 link del wg0 419 ip1 link set veth1 up 471 ip1 link del dummy0 505 ip1 link del veth1 506 ip1 link del veth3 [all …]
|
/linux/tools/testing/selftests/net/forwarding/ |
A D | mirror_lib.sh | 63 local ip1=$1; shift 67 mirror_test v$h1 $ip1 $ip2 $dev 100 $expect 68 mirror_test v$h2 $ip2 $ip1 $dev 100 $expect 88 local ip1=$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 119 local ip1=$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 | 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
|
A D | vxlan_asymmetric.sh | 405 local ip1=$1; shift 414 ip neigh add $ip1 lladdr $mac1 nud noarp dev vlan10 \
|
A D | vxlan_symmetric.sh | 448 local ip1=$1; shift 457 ip neigh add $ip1 lladdr $mac1 nud noarp dev vlan10 \
|
/linux/net/netfilter/ipset/ |
A D | ip_set_hash_netiface.c | 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() 77 (ip1->wildcard ? 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() 311 ip1->cidr == ip2->cidr && in hash_netiface6_data_equal() 313 ip1->physdev == ip2->physdev && in hash_netiface6_data_equal() 314 (ip1->wildcard ? in hash_netiface6_data_equal() 315 strncmp(ip1->iface, ip2->iface, strlen(ip1->iface)) == 0 : in hash_netiface6_data_equal() [all …]
|
A D | ip_set_hash_ipportip.c | 51 hash_ipportip4_data_equal(const struct hash_ipportip4_elem *ip1, 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() 218 hash_ipportip6_data_equal(const struct hash_ipportip6_elem *ip1, in hash_ipportip6_data_equal() argument 222 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && in hash_ipportip6_data_equal() 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() 225 ip1->proto == ip2->proto; in hash_ipportip6_data_equal()
|
A D | ip_set_hash_ipportnet.c | 64 hash_ipportnet4_data_equal(const struct hash_ipportnet4_elem *ip1, 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() 320 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && in hash_ipportnet6_data_equal() 321 ipv6_addr_equal(&ip1->ip2.in6, &ip2->ip2.in6) && in hash_ipportnet6_data_equal() 322 ip1->cidr == ip2->cidr && in hash_ipportnet6_data_equal() 323 ip1->port == ip2->port && in hash_ipportnet6_data_equal() [all …]
|
A D | ip_set_hash_netport.c | 62 hash_netport4_data_equal(const struct hash_netport4_elem *ip1, 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() 284 hash_netport6_data_equal(const struct hash_netport6_elem *ip1, 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 | 52 hash_ipport4_data_equal(const struct hash_ipport4_elem *ip1, 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() 210 hash_ipport6_data_equal(const struct hash_ipport6_elem *ip1, 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_netportnet.c | 61 hash_netportnet4_data_equal(const struct hash_netportnet4_elem *ip1, 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() 350 hash_netportnet6_data_equal(const struct hash_netportnet6_elem *ip1, in hash_netportnet6_data_equal() argument 354 return ipv6_addr_equal(&ip1->ip[0].in6, &ip2->ip[0].in6) && in hash_netportnet6_data_equal() 355 ipv6_addr_equal(&ip1->ip[1].in6, &ip2->ip[1].in6) && in hash_netportnet6_data_equal() 356 ip1->ccmp == ip2->ccmp && in hash_netportnet6_data_equal() 357 ip1->port == ip2->port && in hash_netportnet6_data_equal() [all …]
|
A D | ip_set_hash_ipmark.c | 47 hash_ipmark4_data_equal(const struct hash_ipmark4_elem *ip1, 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() 178 hash_ipmark6_data_equal(const struct hash_ipmark6_elem *ip1, 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 | 52 hash_net4_data_equal(const struct hash_net4_elem *ip1, 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() 226 hash_net6_data_equal(const struct hash_net6_elem *ip1, 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_netnet.c | 57 hash_netnet4_data_equal(const struct hash_netnet4_elem *ip1, 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() 301 hash_netnet6_data_equal(const struct hash_netnet6_elem *ip1, in hash_netnet6_data_equal() argument 305 return ipv6_addr_equal(&ip1->ip[0].in6, &ip2->ip[0].in6) && in hash_netnet6_data_equal() 306 ipv6_addr_equal(&ip1->ip[1].in6, &ip2->ip[1].in6) && in hash_netnet6_data_equal() 307 ip1->ccmp == ip2->ccmp; in hash_netnet6_data_equal()
|
A D | ip_set_hash_ip.c | 183 hash_ip6_data_equal(const struct hash_ip6_elem *ip1, in hash_ip6_data_equal() argument 187 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6); in hash_ip6_data_equal()
|
/linux/lib/zstd/compress/ |
A D | zstd_fast.c | 61 const BYTE* ip1; in ZSTD_compressBlock_fast_generic() local 74 ip1 = ip0 + 1; in ZSTD_compressBlock_fast_generic() 90 while (ip1 < ilimit) { /* < instead of <=, because check at ip0+2 */ in ZSTD_compressBlock_fast_generic() 95 size_t const h1 = ZSTD_hashPtr(ip1, hlog, mls); in ZSTD_compressBlock_fast_generic() 96 U32 const val1 = MEM_read32(ip1); in ZSTD_compressBlock_fast_generic() 98 U32 const current1 = (U32)(ip1-base); in ZSTD_compressBlock_fast_generic() 113 assert(ip0 + 1 == ip1); in ZSTD_compressBlock_fast_generic() 129 ip0 = ip1; in ZSTD_compressBlock_fast_generic() 136 ip1 += step; in ZSTD_compressBlock_fast_generic() 174 ip1 = ip0 + 1; in ZSTD_compressBlock_fast_generic()
|
/linux/fs/xfs/ |
A D | xfs_inode.c | 564 struct xfs_inode *ip1, in xfs_lock_two_inodes() argument 576 ASSERT(ip0->i_ino != ip1->i_ino); in xfs_lock_two_inodes() 578 if (ip0->i_ino > ip1->i_ino) { in xfs_lock_two_inodes() 579 swap(ip0, ip1); in xfs_lock_two_inodes() 2909 i_tab[i++] = ip1; in xfs_sort_for_rename() 2955 struct xfs_inode *ip1, in xfs_cross_rename() argument 3008 if (S_ISDIR(VFS_I(ip1)->i_mode)) { in xfs_cross_rename() 3792 struct xfs_inode *ip1, in xfs_ilock2_io_mmap() argument 3808 struct xfs_inode *ip1, in xfs_iunlock2_io_mmap() argument 3814 if (ip1 != ip2) in xfs_iunlock2_io_mmap() [all …]
|
A D | xfs_inode.h | 444 struct xfs_inode *ip1, uint ip1_mode); 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 48 wg_allowedips_read_node(node, ip1, &cidr1); in print_node() 49 printk(fmt_declaration, ip1, cidr1, style, color); in print_node() 52 printk(fmt_connection, ip1, cidr1, ip2, cidr2); in print_node() 56 printk(fmt_connection, ip1, cidr1, ip2, cidr2); in print_node()
|