Lines Matching refs:frad
116 struct net_device *frad; member
212 pvc->frad = dev; in add_pvc()
343 if ((pvc->frad->flags & IFF_UP) == 0) in pvc_open()
347 hdlc_device *hdlc = dev_to_hdlc(pvc->frad); in pvc_open()
349 pvc->state.active = netif_carrier_ok(pvc->frad); in pvc_open()
364 hdlc_device *hdlc = dev_to_hdlc(pvc->frad); in pvc_close()
396 memcpy(info.master, pvc->frad->name, IFNAMSIZ); in pvc_ioctl()
444 skb->dev = pvc->frad; in pvc_xmit()
458 netdev_info(pvc->frad, "DLCI %d [%s%s%s]%s %s\n", in fr_log_dlci_active()
877 struct net_device *frad = skb->dev; in fr_rx() local
878 hdlc_device *hdlc = dev_to_hdlc(frad); in fr_rx()
895 if (fr_lmi_recv(frad, skb)) in fr_rx()
904 netdev_info(frad, "No PVC for received frame's DLCI %d\n", in fr_rx()
913 printk(KERN_DEBUG "%s: DLCI %d FECN O%s\n", frad->name, in fr_rx()
921 printk(KERN_DEBUG "%s: DLCI %d BECN O%s\n", frad->name, in fr_rx()
929 frad->stats.rx_dropped++; in fr_rx()
964 netdev_info(frad, "Unsupported protocol, OUI=%x PID=%x\n", in fr_rx()
970 netdev_info(frad, "Unsupported protocol, NLPID=%x length=%i\n", in fr_rx()
990 frad->stats.rx_errors++; /* Mark error */ in fr_rx()
1065 static int fr_add_pvc(struct net_device *frad, unsigned int dlci, int type) in fr_add_pvc() argument
1067 hdlc_device *hdlc = dev_to_hdlc(frad); in fr_add_pvc()
1072 if ((pvc = add_pvc(frad, dlci)) == NULL) { in fr_add_pvc()
1073 netdev_warn(frad, "Memory squeeze on fr_add_pvc()\n"); in fr_add_pvc()
1089 netdev_warn(frad, "Memory squeeze on fr_pvc()\n"); in fr_add_pvc()
1153 static void fr_destroy(struct net_device *frad) in fr_destroy() argument
1155 hdlc_device *hdlc = dev_to_hdlc(frad); in fr_destroy()