Home
last modified time | relevance | path

Searched refs:ip2 (Results 1 – 19 of 19) sorted by relevance

/linux/net/netfilter/ipset/
A Dip_set_hash_ipportnet.c54 __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 Dip_set_hash_ipportip.c44 __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 Dip_set_hash_netportnet.c65 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 Dip_set_hash_netnet.c58 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 Dip_set_hash_netiface.c70 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 Dip_set_hash_netport.c63 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 Dip_set_hash_ipport.c53 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 Dip_set_hash_ipmark.c48 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 Dip_set_hash_net.c53 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 Dip_set_hash_ip.c184 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 Dnetns.sh54 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 Dmirror_lib.sh64 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 Dmirror_gre_lib.sh34 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 Dvxlan_asymmetric.sh406 local ip2=$1; shift
416 ip neigh add $ip2 lladdr $mac2 nud noarp dev vlan20 \
A Dvxlan_symmetric.sh449 local ip2=$1; shift
459 ip neigh add $ip2 lladdr $mac2 nud noarp dev vlan20 \
/linux/fs/xfs/
A Dxfs_inode.c2910 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 Dxfs_inode.h517 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 Dallowedips.c26 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 Dzstd_fast.c92 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()

Completed in 32 milliseconds