Lines Matching refs:ifp
247 struct los_eth_driver *ifp = ue->ue_drv_sc;
251 if (ifp->ac_if.flags & (IFF_ALLMULTI | IFF_PROMISC)) {
265 struct los_eth_driver *ifp = ue->ue_drv_sc;
270 if (ifp->ac_if.flags & IFF_PROMISC)
401 struct los_eth_driver *ifp = ue->ue_drv_sc;
435 ifp->ac_if.flags |= NETIF_FLAG_LINK_UP;
437 (void)netifapi_netif_set_up(&ifp->ac_if);
441 ifp->ac_if.flags &= ~NETIF_FLAG_LINK_UP;
483 struct los_eth_driver *ifp = ue->ue_drv_sc;
513 driverif_input(&ifp->ac_if, m);
572 struct los_eth_driver *ifp = ue->ue_drv_sc;
573 struct eth_drv_sc *drv_sc = (struct eth_drv_sc *)ifp->driver_context;
664 struct los_eth_driver *ifp = ue->ue_drv_sc;
665 struct eth_drv_sc *drv_sc = (struct eth_drv_sc *)ifp->driver_context;
679 ifp->ac_if.hwaddr_len = NETIF_MAX_HWADDR_LEN;
680 (void)axge_read_mem(sc, AXGE_ACCESS_MAC, 6, AXGE_NIDR, ifp ->ac_if.hwaddr, 6);
685 ifp->ac_if.flags |= NETIF_FLAG_UP | NETIF_FLAG_BROADCAST | NETIF_FLAG_ETHARP | NETIF_FLAG_ETHERNET;
694 if (ifp->ac_if.flags & IFF_PROMISC)
697 if (ifp->ac_if.flags & IFF_BROADCAST)
715 struct los_eth_driver *ifp = ue->ue_drv_sc;
716 struct eth_drv_sc *drv_sc = (struct eth_drv_sc *)ifp->driver_context;