Lines Matching defs:ifp
966 iface_match(struct ifnet *ifp, ipfw_insn_if *cmd)
968 if (ifp == NULL) /* no iface with this packet, match fails */
973 if (cmd->p.unit != -1 && cmd->p.unit != ifp->if_unit)
976 if (!strncmp(ifp->if_name, cmd->name, IFNAMSIZ))
981 ifnet_lock_shared(ifp);
982 TAILQ_FOREACH(ia, &ifp->if_addrhead, ifa_link) {
991 ifnet_lock_done(ifp);
996 ifnet_lock_done(ifp);
1016 verify_rev_path(struct in_addr src, struct ifnet *ifp)
1038 if ((ifp == NULL) ||
1039 (ro.ro_rt->rt_ifp->if_index != ifp->if_index)) {