Lines Matching defs:ifp
8305 ifnet_t ifp;
8428 result = ifnet_allocate(&ipsecif_init, &pcb->ifp);
8437 ifnet_set_mtu(pcb->ifp, 1280);
8438 ifnet_set_flags(pcb->ifp, IFF_UP | IFF_MULTICAST | IFF_BROADCAST, 0xffff);
8439 // ifnet_set_flags(pcb->ifp, IFF_UP | IFF_MULTICAST | IFF_POINTOPOINT, 0xffff);
8442 result = ifnet_attach(pcb->ifp, NULL);
8445 ifnet_release(pcb->ifp);
8451 bpfattach(pcb->ifp, DLT_NULL, 4);
8625 ifnet_t ifp = pcb->ifp;
8637 ipsecif_cleanup_family(ifp, AF_INET);
8638 ipsecif_cleanup_family(ifp, AF_INET6);
8640 if ((result = ifnet_detach(ifp)) != 0) {
8644 if ((result = ifnet_release(ifp)) != 0) {
8653 ifnet_t ifp,
8685 tap(ifp, (mbuf_t)n);
8703 mbuf_pkthdr_setrcvif(m, pcb->ifp);
8706 call_bpf_tap(pcb->ifp, pcb->tap, m);
8711 result = ifnet_input(pcb->ifp, m, &incs);
8713 ifnet_stat_increment_in(pcb->ifp, 0, 0, 1);