Lines Matching defs:af_af
359 short af_af;
414 af = lifr.lifr_addr.ss_family = afp->af_af;
664 if (!scan_netmask && afp->af_af == AF_INET) {
895 assert(afp->af_af == AF_INET);
938 netmask.ss_family = afp->af_af;
948 if (afp->af_af == AF_INET6) {
1045 void *addr = (afp->af_af == AF_INET) ?
1050 lifr.lifr_name, afp->af_af,
1051 inet_ntop(afp->af_af, addr, abuf, sizeof (abuf)));
1054 lifr.lifr_addr.ss_family = afp->af_af;
1309 if (afp->af_af == AF_INET6) {
1363 assert(afp->af_af != AF_INET6);
1388 int af = afp->af_af;
1438 assert(afp->af_af != AF_INET6);
1844 mask.ss_family = afp->af_af;
1845 if (afp->af_af == AF_INET6) {
2107 af = afp->af_af;
2979 if (((p->af_af == AF_INET6) && (flags & IFF_IPV4)) ||
2980 ((p->af_af == AF_INET) && (flags & IFF_IPV6)))
3001 af = p->af_af;
3035 (void) printf("configinfo: name %s flags 0x%llx af_af %d\n",
3036 name, flags, p != NULL ? p->af_af : -1);
3055 if (p && p->af_af == AF_INET6)
3067 if (p && p->af_af == AF_INET)
3106 s = socket(SOCKET_AF(p->af_af), SOCK_DGRAM, 0);
3108 af = p->af_af;
3626 istatus = ipadm_delete_if(iph, name, afp->af_af, IPADM_OPT_ACTIVE);
3647 istatus = ipadm_create_if(iph, name, afp->af_af, IPADM_OPT_ACTIVE);
3670 retval = create_ipmp(name, afp->af_af, name, _B_FALSE);