Lines Matching refs:main
114 struct net_device *main; member
211 return pvc->main || pvc->ether; in pvc_is_used()
217 if (pvc->main) in pvc_carrier()
218 if (!netif_carrier_ok(pvc->main)) in pvc_carrier()
219 netif_carrier_on(pvc->main); in pvc_carrier()
224 if (pvc->main) in pvc_carrier()
225 if (netif_carrier_ok(pvc->main)) in pvc_carrier()
226 netif_carrier_off(pvc->main); in pvc_carrier()
257 return &pvc->main; in get_dev_p()
442 pvc->main ? pvc->main->name : "", in fr_log_dlci_active()
443 pvc->main && pvc->ether ? " " : "", in fr_log_dlci_active()
855 if (!pvc->main) in fr_snap_parse()
857 skb->dev = pvc->main; in fr_snap_parse()
947 if (!pvc->main) in fr_rx()
950 skb->dev = pvc->main; in fr_rx()
955 if (!pvc->main) in fr_rx()
958 skb->dev = pvc->main; in fr_rx()
1038 if (pvc->main) in fr_close()
1039 dev_close(pvc->main); in fr_close()
1163 if (pvc->main) in fr_destroy()
1164 unregister_netdevice(pvc->main); in fr_destroy()