Lines Matching refs:ifindex
97 int ifindex; member
120 int ifindex; member
198 return vrf->ifindex; in vrf_map_elem_get_vrf_ifindex()
218 int ifindex, int users) in vrf_map_elem_init() argument
221 me->ifindex = ifindex; in vrf_map_elem_init()
284 vrf_map_elem_init(new_me, table_id, dev->ifindex, 0); in vrf_map_register_dev()
361 int ifindex; in vrf_ifindex_lookup_by_table_id() local
366 ifindex = -EPERM; in vrf_ifindex_lookup_by_table_id()
372 ifindex = -ENODEV; in vrf_ifindex_lookup_by_table_id()
376 ifindex = vrf_map_elem_get_vrf_ifindex(me); in vrf_ifindex_lookup_by_table_id()
381 return ifindex; in vrf_ifindex_lookup_by_table_id()
474 fl6.flowi6_oif = dev->ifindex; in vrf_process_v6_outbound()
553 fl4.flowi4_oif = vrf_dev->ifindex; in vrf_process_v4_outbound()
1344 int ifindex, in vrf_ip6_route_lookup() argument
1350 return ip6_pol_route(net, vrf->fib6_table, ifindex, fl6, skb, flags); in vrf_ip6_route_lookup()
1354 int ifindex) in vrf_ip6_input_dst() argument
1358 .flowi6_iif = ifindex, in vrf_ip6_input_dst()
1368 rt6 = vrf_ip6_route_lookup(net, vrf_dev, &fl6, ifindex, skb, in vrf_ip6_input_dst()
1393 skb->skb_iif = vrf_dev->ifindex; in vrf_ip6_rcv()
1410 skb->skb_iif = vrf_dev->ifindex; in vrf_ip6_rcv()
1450 skb->skb_iif = vrf_dev->ifindex; in vrf_ip_rcv()
1516 if (fl6->flowi6_oif == dev->ifindex) { in vrf_link_scope_lookup()
1772 vrf->ifindex = dev->ifindex; in vrf_newlink()