Lines Matching defs:sap
256 struct sockaddr *sap = xs_addr(xprt);
262 switch (sap->sa_family) {
275 (void)rpc_ntop(sap, buf, sizeof(buf));
282 (void)rpc_ntop(sap, buf, sizeof(buf));
297 struct sockaddr *sap = xs_addr(xprt);
300 snprintf(buf, sizeof(buf), "%u", rpc_get_port(sap));
303 snprintf(buf, sizeof(buf), "%4hx", rpc_get_port(sap));
3121 static int xs_init_anyaddr(const int family, struct sockaddr *sap)
3136 memcpy(sap, &sin, sizeof(sin));
3139 memcpy(sap, &sin6, sizeof(sin6));