Lines Matching refs:saddr
176 dscpAuth(int domain_id, struct sockaddr *saddr, int len)
186 if (saddr == NULL) {
203 switch (saddr->sa_family) {
206 sin = (struct sockaddr_in *)saddr;
211 sin6 = (struct sockaddr_in6 *)saddr;
244 dscpAddr(int domain_id, int which, struct sockaddr *saddr, int *lenp)
253 if (((saddr == NULL) || (lenp == NULL)) ||
309 (void) memset(saddr, 0, sizeof (struct sockaddr));
310 (void) memcpy(saddr, &lifr.lifr_addr, sizeof (struct sockaddr_in));
328 dscpIdent(struct sockaddr *saddr, int len, int *domainp)
333 if ((saddr == NULL) || (domainp == NULL)) {
338 error = dscpAuth(0, saddr, len);