411: ifa_insert(ifp, &ia->ia_ifa);
412: ia->ia_ifa.ifa_addr = sintosa(&ia->ia_addr);
413: ia->ia_ifa.ifa_dstaddr = sintosa(&ia->ia_dstaddr);
414: ia->ia_ifa.ifa_netmask = sintosa(&ia->ia_sockmask);
415: #ifdef IPSELSRC
485: if (ia->ia_flags & IFA_ROUTE) {
486: ia->ia_ifa.ifa_dstaddr = sintosa(&oldaddr);
487: rtinit(&ia->ia_ifa, RTM_DELETE, RTF_HOST);
488: ia->ia_ifa.ifa_dstaddr = sintosa(&ia->ia_dstaddr);
489: rtinit(&ia->ia_ifa, RTM_ADD, RTF_HOST|RTF_UP);
908: if (scrub) {
909: ia->ia_ifa.ifa_addr = sintosa(&oldaddr);
910: in_ifscrub(ifp, ia);
911: ia->ia_ifa.ifa_addr = sintosa(&ia->ia_addr);
912: }
1169: sockaddr_in_init(&sin, ap, 0);
1170: ifreq_setaddr(SIOCADDMULTI, &ifr, sintosa(&sin));
1171: if ((ifp->if_ioctl == NULL) ||
1218: sockaddr_in_init(&sin, &inm->inm_addr, 0);
1219: ifreq_setaddr(SIOCDELMULTI, &ifr, sintosa(&sin));
1220: (*inm->inm_ifp->if_ioctl)(inm->inm_ifp, SIOCDELMULTI,