Searched refs:sin2 (Results 1 – 2 of 2) sorted by relevance
54 const struct sockaddr_in *sin2 = (const struct sockaddr_in *)sap2; in rpc_cmp_addr4() local56 return sin1->sin_addr.s_addr == sin2->sin_addr.s_addr; in rpc_cmp_addr4()75 const struct sockaddr_in6 *sin2 = (const struct sockaddr_in6 *)sap2; in rpc_cmp_addr6() local77 if (!ipv6_addr_equal(&sin1->sin6_addr, &sin2->sin6_addr)) in rpc_cmp_addr6()80 return sin1->sin6_scope_id == sin2->sin6_scope_id; in rpc_cmp_addr6()
1161 struct sockaddr_in *sin2 = (struct sockaddr_in *)sap2; in nfs_compare_super_address() local1162 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()1170 struct sockaddr_in6 *sin2 = (struct sockaddr_in6 *)sap2; in nfs_compare_super_address() local1171 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()