Searched refs:can_ifindex (Results 1 – 8 of 8) sorted by relevance
64 #define RAW_MIN_NAMELEN CAN_REQUIRED_SIZE(struct sockaddr_can, can_ifindex)175 addr->can_ifindex = skb->dev->ifindex; in raw_rcv()443 if (ro->bound && addr->can_ifindex == ro->ifindex) in raw_bind()446 if (addr->can_ifindex) { in raw_bind()447 dev = dev_get_by_index(sock_net(sk), addr->can_ifindex); in raw_bind()523 addr->can_ifindex = ro->ifindex; in raw_getname()849 ifindex = addr->can_ifindex; in raw_sendmsg()
89 #define BCM_MIN_NAMELEN CAN_REQUIRED_SIZE(struct sockaddr_can, can_ifindex)367 addr->can_ifindex = op->rx_ifindex; in bcm_send_to_user()1332 ifindex = addr->can_ifindex; in bcm_sendmsg()1611 if (addr->can_ifindex) { in bcm_connect()1614 dev = dev_get_by_index(net, addr->can_ifindex); in bcm_connect()
285 addr->can_ifindex = skb->dev->ifindex; in isotp_rcv_skb()1286 if (!addr->can_ifindex) in isotp_bind()1302 dev = dev_get_by_index(net, addr->can_ifindex); in isotp_bind()1364 addr->can_ifindex = so->ifindex; in isotp_getname()
433 if (!addr->can_ifindex) in j1939_sk_sanity_check()466 if (jsk->ifindex != addr->can_ifindex) { in j1939_sk_bind()478 ndev = dev_get_by_index(net, addr->can_ifindex); in j1939_sk_bind()504 jsk->ifindex = addr->can_ifindex; in j1939_sk_bind()554 if (jsk->ifindex != addr->can_ifindex) { in j1939_sk_connect()590 addr->can_ifindex = jsk->ifindex; in j1939_sk_sock2sockaddr_can()855 paddr->can_ifindex = skb->skb_iif; in j1939_sk_recvmsg()1250 if (addr->can_ifindex && addr->can_ifindex != ifindex) { in j1939_sk_sendmsg()
243 int can_ifindex; member
205 int can_ifindex;221 ``can_family`` & ``can_ifindex`` serve the same purpose as for other SocketCAN sockets.365 .can_ifindex = if_nametoindex("can0"),439 .can_ifindex = if_nametoindex("can0"),
274 int can_ifindex;315 addr.can_ifindex = ifr.ifr_ifindex;355 (addr.can_ifindex = 0) it is recommended to use recvfrom(2) if the369 ifr.ifr_ifindex = addr.can_ifindex;380 addr.can_ifindex = ifr.ifr_ifindex;765 addr.can_ifindex = ifr.ifr_ifindex;779 socket messages the originating CAN interface is provided in can_ifindex.
221 addr.can_ifindex = ifr.ifr_ifindex; in can_host_socketcan_connect()