Lines Matching refs:saddr
174 dscpAuth(int domain_id, struct sockaddr *saddr, int len) in dscpAuth() argument
184 if (saddr == NULL) { in dscpAuth()
201 switch (saddr->sa_family) { in dscpAuth()
204 sin = (struct sockaddr_in *)saddr; in dscpAuth()
209 sin6 = (struct sockaddr_in6 *)saddr; in dscpAuth()
242 dscpAddr(int domain_id, int which, struct sockaddr *saddr, int *lenp) in dscpAddr() argument
251 if (((saddr == NULL) || (lenp == NULL)) || in dscpAddr()
307 (void) memset(saddr, 0, sizeof (struct sockaddr)); in dscpAddr()
308 (void) memcpy(saddr, &lifr.lifr_addr, sizeof (struct sockaddr_in)); in dscpAddr()
326 dscpIdent(struct sockaddr *saddr, int len, int *domainp) in dscpIdent() argument
331 if ((saddr == NULL) || (domainp == NULL)) { in dscpIdent()
336 error = dscpAuth(0, saddr, len); in dscpIdent()