Searched refs:ARPHRD_CAN (Results 1 – 11 of 11) sorted by relevance
226 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()
316 if (dev->type != ARPHRD_CAN) in raw_notifier()447 if (dev->type != ARPHRD_CAN) { in raw_bind()
1337 if (dev->type != ARPHRD_CAN) { in bcm_sendmsg()1455 if (dev->type != ARPHRD_CAN) in bcm_notifier()1609 if (dev->type != ARPHRD_CAN) { in bcm_connect()
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()
1271 if (dev->type != ARPHRD_CAN) { in isotp_bind()1551 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()
216 dev->type = ARPHRD_CAN; in can_setup()546 if (dev->type != ARPHRD_CAN || dev->rtnl_link_ops != &can_link_ops) in safe_candev_priv()
1148 else if(dev->type == ARPHRD_CAN) in attach_one_default_qdisc()
1107 dev->type = ARPHRD_CAN; /* the netdevice hardware type */