Searched refs:ARPHRD_CAN (Results 1 – 14 of 14) sorted by relevance
227 if (unlikely(skb->dev->type != ARPHRD_CAN)) { in can_send()454 if (dev && dev->type != ARPHRD_CAN) in can_rx_register()521 if (dev && dev->type != ARPHRD_CAN) in can_rx_unregister()683 if (unlikely(dev->type != ARPHRD_CAN || !can_get_ml_priv(dev) || skb->len != CAN_MTU)) { in can_rcv()709 if (unlikely(dev->type != ARPHRD_CAN || !can_get_ml_priv(dev) || skb->len != CANFD_MTU)) { in canfd_rcv()
314 if (dev->type != ARPHRD_CAN) in raw_notifier()444 if (dev->type != ARPHRD_CAN) { in raw_bind()
1321 if (dev->type != ARPHRD_CAN) { in bcm_sendmsg()1439 if (dev->type != ARPHRD_CAN) in bcm_notifier()1593 if (dev->type != ARPHRD_CAN) { in bcm_connect()
524 if (dev->type != ARPHRD_CAN) in cgw_notifier()1063 if (gwj->src.dev->type != ARPHRD_CAN) in cgw_create_job()1071 if (gwj->dst.dev->type != ARPHRD_CAN) in cgw_create_job()
1112 if (dev->type != ARPHRD_CAN) { in isotp_bind()1360 if (dev->type != ARPHRD_CAN) in isotp_notifier()
46 #define ARPHRD_CAN 280 macro
56 #define ARPHRD_CAN 280 /* Controller Area Network */ macro
33 #define ARPHRD_CAN 280 macro
150 dev->type = ARPHRD_CAN; in vcan_setup()
146 dev->type = ARPHRD_CAN; in vxcan_setup()
449 dev->type = ARPHRD_CAN; in slc_setup()
665 dev->type = ARPHRD_CAN; in can_setup()1312 if (dev->type != ARPHRD_CAN || dev->rtnl_link_ops != &can_link_ops) in safe_candev_priv()
1069 else if(dev->type == ARPHRD_CAN) in attach_one_default_qdisc()
1070 dev->type = ARPHRD_CAN; /* the netdevice hardware type */