Lines Matching defs:ifp
476 iface_match(struct ifnet *ifp, ipfw_insn_if *cmd)
478 if (ifp == NULL) /* no iface with this packet, match fails */
483 if (cmd->p.unit != -1 && cmd->p.unit != ifp->if_unit)
486 if (!strncmp(ifp->if_name, cmd->name, IFNAMSIZ))
491 ifnet_lock_shared(ifp);
492 TAILQ_FOREACH(ia, &ifp->if_addrhead, ifa_link) {
499 ifnet_lock_done(ifp);
503 ifnet_lock_done(ifp);
523 verify_rev_path(struct in_addr src, struct ifnet *ifp)
542 if ((ro.ro_rt == NULL) || (ifp == NULL) ||
543 (ro.ro_rt->rt_ifp->if_index != ifp->if_index))