netconf.h 500 B

1234567891011121314151617181920212223242526
  1. #ifndef _UAPI_LINUX_NETCONF_H_
  2. #define _UAPI_LINUX_NETCONF_H_
  3. #include <linux/types.h>
  4. #include <linux/netlink.h>
  5. struct netconfmsg {
  6. __u8 ncm_family;
  7. };
  8. enum {
  9. NETCONFA_UNSPEC,
  10. NETCONFA_IFINDEX,
  11. NETCONFA_FORWARDING,
  12. NETCONFA_RP_FILTER,
  13. NETCONFA_MC_FORWARDING,
  14. NETCONFA_PROXY_NEIGH,
  15. NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN,
  16. __NETCONFA_MAX
  17. };
  18. #define NETCONFA_MAX (__NETCONFA_MAX - 1)
  19. #define NETCONFA_IFINDEX_ALL -1
  20. #define NETCONFA_IFINDEX_DEFAULT -2
  21. #endif /* _UAPI_LINUX_NETCONF_H_ */