999: TAILQ_FOREACH(ia, &in_ifaddrhead, ia_list) {
1000: if (rtinitflags(ia))
1001: p = ia->ia_dstaddr.sin_addr;
1049:
1050: if (rtinitflags(target))
1051: prefix = target->ia_dstaddr.sin_addr;
1058: TAILQ_FOREACH(ia, &in_ifaddrhead, ia_list) {
1059: if (rtinitflags(ia))
1060: p = ia->ia_dstaddr.sin_addr;
1073: rtinit(&target->ia_ifa, RTM_DELETE,
1074: rtinitflags(target));
1075: target->ia_flags &= ~IFA_ROUTE;
1077: error = rtinit(&ia->ia_ifa, RTM_ADD,
1078: rtinitflags(ia) | RTF_UP);
1079: if (error == 0)
1087: */
1088: rtinit(&target->ia_ifa, RTM_DELETE, rtinitflags(target));
1089: target->ia_flags &= ~IFA_ROUTE;