Lines Matching refs:ifindex
139 int ifindex; member
211 dev = dev_get_by_index(sock_net(sk), so->ifindex); in isotp_send_fc()
218 can_skb_prv(nskb)->ifindex = dev->ifindex; in isotp_send_fc()
272 addr->can_ifindex = skb->dev->ifindex; in isotp_rcv_skb()
745 dev = dev_get_by_index(sock_net(sk), so->ifindex); in isotp_send_cframe()
756 can_skb_prv(skb)->ifindex = dev->ifindex; in isotp_send_cframe()
961 dev = dev_get_by_index(sock_net(sk), so->ifindex); in isotp_sendmsg()
975 can_skb_prv(skb)->ifindex = dev->ifindex; in isotp_sendmsg()
1173 if (so->ifindex) { in isotp_release()
1176 dev = dev_get_by_index(net, so->ifindex); in isotp_release()
1196 so->ifindex = 0; in isotp_release()
1214 int ifindex; in isotp_bind() local
1283 ifindex = dev->ifindex; in isotp_bind()
1299 so->ifindex = ifindex; in isotp_bind()
1327 addr->can_ifindex = so->ifindex; in isotp_getname()
1508 if (so->ifindex != dev->ifindex) in isotp_notify()
1526 so->ifindex = 0; in isotp_notify()
1570 so->ifindex = 0; in isotp_init()