Searched refs:ARPHRD_CAN (Results 1 – 11 of 11) sorted by relevance
229 if (unlikely(skb->dev->type != ARPHRD_CAN)) { in can_send()455 if (dev && (dev->type != ARPHRD_CAN || !can_get_ml_priv(dev))) in can_rx_register()522 if (dev && dev->type != ARPHRD_CAN) in can_rx_unregister()682 if (unlikely(dev->type != ARPHRD_CAN || !can_get_ml_priv(dev) || !can_is_can_skb(skb))) { in can_rcv()697 if (unlikely(dev->type != ARPHRD_CAN || !can_get_ml_priv(dev) || !can_is_canfd_skb(skb))) { in canfd_rcv()712 if (unlikely(dev->type != ARPHRD_CAN || !can_get_ml_priv(dev) || !can_is_canxl_skb(skb))) { in canxl_rcv()
606 if (dev->type != ARPHRD_CAN) in cgw_notifier()1157 if (gwj->src.dev->type != ARPHRD_CAN) in cgw_create_job()1165 if (gwj->dst.dev->type != ARPHRD_CAN) in cgw_create_job()
344 if (dev->type != ARPHRD_CAN) in raw_notifier()478 if (dev->type != ARPHRD_CAN) { in raw_bind()
1408 if (dev->type != ARPHRD_CAN) { in bcm_sendmsg()1532 if (dev->type != ARPHRD_CAN) in bcm_notifier()1687 if (dev->type != ARPHRD_CAN) { in bcm_connect()
1310 if (dev->type != ARPHRD_CAN) { in isotp_bind()1588 if (dev->type != ARPHRD_CAN) in isotp_notifier()
56 #define ARPHRD_CAN 280 /* Controller Area Network */ macro
158 dev->type = ARPHRD_CAN; in vcan_setup()
158 dev->type = ARPHRD_CAN; in vxcan_setup()
235 dev->type = ARPHRD_CAN; in can_setup()583 if (dev->type != ARPHRD_CAN || dev->rtnl_link_ops != &can_link_ops) in safe_candev_priv()
1172 else if(dev->type == ARPHRD_CAN) in attach_one_default_qdisc()
1109 dev->type = ARPHRD_CAN; /* the netdevice hardware type */