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_WRAPPER_H
12 #define __LINUX_NET_VRF_WRAPPER_H
14 #include <linux/version.h>
16 #if LINUX_VERSION_CODE >= KERNEL_VERSION(4,3,0)
17 #include_next <net/vrf.h>
20 static inline int vrf_master_ifindex_rcu(const struct net_device *dev)
26 #endif /* __LINUX_NET_VRF_WRAPPER_H */