Home
last modified time | relevance | path

Searched refs:can_ifindex (Results 1 – 7 of 7) sorted by relevance

/linux/include/uapi/linux/
H A Dcan.h249 int can_ifindex; member
/linux/net/can/
H A Dbcm.c93 #define BCM_MIN_NAMELEN CAN_REQUIRED_SIZE(struct sockaddr_can, can_ifindex)
420 addr->can_ifindex = op->rx_ifindex; in bcm_send_to_user()
1410 ifindex = addr->can_ifindex; in bcm_sendmsg()
1690 if (addr->can_ifindex) { in bcm_connect()
1693 dev = dev_get_by_index(net, addr->can_ifindex); in bcm_connect()
H A Disotp.c292 addr->can_ifindex = skb->dev->ifindex; in isotp_rcv_skb()
1303 if (!addr->can_ifindex) in isotp_bind()
1319 dev = dev_get_by_index(net, addr->can_ifindex); in isotp_bind()
1381 addr->can_ifindex = so->ifindex; in isotp_getname()
/linux/Documentation/networking/
H A Diso15765-2.rst112 int can_ifindex;
119 * ``can_family`` and ``can_ifindex`` serve the same purpose as for other
371 addr.can_ifindex = if_nametoindex("can0");
H A Dj1939.rst289 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.
H A Dcan.rst274 int can_ifindex;
315 addr.can_ifindex = ifr.ifr_ifindex;
355 (addr.can_ifindex = 0) it is recommended to use recvfrom(2) if the
369 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.
/linux/tools/testing/selftests/net/can/
H A Dtest_raw_filter.c79 addr.can_ifindex = ifr.ifr_ifindex; in FIXTURE_SETUP()