Lines Matching refs:sin
43 nlmclnt_lookup_host(struct sockaddr_in *sin, int proto, int version) in nlmclnt_lookup_host() argument
45 return nlm_lookup_host(NULL, sin, proto, version); in nlmclnt_lookup_host()
63 struct sockaddr_in *sin) in nlm_match_host() argument
67 return nlm_cmp_addr(&host->h_addr, sin); in nlm_match_host()
74 nlm_lookup_host(struct svc_client *clnt, struct sockaddr_in *sin, in nlm_lookup_host() argument
81 if (!clnt && !sin) { in nlm_lookup_host()
87 (unsigned)(sin? ntohl(sin->sin_addr.s_addr) : 0), proto, version); in nlm_lookup_host()
92 hash = NLM_ADDRHASH(sin->sin_addr.s_addr); in nlm_lookup_host()
106 if (nlm_match_host(host, clnt, sin)) { in nlm_lookup_host()
119 if (sin == NULL) in nlm_lookup_host()
129 addr = sin->sin_addr.s_addr; in nlm_lookup_host()
136 host->h_addr = *sin; in nlm_lookup_host()