Lines Matching refs:sap2
51 const struct sockaddr *sap2) in rpc_cmp_addr4() argument
54 const struct sockaddr_in *sin2 = (const struct sockaddr_in *)sap2; in rpc_cmp_addr4()
72 const struct sockaddr *sap2) in rpc_cmp_addr6() argument
75 const struct sockaddr_in6 *sin2 = (const struct sockaddr_in6 *)sap2; in rpc_cmp_addr6()
98 const struct sockaddr *sap2) in rpc_cmp_addr6() argument
121 const struct sockaddr *sap2) in rpc_cmp_addr() argument
123 if (sap1->sa_family == sap2->sa_family) { in rpc_cmp_addr()
126 return rpc_cmp_addr4(sap1, sap2); in rpc_cmp_addr()
128 return rpc_cmp_addr6(sap1, sap2); in rpc_cmp_addr()
140 const struct sockaddr *sap2) in rpc_cmp_addr_port() argument
142 if (!rpc_cmp_addr(sap1, sap2)) in rpc_cmp_addr_port()
144 return rpc_get_port(sap1) == rpc_get_port(sap2); in rpc_cmp_addr_port()