Lines Matching refs:ifindex
152 int ifindex; member
224 dev = dev_get_by_index(sock_net(sk), so->ifindex); in isotp_send_fc()
231 can_skb_prv(nskb)->ifindex = dev->ifindex; in isotp_send_fc()
285 addr->can_ifindex = skb->dev->ifindex; in isotp_rcv_skb()
768 dev = dev_get_by_index(sock_net(sk), so->ifindex); in isotp_send_cframe()
779 can_skb_prv(skb)->ifindex = dev->ifindex; in isotp_send_cframe()
994 dev = dev_get_by_index(sock_net(sk), so->ifindex); in isotp_sendmsg()
1008 can_skb_prv(skb)->ifindex = dev->ifindex; in isotp_sendmsg()
1204 if (so->ifindex) { in isotp_release()
1207 dev = dev_get_by_index(net, so->ifindex); in isotp_release()
1227 so->ifindex = 0; in isotp_release()
1251 int ifindex; in isotp_bind() local
1320 ifindex = dev->ifindex; in isotp_bind()
1336 so->ifindex = ifindex; in isotp_bind()
1364 addr->can_ifindex = so->ifindex; in isotp_getname()
1545 if (so->ifindex != dev->ifindex) in isotp_notify()
1563 so->ifindex = 0; in isotp_notify()
1607 so->ifindex = 0; in isotp_init()