Lines Matching defs:bifp
352 struct ifnet *ifp, *bifp;
369 bifp = ifunit(iface);
370 if (bifp == NULL) {
385 if (p->fec_if == bifp) {
398 if (b->fec_if_output != bifp->if_output) {
411 IF_AFDATA_LOCK(bifp);
412 IFP2NG(bifp) = priv->node;
413 IF_AFDATA_UNLOCK(bifp);
421 if_setlladdr(ifp, IF_LLADDR(bifp), ETHER_ADDR_LEN);
431 bcopy(IF_LLADDR(bifp),
435 if_setlladdr(bifp, IF_LLADDR(ifp), ETHER_ADDR_LEN);
436 EVENTHANDLER_INVOKE(iflladdr_event, bifp);
439 new->fec_if_input = bifp->if_input;
442 bifp->if_input = ng_fec_input;
446 b->fec_if_output = bifp->if_output;
449 new->fec_if = bifp;
463 struct ifnet *ifp, *bifp;
480 bifp = ifunit(iface);
481 if (bifp == NULL) {
488 if (p->fec_if == bifp)
499 bifp->if_flags &= ~IFF_UP;
500 (*bifp->if_ioctl)(bifp, SIOCSIFFLAGS, NULL);
503 if_setlladdr(bifp, (u_char *)&p->fec_mac, ETHER_ADDR_LEN);
506 bifp->if_input = p->fec_if_input;
509 IF_AFDATA_LOCK(bifp);
510 IFP2NG(bifp) = NULL;
511 IF_AFDATA_UNLOCK(bifp);
615 struct ifnet *ifp, *bifp;
632 bifp = p->fec_if;
633 bifp->if_flags |= IFF_UP;
634 (*bifp->if_ioctl)(bifp, SIOCSIFFLAGS, NULL);
652 struct ifnet *bifp;
659 bifp = p->fec_if;
660 bifp->if_flags &= ~IFF_UP;
661 (*bifp->if_ioctl)(bifp, SIOCSIFFLAGS, NULL);
778 struct ifnet *bifp;
781 bifp = p->fec_if;
782 error = (*bifp->if_ioctl)(bifp, SIOCSIFMTU,
865 struct ifnet *bifp;
880 bifp = priv->ifp;
901 m0->m_pkthdr.rcvif = bifp;
910 bifp->if_ipackets++;
911 (*bifp->if_input)(bifp, m0);