Lines Matching defs:psau
218 static inline int is_wildcard_addr(const sockaddr_u *psau);
1445 sockaddr_u *psau,
1449 ZERO_SOCK(psau);
1450 AF(psau) = (u_short)pna->family;
1454 psau->sa4.sin_addr = pna->type.in;
1458 psau->sa6.sin6_addr = pna->type.in6;
1466 const sockaddr_u *psau
1469 if (IS_IPV4(psau) && !NSRCADR(psau))
1473 if (IS_IPV6(psau) && S_ADDR6_EQ(psau, &in6addr_any))
1483 sockaddr_u * psau
1488 if (IS_IPV6(psau)) {
1489 p6addr = &psau->sa6.sin6_addr;
1495 } else if (IS_IPV4(psau)) {
1497 if (IS_AUTOCONF(psau)) {
1538 sockaddr_u *psau,
1547 if (psau->sa.sa_family != AF_INET)
1552 memcpy(&ifr.ifr_addr, &psau->sa, sizeof(ifr.ifr_addr));
1567 sockaddr_u *psau,
1576 if (psau->sa.sa_family != AF_INET6)
1581 memcpy(&ifr6.ifr_addr, &psau->sa6, sizeof(ifr6.ifr_addr));
1596 sockaddr_u *psau,
1601 return check_flags6(psau, name, IN6_IFF_ANYCAST);
1609 sockaddr_u *psau,
1616 switch (psau->sa.sa_family) {
1624 return check_flags(psau, name, flags) ? ISC_FALSE : ISC_TRUE;
1635 return check_flags6(psau, name, flags) ? ISC_FALSE : ISC_TRUE;