/* * include/net/net_vrf.h - adds vrf dev structure definitions * Copyright (c) 2015 Cumulus Networks * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. */#ifndef __LINUX_NET_VRF_H#define __LINUX_NET_VRF_Hstructnet_vrf_dev{structrcu_headrcu;intifindex;/* ifindex of master dev */u32tb_id;/* table id for VRF */};structslave{structlist_headlist;structnet_device*dev;};structslave_queue{structlist_headall_slaves;};structnet_vrf{structslave_queuequeue;structrtable*rth;u32tb_id;};#endif /* __LINUX_NET_VRF_H */