Home
last modified time | relevance | path

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

/Linux-v6.6/include/linux/sunrpc/
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-v6.6/fs/nfs/
Dsuper.c1160 struct sockaddr_in *sin1 = (struct sockaddr_in *)sap1; in nfs_compare_super_address() local
1162 if (sin1->sin_addr.s_addr != sin2->sin_addr.s_addr) in nfs_compare_super_address()
1164 if (sin1->sin_port != sin2->sin_port) in nfs_compare_super_address()
1169 struct sockaddr_in6 *sin1 = (struct sockaddr_in6 *)sap1; in nfs_compare_super_address() local
1171 if (!ipv6_addr_equal(&sin1->sin6_addr, &sin2->sin6_addr)) in nfs_compare_super_address()
1173 if (sin1->sin6_port != sin2->sin6_port) in nfs_compare_super_address()