Home
last modified time | relevance | path

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

/linux-2.6.39/net/netfilter/ipset/
Dip_set_hash_ipportnet.c64 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()
304 hash_ipportnet6_data_equal(const struct hash_ipportnet6_elem *ip1, in hash_ipportnet6_data_equal() argument
307 return ipv6_addr_cmp(&ip1->ip.in6, &ip2->ip.in6) == 0 && in hash_ipportnet6_data_equal()
308 ipv6_addr_cmp(&ip1->ip2.in6, &ip2->ip2.in6) == 0 && in hash_ipportnet6_data_equal()
309 ip1->cidr == ip2->cidr && in hash_ipportnet6_data_equal()
[all …]
Dip_set_hash_ipportip.c64 hash_ipportip4_data_equal(const struct hash_ipportip4_elem *ip1, in hash_ipportip4_data_equal() argument
67 return ip1->ip == ip2->ip && in hash_ipportip4_data_equal()
68 ip1->ip2 == ip2->ip2 && in hash_ipportip4_data_equal()
69 ip1->port == ip2->port && in hash_ipportip4_data_equal()
70 ip1->proto == ip2->proto; in hash_ipportip4_data_equal()
276 hash_ipportip6_data_equal(const struct hash_ipportip6_elem *ip1, in hash_ipportip6_data_equal() argument
279 return ipv6_addr_cmp(&ip1->ip.in6, &ip2->ip.in6) == 0 && in hash_ipportip6_data_equal()
280 ipv6_addr_cmp(&ip1->ip2.in6, &ip2->ip2.in6) == 0 && in hash_ipportip6_data_equal()
281 ip1->port == ip2->port && in hash_ipportip6_data_equal()
282 ip1->proto == ip2->proto; in hash_ipportip6_data_equal()
Dip_set_hash_netport.c61 hash_netport4_data_equal(const struct hash_netport4_elem *ip1, in hash_netport4_data_equal() argument
64 return ip1->ip == ip2->ip && in hash_netport4_data_equal()
65 ip1->port == ip2->port && in hash_netport4_data_equal()
66 ip1->proto == ip2->proto && in hash_netport4_data_equal()
67 ip1->cidr == ip2->cidr; in hash_netport4_data_equal()
269 hash_netport6_data_equal(const struct hash_netport6_elem *ip1, in hash_netport6_data_equal() argument
272 return ipv6_addr_cmp(&ip1->ip.in6, &ip2->ip.in6) == 0 && in hash_netport6_data_equal()
273 ip1->port == ip2->port && in hash_netport6_data_equal()
274 ip1->proto == ip2->proto && in hash_netport6_data_equal()
275 ip1->cidr == ip2->cidr; in hash_netport6_data_equal()
Dip_set_hash_ipport.c62 hash_ipport4_data_equal(const struct hash_ipport4_elem *ip1, in hash_ipport4_data_equal() argument
65 return ip1->ip == ip2->ip && in hash_ipport4_data_equal()
66 ip1->port == ip2->port && in hash_ipport4_data_equal()
67 ip1->proto == ip2->proto; in hash_ipport4_data_equal()
266 hash_ipport6_data_equal(const struct hash_ipport6_elem *ip1, in hash_ipport6_data_equal() argument
269 return ipv6_addr_cmp(&ip1->ip.in6, &ip2->ip.in6) == 0 && in hash_ipport6_data_equal()
270 ip1->port == ip2->port && in hash_ipport6_data_equal()
271 ip1->proto == ip2->proto; in hash_ipport6_data_equal()
Dip_set_hash_net.c60 hash_net4_data_equal(const struct hash_net4_elem *ip1, in hash_net4_data_equal() argument
63 return ip1->ip == ip2->ip && 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
219 return ipv6_addr_cmp(&ip1->ip.in6, &ip2->ip.in6) == 0 && in hash_net6_data_equal()
220 ip1->cidr == ip2->cidr; in hash_net6_data_equal()
Dip_set_hash_ip.c55 hash_ip4_data_equal(const struct hash_ip4_elem *ip1, in hash_ip4_data_equal() argument
58 return ip1->ip == ip2->ip; in hash_ip4_data_equal()
219 hash_ip6_data_equal(const struct hash_ip6_elem *ip1, in hash_ip6_data_equal() argument
222 return ipv6_addr_cmp(&ip1->ip.in6, &ip2->ip.in6) == 0; in hash_ip6_data_equal()
/linux-2.6.39/net/sched/
Dsch_choke.c174 const struct iphdr *ip1, *ip2; in choke_match_flow() local
176 ip1 = (const struct iphdr *) (skb1->data + off1); in choke_match_flow()
179 ip_proto = ip1->protocol; in choke_match_flow()
181 ip1->saddr != ip2->saddr || ip1->daddr != ip2->daddr) in choke_match_flow()
184 if ((ip1->frag_off | ip2->frag_off) & htons(IP_MF | IP_OFFSET)) in choke_match_flow()
186 off1 += ip1->ihl * 4; in choke_match_flow()
192 const struct ipv6hdr *ip1, *ip2; in choke_match_flow() local
194 ip1 = (const struct ipv6hdr *) (skb1->data + off1); in choke_match_flow()
197 ip_proto = ip1->nexthdr; in choke_match_flow()
199 ipv6_addr_cmp(&ip1->saddr, &ip2->saddr) || in choke_match_flow()
[all …]
/linux-2.6.39/arch/arm/common/
Dsa1111.c377 unsigned long ip1; in sa1111_retrigger_highirq() local
380 ip1 = sa1111_readl(mapbase + SA1111_INTPOL1); in sa1111_retrigger_highirq()
382 sa1111_writel(ip1 ^ mask, mapbase + SA1111_INTPOL1); in sa1111_retrigger_highirq()
383 sa1111_writel(ip1, mapbase + SA1111_INTPOL1); in sa1111_retrigger_highirq()
399 unsigned long ip1; in sa1111_type_highirq() local
407 ip1 = sa1111_readl(mapbase + SA1111_INTPOL1); in sa1111_type_highirq()
409 ip1 &= ~mask; in sa1111_type_highirq()
411 ip1 |= mask; in sa1111_type_highirq()
412 sa1111_writel(ip1, mapbase + SA1111_INTPOL1); in sa1111_type_highirq()
413 sa1111_writel(ip1, mapbase + SA1111_WAKEPOL1); in sa1111_type_highirq()
/linux-2.6.39/fs/xfs/
Dxfs_rename.c49 xfs_inode_t *ip1, /* in: inode of old entry */ in xfs_sort_for_rename() argument
67 i_tab[2] = ip1; in xfs_sort_for_rename()
Dxfs_vnodeops.c1616 xfs_inode_t *ip1, in xfs_lock_two_inodes() argument
1625 ASSERT(ip0->i_ino != ip1->i_ino); in xfs_lock_two_inodes()
1627 if (ip0->i_ino > ip1->i_ino) { in xfs_lock_two_inodes()
1629 ip0 = ip1; in xfs_lock_two_inodes()
1630 ip1 = temp; in xfs_lock_two_inodes()
1643 if (!xfs_ilock_nowait(ip1, xfs_lock_inumorder(lock_mode, 1))) { in xfs_lock_two_inodes()
1650 xfs_ilock(ip1, xfs_lock_inumorder(lock_mode, 1)); in xfs_lock_two_inodes()
/linux-2.6.39/drivers/infiniband/hw/nes/
Dnes_context.h46 __le32 ip1; member