Searched refs:can_ifindex (Results 1 – 10 of 10) sorted by relevance
63 #define RAW_MIN_NAMELEN CAN_REQUIRED_SIZE(struct sockaddr_can, can_ifindex)171 addr->can_ifindex = skb->dev->ifindex; in raw_rcv()433 if (ro->bound && addr->can_ifindex == ro->ifindex) in raw_bind()436 if (addr->can_ifindex) { in raw_bind()439 dev = dev_get_by_index(sock_net(sk), addr->can_ifindex); in raw_bind()509 addr->can_ifindex = ro->ifindex; in raw_getname()785 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()1323 ifindex = addr->can_ifindex; in bcm_sendmsg()1596 if (addr->can_ifindex) { in bcm_connect()1599 dev = dev_get_by_index(net, addr->can_ifindex); in bcm_connect()
255 addr->can_ifindex = skb->dev->ifindex; in isotp_rcv_skb()1142 if (!addr->can_ifindex) in isotp_bind()1162 dev = dev_get_by_index(net, addr->can_ifindex); in isotp_bind()1217 addr->can_ifindex = so->ifindex; in isotp_getname()
421 if (!addr->can_ifindex) in j1939_sk_sanity_check()454 if (jsk->ifindex != addr->can_ifindex) { in j1939_sk_bind()466 ndev = dev_get_by_index(net, addr->can_ifindex); in j1939_sk_bind()492 jsk->ifindex = addr->can_ifindex; in j1939_sk_bind()542 if (jsk->ifindex != addr->can_ifindex) { in j1939_sk_connect()578 addr->can_ifindex = jsk->ifindex; in j1939_sk_sock2sockaddr_can()841 paddr->can_ifindex = skb->skb_iif; in j1939_sk_recvmsg()1154 if (addr->can_ifindex && addr->can_ifindex != ifindex) { in j1939_sk_sendmsg()
103 addr.can_ifindex = ifr.ifr_ifindex; in canfd_recv()193 addr.can_ifindex = ifr.ifr_ifindex; in main()
172 int can_ifindex; member
173 int can_ifindex; member
167 int can_ifindex;183 ``can_family`` & ``can_ifindex`` serve the same purpose as for other SocketCAN sockets.327 .can_ifindex = if_nametoindex("can0"),401 .can_ifindex = if_nametoindex("can0"),
258 int can_ifindex;282 addr.can_ifindex = ifr.ifr_ifindex;322 (addr.can_ifindex = 0) it is recommended to use recvfrom(2) if the336 ifr.ifr_ifindex = addr.can_ifindex;347 addr.can_ifindex = ifr.ifr_ifindex;730 addr.can_ifindex = ifr.ifr_ifindex;744 socket messages the originating CAN interface is provided in can_ifindex.