Searched refs:sap (Results 1 - 2 of 2) sorted by relevance

/haiku/src/system/libnetwork/netresolv/isc/
H A Dctl_srvr.c170 ctl_server(evContext lev, const struct sockaddr *sap, size_t sap_len, argument
209 ctx->sock = socket(sap->sa_family, SOCK_STREAM, PF_UNSPEC);
230 if (sap->sa_family != AF_UNIX)
238 if (bind(ctx->sock, sap, sap_len) < 0) {
242 me, ctl_sa_ntop((const struct sockaddr *)sap,
H A Dctl_clnt.c148 const struct sockaddr *sap, size_t sap_len,
177 ctx->sock = socket(sap->sa_family, SOCK_STREAM, PF_UNSPEC);
201 if (evConnect(lev, ctx->sock, (const struct sockaddr *)sap, sap_len,
147 ctl_client(evContext lev, const struct sockaddr *cap, size_t cap_len, const struct sockaddr *sap, size_t sap_len, ctl_clntdone donefunc, void *uap, u_int timeout, ctl_logfunc logger) argument

Completed in 135 milliseconds