Lines Matching defs:ifc_index
105 int ifc_index; /* if index */
356 if (ifcp->ifc_index < 0) {
404 if (ifcp->ifc_index > 0 && (ifcp->ifc_flags & IFF_UP))
539 if (ifcp->ifc_index > 0 && (ifcp->ifc_flags & IFF_UP))
767 if (rrt->rrt_index == ifcp->ifc_index &&
782 } else if (nh && (rrt->rrt_index != ifcp->ifc_index ||
892 if (sflag && rrt->rrt_index != ifcp->ifc_index)
897 if (hflag == 0 && rrt->rrt_index == ifcp->ifc_index)
1158 if (rrt->rrt_index == ifcp->ifc_index &&
1164 rrt->rrt_index = ifcp->ifc_index;
1175 rrt->rrt_index == ifcp->ifc_index &&
1184 if (rrt->rrt_index == ifcp->ifc_index &&
1190 rrt->rrt_index = ifcp->ifc_index;
1213 rrt->rrt_index = ifcp->ifc_index;
1235 if (ifcp->ifc_index == ic->ifc_index)
1337 ifcp->ifc_index = -1;
1361 && 0 < ifcp->ifc_index && !ifcp->ifc_joined) {
1363 mreq.ipv6mr_interface = ifcp->ifc_index;
1425 if (ifcp->ifc_index < 0 && IN6_IS_ADDR_LINKLOCAL(&ifa->ifa_addr)) {
1427 ifcp->ifc_index = IN6_LINKLOCAL_IFINDEX(ifa->ifa_addr);
1430 ifcp->ifc_index);
1431 setindex2ifc(ifcp->ifc_index, ifcp);
1432 ifcp->ifc_mtu = getifmtu(ifcp->ifc_index);
1440 ifcp->ifc_index, ifcp->ifc_mtu, ifcp->ifc_metric);
1658 if (ifcp->ifc_index == ic->ifc_index)
1831 inet6_n2p(&ni6.rip6_dest), ni6.rip6_plen, ifcp->ifc_index);
1835 if (rrt->rrt_index == ifcp->ifc_index &&
1860 ifcp->ifc_index);
1862 ifc_index &&
1934 rrt->rrt_index = ifcp->ifc_index;
1982 if (loop_rrt->rrt_index == ifcp->ifc_index) {
2092 rrt->rrt_index = ifcp->ifc_index;
2749 ifcp->ifc_name, ifcp->ifc_index, ifflags(ifcp->ifc_flags),
2930 rrt->rrt_index = loopifcp->ifc_index;