Lines Matching defs:ifp
535 struct los_eth_driver *ifp = ue->ue_drv_sc;
552 ifp->ac_if.hwaddr_len = NETIF_MAX_HWADDR_LEN;
553 tmp = (uint8_t *) ifp->ac_if.hwaddr;
571 ifp = ue->ue_drv_sc;
572 ifp->ac_if.flags |= NETIF_FLAG_UP | NETIF_FLAG_BROADCAST | NETIF_FLAG_ETHARP | NETIF_FLAG_ETHERNET;
573 ifp->ac_if.flags &= ~NETIF_FLAG_LINK_UP;
658 struct los_eth_driver *ifp = ue->ue_drv_sc;
659 struct eth_drv_sc *drv_sc = (struct eth_drv_sc *)ifp->driver_context;
673 ifp->ac_if.flags |= NETIF_FLAG_LINK_UP;
674 (void)netifapi_netif_set_up(&ifp->ac_if);
681 ifp->ac_if.flags &= ~NETIF_FLAG_LINK_UP;
861 struct los_eth_driver *ifp = ue->ue_drv_sc;
892 driverif_input(&ifp->ac_if, m);
906 struct los_eth_driver *ifp = ue->ue_drv_sc;
907 struct eth_drv_sc *drv_sc = (struct eth_drv_sc *)ifp->driver_context;
1006 struct los_eth_driver *ifp = ue->ue_drv_sc;
1007 struct eth_drv_sc *drv_sc = (struct eth_drv_sc *)ifp->driver_context;
1088 ifp->ac_if.link_layer_type = ETHERNET_DRIVER_IF;
1095 struct los_eth_driver *ifp = ue->ue_drv_sc;
1096 struct eth_drv_sc *drv_sc = (struct eth_drv_sc *)ifp->driver_context;
1132 struct los_eth_driver *ifp = ue->ue_drv_sc;
1133 struct eth_drv_sc *drv_sc = (struct eth_drv_sc *)ifp->driver_context;