Lines Matching defs:ifp
1059 struct ifnet *ifp;
1065 if ((ifp = ifunit(altq->ifname)) == NULL)
1068 ifq = &ifp->if_snd;
1074 if (error == 0 && ifp != NULL && ALTQ_IS_ENABLED(IFCQ_ALTQ(ifq))) {
1101 struct ifnet *ifp;
1107 if ((ifp = ifunit(altq->ifname)) == NULL)
1114 ifq = &ifp->if_snd;
1968 struct ifnet *ifp;
1975 ifp = ifunit(ps.ifname);
1976 if (ifp != NULL) {
1977 baudrate = ifp->if_output_bw.max_bw;
4727 pf_af_hook(struct ifnet *ifp, struct mbuf **mppn, struct mbuf **mp,
4751 error = pf_inet_hook(ifp, mp, input, fwa);
4757 error = pf_inet6_hook(ifp, mp, input, fwa);
4792 pf_inet_hook(struct ifnet *ifp, struct mbuf **mp, int input,
4811 ~IF_HWASSIST_CSUM_FLAGS(ifp->if_hwassist);
4823 if (pf_test(input ? PF_IN : PF_OUT, ifp, mp, NULL, fwa) != PF_PASS) {
4847 pf_inet6_hook(struct ifnet *ifp, struct mbuf **mp, int input,
4862 ~IF_HWASSIST_CSUM_FLAGS(ifp->if_hwassist);
4870 if (pf_test6(input ? PF_IN : PF_OUT, ifp, mp, NULL, fwa) != PF_PASS) {
4884 pf_ifaddr_hook(struct ifnet *ifp, unsigned long cmd)
4898 if (ifp->if_pf_kif != NULL)
4899 pfi_kifaddr_update(ifp->if_pf_kif);
4915 pf_ifnet_hook(struct ifnet *ifp, int attach)
4920 pfi_attach_ifnet(ifp);
4922 pfi_detach_ifnet(ifp);
4940 struct ifnet *ifp = ifindex2ifnet[i];
4941 if (ifp != NULL) {
4942 pfi_attach_ifnet(ifp);
4959 struct ifnet *ifp = ifindex2ifnet[i];
4960 if (ifp != NULL && ifp->if_pf_kif != NULL) {
4961 pfi_detach_ifnet(ifp);