Searched refs:sap1 (Results 1 – 1 of 1) sorted by relevance
50 static inline bool rpc_cmp_addr4(const struct sockaddr *sap1, in rpc_cmp_addr4() argument53 const struct sockaddr_in *sin1 = (const struct sockaddr_in *)sap1; in rpc_cmp_addr4()71 static inline bool rpc_cmp_addr6(const struct sockaddr *sap1, in rpc_cmp_addr6() argument74 const struct sockaddr_in6 *sin1 = (const struct sockaddr_in6 *)sap1; in rpc_cmp_addr6()97 static inline bool rpc_cmp_addr6(const struct sockaddr *sap1, in rpc_cmp_addr6() argument120 static inline bool rpc_cmp_addr(const struct sockaddr *sap1, in rpc_cmp_addr() argument123 if (sap1->sa_family == sap2->sa_family) { in rpc_cmp_addr()124 switch (sap1->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()[all …]