Lines Matching refs:frad
119 struct net_device *frad; member
214 pvc->frad = dev; in add_pvc()
348 if ((pvc->frad->flags & IFF_UP) == 0) in pvc_open()
352 hdlc_device *hdlc = dev_to_hdlc(pvc->frad); in pvc_open()
354 pvc->state.active = netif_carrier_ok(pvc->frad); in pvc_open()
369 hdlc_device *hdlc = dev_to_hdlc(pvc->frad); in pvc_close()
401 memcpy(info.master, pvc->frad->name, IFNAMSIZ); in pvc_ioctl()
437 skb->dev = pvc->frad; in pvc_xmit()
450 netdev_info(pvc->frad, "DLCI %d [%s%s%s]%s %s\n", in fr_log_dlci_active()
871 struct net_device *frad = skb->dev; in fr_rx() local
872 hdlc_device *hdlc = dev_to_hdlc(frad); in fr_rx()
889 if (fr_lmi_recv(frad, skb)) in fr_rx()
898 netdev_info(frad, "No PVC for received frame's DLCI %d\n", in fr_rx()
907 printk(KERN_DEBUG "%s: DLCI %d FECN O%s\n", frad->name, in fr_rx()
915 printk(KERN_DEBUG "%s: DLCI %d BECN O%s\n", frad->name, in fr_rx()
923 frad->stats.rx_dropped++; in fr_rx()
958 netdev_info(frad, "Unsupported protocol, OUI=%x PID=%x\n", in fr_rx()
964 netdev_info(frad, "Unsupported protocol, NLPID=%x length=%i\n", in fr_rx()
984 frad->stats.rx_errors++; /* Mark error */ in fr_rx()
1061 static int fr_add_pvc(struct net_device *frad, unsigned int dlci, int type) in fr_add_pvc() argument
1063 hdlc_device *hdlc = dev_to_hdlc(frad); in fr_add_pvc()
1068 if ((pvc = add_pvc(frad, dlci)) == NULL) { in fr_add_pvc()
1069 netdev_warn(frad, "Memory squeeze on fr_add_pvc()\n"); in fr_add_pvc()
1085 netdev_warn(frad, "Memory squeeze on fr_pvc()\n"); in fr_add_pvc()
1146 static void fr_destroy(struct net_device *frad) in fr_destroy() argument
1148 hdlc_device *hdlc = dev_to_hdlc(frad); in fr_destroy()