Searched refs:can_ifindex (Results 1 – 9 of 9) sorted by relevance
435 if (!addr->can_ifindex) in j1939_sk_sanity_check()468 if (jsk->ifindex != addr->can_ifindex) { in j1939_sk_bind()480 ndev = dev_get_by_index(net, addr->can_ifindex); in j1939_sk_bind()512 jsk->ifindex = addr->can_ifindex; in j1939_sk_bind()565 if (jsk->ifindex != addr->can_ifindex) { in j1939_sk_connect()601 addr->can_ifindex = jsk->ifindex; in j1939_sk_sock2sockaddr_can()867 paddr->can_ifindex = skb->skb_iif; in j1939_sk_recvmsg()1267 if (addr->can_ifindex && addr->can_ifindex != ifindex) { in j1939_sk_sendmsg()
65 #define RAW_MIN_NAMELEN CAN_REQUIRED_SIZE(struct sockaddr_can, can_ifindex)200 addr->can_ifindex = skb->dev->ifindex; in raw_rcv()471 if (ro->bound && addr->can_ifindex == ro->ifindex) in raw_bind()474 if (addr->can_ifindex) { in raw_bind()475 dev = dev_get_by_index(sock_net(sk), addr->can_ifindex); in raw_bind()550 addr->can_ifindex = ro->ifindex; in raw_getname()941 ifindex = addr->can_ifindex; in raw_sendmsg()
93 #define BCM_MIN_NAMELEN CAN_REQUIRED_SIZE(struct sockaddr_can, can_ifindex)421 addr->can_ifindex = op->rx_ifindex; in bcm_send_to_user()1411 ifindex = addr->can_ifindex; in bcm_sendmsg()1691 if (addr->can_ifindex) { in bcm_connect()1694 dev = dev_get_by_index(net, addr->can_ifindex); in bcm_connect()
292 addr->can_ifindex = skb->dev->ifindex; in isotp_rcv_skb()1302 if (!addr->can_ifindex) in isotp_bind()1318 dev = dev_get_by_index(net, addr->can_ifindex); in isotp_bind()1380 addr->can_ifindex = so->ifindex; in isotp_getname()
249 int can_ifindex; member
112 int can_ifindex;119 * ``can_family`` and ``can_ifindex`` serve the same purpose as for other371 addr.can_ifindex = if_nametoindex("can0");
289 int can_ifindex;305 ``can_family`` & ``can_ifindex`` serve the same purpose as for other SocketCAN sockets.902 .can_ifindex = if_nametoindex("can0"),976 .can_ifindex = if_nametoindex("can0"),1045 - The ``can_ifindex`` is incorrect.1062 be found for the provided ``can_ifindex`` or if ``can_ifindex`` is 0.
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;767 addr.can_ifindex = ifr.ifr_ifindex;781 socket messages the originating CAN interface is provided in can_ifindex.
79 addr.can_ifindex = ifr.ifr_ifindex; in FIXTURE_SETUP()