Home
last modified time | relevance | path

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

/Linux-v4.19/net/can/
Draw.c170 addr->can_ifindex = skb->dev->ifindex; in raw_rcv()
409 if (ro->bound && addr->can_ifindex == ro->ifindex) in raw_bind()
412 if (addr->can_ifindex) { in raw_bind()
415 dev = dev_get_by_index(sock_net(sk), addr->can_ifindex); in raw_bind()
484 addr->can_ifindex = ro->ifindex; in raw_getname()
744 ifindex = addr->can_ifindex; in raw_sendmsg()
Dbcm.c342 addr->can_ifindex = op->rx_ifindex; in bcm_send_to_user()
1328 ifindex = addr->can_ifindex; in bcm_sendmsg()
1574 if (addr->can_ifindex) { in bcm_connect()
1577 dev = dev_get_by_index(net, addr->can_ifindex); in bcm_connect()
/Linux-v4.19/include/uapi/linux/
Dcan.h172 int can_ifindex; member
/Linux-v4.19/Documentation/networking/
Dcan.rst258 int can_ifindex;
282 addr.can_ifindex = ifr.ifr_ifindex;
322 (addr.can_ifindex = 0) it is recommended to use recvfrom(2) if the
336 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.