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