Searched refs:ARPHRD_CAN (Results 1 – 11 of 11) sorted by relevance
227 if (unlikely(skb->dev->type != ARPHRD_CAN)) { in can_send()453 if (dev && (dev->type != ARPHRD_CAN || !can_get_ml_priv(dev))) in can_rx_register()520 if (dev && dev->type != ARPHRD_CAN) in can_rx_unregister()680 if (unlikely(dev->type != ARPHRD_CAN || !can_get_ml_priv(dev) || !can_is_can_skb(skb))) { in can_rcv()695 if (unlikely(dev->type != ARPHRD_CAN || !can_get_ml_priv(dev) || !can_is_canfd_skb(skb))) { in canfd_rcv()710 if (unlikely(dev->type != ARPHRD_CAN || !can_get_ml_priv(dev) || !can_is_canxl_skb(skb))) { in canxl_rcv()
321 if (dev->type != ARPHRD_CAN) in raw_notifier()452 if (dev->type != ARPHRD_CAN) { in raw_bind()
593 if (dev->type != ARPHRD_CAN) in cgw_notifier()1131 if (gwj->src.dev->type != ARPHRD_CAN) in cgw_create_job()1139 if (gwj->dst.dev->type != ARPHRD_CAN) in cgw_create_job()
1341 if (dev->type != ARPHRD_CAN) { in bcm_sendmsg()1465 if (dev->type != ARPHRD_CAN) in bcm_notifier()1619 if (dev->type != ARPHRD_CAN) { in bcm_connect()
1307 if (dev->type != ARPHRD_CAN) { in isotp_bind()1585 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()
218 dev->type = ARPHRD_CAN; in can_setup()569 if (dev->type != ARPHRD_CAN || dev->rtnl_link_ops != &can_link_ops) in safe_candev_priv()
1170 else if(dev->type == ARPHRD_CAN) in attach_one_default_qdisc()
1107 dev->type = ARPHRD_CAN; /* the netdevice hardware type */