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