Home
last modified time | relevance | path

Searched refs:ip1 (Results 1 – 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/wireguard/
Dnetns.sh39 ip1() { pretty 1 "ip $*"; ip -n $netns1 "$@"; } function
52 ip1 link del dev wg0
53 ip1 link del dev wg1
92 ip1 addr add 192.168.241.1/24 dev wg0
93 ip1 addr add fd00::1/112 dev wg0
111 ip1 link set up dev wg0
159 [[ $(ip1 link show dev wg0) =~ mtu\ ([0-9]+) ]] && orig_mtu="${BASH_REMATCH[1]}"
169 { read _; read _; read _; read rx_bytes _; read _; read tx_bytes _; } < <(ip1 -stats link show dev …
179 ip1 link set wg0 mtu $big_mtu
183 ip1 link set wg0 mtu $orig_mtu
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
Dmirror_lib.sh63 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
118 local ip1=$1; shift
125 mirror_test v$h1 $ip1 $ip2 $dev 100 $expect
126 mirror_test v$h2 $ip2 $ip1 $dev 100 $expect
Dmirror_gre_lib.sh33 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
Dvxlan_asymmetric.sh405 local ip1=$1; shift
414 ip neigh add $ip1 lladdr $mac1 nud noarp dev vlan10 \
Dvxlan_symmetric.sh448 local ip1=$1; shift
457 ip neigh add $ip1 lladdr $mac1 nud noarp dev vlan10 \
/kernel/linux/linux-5.10/net/netfilter/ipset/
Dip_set_hash_netiface.c68 hash_netiface4_data_equal(const struct hash_netiface4_elem *ip1, in hash_netiface4_data_equal() argument
72 return ip1->ip == ip2->ip && in hash_netiface4_data_equal()
73 ip1->cidr == ip2->cidr && in hash_netiface4_data_equal()
75 ip1->physdev == ip2->physdev && in hash_netiface4_data_equal()
76 (ip1->wildcard ? in hash_netiface4_data_equal()
77 strncmp(ip1->iface, ip2->iface, strlen(ip1->iface)) == 0 : in hash_netiface4_data_equal()
78 strcmp(ip1->iface, ip2->iface) == 0); in hash_netiface4_data_equal()
302 hash_netiface6_data_equal(const struct hash_netiface6_elem *ip1, in hash_netiface6_data_equal() argument
306 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && in hash_netiface6_data_equal()
307 ip1->cidr == ip2->cidr && in hash_netiface6_data_equal()
[all …]
Dip_set_hash_ipportip.c50 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()
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()
Dip_set_hash_ipportnet.c63 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()
318 hash_ipportnet6_data_equal(const struct hash_ipportnet6_elem *ip1, in hash_ipportnet6_data_equal() argument
322 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && in hash_ipportnet6_data_equal()
323 ipv6_addr_equal(&ip1->ip2.in6, &ip2->ip2.in6) && in hash_ipportnet6_data_equal()
324 ip1->cidr == ip2->cidr && in hash_ipportnet6_data_equal()
[all …]
Dip_set_hash_netport.c61 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()
278 hash_netport6_data_equal(const struct hash_netport6_elem *ip1, in hash_netport6_data_equal() argument
282 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && in hash_netport6_data_equal()
283 ip1->port == ip2->port && in hash_netport6_data_equal()
284 ip1->proto == ip2->proto && in hash_netport6_data_equal()
285 ip1->cidr == ip2->cidr; in hash_netport6_data_equal()
Dip_set_hash_ipport.c51 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()
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()
Dip_set_hash_ipmark.c46 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()
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()
Dip_set_hash_netportnet.c61 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()
352 hash_netportnet6_data_equal(const struct hash_netportnet6_elem *ip1, in hash_netportnet6_data_equal() argument
356 return ipv6_addr_equal(&ip1->ip[0].in6, &ip2->ip[0].in6) && in hash_netportnet6_data_equal()
357 ipv6_addr_equal(&ip1->ip[1].in6, &ip2->ip[1].in6) && in hash_netportnet6_data_equal()
358 ip1->ccmp == ip2->ccmp && in hash_netportnet6_data_equal()
359 ip1->port == ip2->port && in hash_netportnet6_data_equal()
[all …]
Dip_set_hash_net.c51 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()
222 hash_net6_data_equal(const struct hash_net6_elem *ip1, in hash_net6_data_equal() argument
226 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && in hash_net6_data_equal()
227 ip1->cidr == ip2->cidr; in hash_net6_data_equal()
Dip_set_hash_netnet.c56 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()
291 hash_netnet6_data_equal(const struct hash_netnet6_elem *ip1, in hash_netnet6_data_equal() argument
295 return ipv6_addr_equal(&ip1->ip[0].in6, &ip2->ip[0].in6) && in hash_netnet6_data_equal()
296 ipv6_addr_equal(&ip1->ip[1].in6, &ip2->ip[1].in6) && in hash_netnet6_data_equal()
297 ip1->ccmp == ip2->ccmp; in hash_netnet6_data_equal()
Dip_set_hash_ip.c180 hash_ip6_data_equal(const struct hash_ip6_elem *ip1, in hash_ip6_data_equal() argument
184 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6); in hash_ip6_data_equal()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_inode.c548 struct xfs_inode *ip1, in xfs_lock_two_inodes() argument
569 ASSERT(ip0->i_ino != ip1->i_ino); in xfs_lock_two_inodes()
571 if (ip0->i_ino > ip1->i_ino) { in xfs_lock_two_inodes()
573 ip0 = ip1; in xfs_lock_two_inodes()
574 ip1 = temp; in xfs_lock_two_inodes()
590 if (!xfs_ilock_nowait(ip1, xfs_lock_inumorder(ip1_mode, 1))) { in xfs_lock_two_inodes()
597 xfs_ilock(ip1, xfs_lock_inumorder(ip1_mode, 1)); in xfs_lock_two_inodes()
2941 struct xfs_inode *ip1, /* in: inode of old entry */ in xfs_sort_for_rename() argument
2962 i_tab[i++] = ip1; in xfs_sort_for_rename()
3008 struct xfs_inode *ip1, in xfs_cross_rename() argument
[all …]
Dxfs_inode.h405 struct xfs_inode *ip1, uint ip1_mode);
476 int xfs_ilock2_io_mmap(struct xfs_inode *ip1, struct xfs_inode *ip2);
477 void xfs_iunlock2_io_mmap(struct xfs_inode *ip1, struct xfs_inode *ip2);
/kernel/linux/linux-5.10/drivers/net/wireguard/selftest/
Dallowedips.c26 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()