1d900082bSNicolas Dichtel #ifndef _UAPI_LINUX_NETCONF_H_ 2d900082bSNicolas Dichtel #define _UAPI_LINUX_NETCONF_H_ 3d900082bSNicolas Dichtel 4d900082bSNicolas Dichtel #include <linux/types.h> 5d900082bSNicolas Dichtel #include <linux/netlink.h> 6d900082bSNicolas Dichtel 7d900082bSNicolas Dichtel struct netconfmsg { 8d900082bSNicolas Dichtel __u8 ncm_family; 9d900082bSNicolas Dichtel }; 10d900082bSNicolas Dichtel 11d900082bSNicolas Dichtel enum { 12d900082bSNicolas Dichtel NETCONFA_UNSPEC, 13d900082bSNicolas Dichtel NETCONFA_IFINDEX, 14d900082bSNicolas Dichtel NETCONFA_FORWARDING, 15cc535dfbSNicolas Dichtel NETCONFA_RP_FILTER, 16d67b8c61SNicolas Dichtel NETCONFA_MC_FORWARDING, 1709aea5dfSstephen hemminger NETCONFA_PROXY_NEIGH, 18*974d7af5SAndy Gospodarek NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN, 19d900082bSNicolas Dichtel __NETCONFA_MAX 20d900082bSNicolas Dichtel }; 21d900082bSNicolas Dichtel #define NETCONFA_MAX (__NETCONFA_MAX - 1) 22d900082bSNicolas Dichtel 23d900082bSNicolas Dichtel #define NETCONFA_IFINDEX_ALL -1 24d900082bSNicolas Dichtel #define NETCONFA_IFINDEX_DEFAULT -2 25d900082bSNicolas Dichtel 26d900082bSNicolas Dichtel #endif /* _UAPI_LINUX_NETCONF_H_ */ 27