Lines Matching defs:frad
113 struct net_device *frad;
197 printk(KERN_DEBUG "add_pvc: allocated pvc %p, frad %p\n", pvc, dev);
203 pvc->frad = dev;
327 if ((pvc->frad->flags & IFF_UP) == 0)
331 hdlc_device *hdlc = dev_to_hdlc(pvc->frad);
334 pvc->state.active = netif_carrier_ok(pvc->frad);
347 hdlc_device *hdlc = dev_to_hdlc(pvc->frad);
378 memcpy(info.master, pvc->frad->name, IFNAMSIZ);
426 skb->dev = pvc->frad;
440 netdev_info(pvc->frad, "DLCI %d [%s%s%s]%s %s\n",
891 struct net_device *frad = skb->dev;
892 hdlc_device *hdlc = dev_to_hdlc(frad);
909 if (fr_lmi_recv(frad, skb))
918 netdev_info(frad, "No PVC for received frame's DLCI %d\n",
926 printk(KERN_DEBUG "%s: DLCI %d FECN O%s\n", frad->name,
934 printk(KERN_DEBUG "%s: DLCI %d BECN O%s\n", frad->name,
942 frad->stats.rx_dropped++;
976 netdev_info(frad, "Unsupported protocol, NLPID=%x length=%i\n",
990 frad->stats.rx_errors++; /* Mark error */
1062 static int fr_add_pvc(struct net_device *frad, unsigned int dlci, int type)
1064 hdlc_device *hdlc = dev_to_hdlc(frad);
1069 pvc = add_pvc(frad, dlci);
1071 netdev_warn(frad, "Memory squeeze on fr_add_pvc()\n");
1087 netdev_warn(frad, "Memory squeeze on fr_pvc()\n");
1151 static void fr_destroy(struct net_device *frad)
1153 hdlc_device *hdlc = dev_to_hdlc(frad);