Home
last modified time | relevance | path

Searched refs:sin1 (Results 1 – 2 of 2) sorted by relevance

/linux/include/linux/sunrpc/
A Daddr.h53 const struct sockaddr_in *sin1 = (const struct sockaddr_in *)sap1; in rpc_cmp_addr4() local
56 return sin1->sin_addr.s_addr == sin2->sin_addr.s_addr; in rpc_cmp_addr4()
74 const struct sockaddr_in6 *sin1 = (const struct sockaddr_in6 *)sap1; in rpc_cmp_addr6() local
77 if (!ipv6_addr_equal(&sin1->sin6_addr, &sin2->sin6_addr)) in rpc_cmp_addr6()
79 else if (ipv6_addr_type(&sin1->sin6_addr) & IPV6_ADDR_LINKLOCAL) in rpc_cmp_addr6()
80 return sin1->sin6_scope_id == sin2->sin6_scope_id; in rpc_cmp_addr6()
/linux/fs/nfs/
A Dsuper.c1148 struct sockaddr_in *sin1 = (struct sockaddr_in *)sap1; in nfs_compare_super_address() local
1150 if (sin1->sin_addr.s_addr != sin2->sin_addr.s_addr) in nfs_compare_super_address()
1152 if (sin1->sin_port != sin2->sin_port) in nfs_compare_super_address()
1157 struct sockaddr_in6 *sin1 = (struct sockaddr_in6 *)sap1; in nfs_compare_super_address() local
1159 if (!ipv6_addr_equal(&sin1->sin6_addr, &sin2->sin6_addr)) in nfs_compare_super_address()
1161 if (sin1->sin6_port != sin2->sin6_port) in nfs_compare_super_address()

Completed in 6 milliseconds