2 * include/net/net_vrf.h - adds vrf dev structure definitions
3 * Copyright (c) 2015 Cumulus Networks
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
11 #ifndef __LINUX_NET_VRF_H
12 #define __LINUX_NET_VRF_H
16 int ifindex; /* ifindex of master dev */
17 u32 tb_id; /* table id for VRF */
21 struct list_head list;
22 struct net_device *dev;
26 struct list_head all_slaves;
30 struct slave_queue queue;
35 #endif /* __LINUX_NET_VRF_H */