fou.h 631 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /* fou.h - FOU Interface */
  2. #ifndef _LINUX_FOU_H
  3. #define _LINUX_FOU_H
  4. /* NETLINK_GENERIC related info
  5. */
  6. #define FOU_GENL_NAME "fou"
  7. #define FOU_GENL_VERSION 0x1
  8. enum {
  9. FOU_ATTR_UNSPEC,
  10. FOU_ATTR_PORT, /* u16 */
  11. FOU_ATTR_AF, /* u8 */
  12. FOU_ATTR_IPPROTO, /* u8 */
  13. FOU_ATTR_TYPE, /* u8 */
  14. FOU_ATTR_REMCSUM_NOPARTIAL, /* flag */
  15. __FOU_ATTR_MAX,
  16. };
  17. #define FOU_ATTR_MAX (__FOU_ATTR_MAX - 1)
  18. enum {
  19. FOU_CMD_UNSPEC,
  20. FOU_CMD_ADD,
  21. FOU_CMD_DEL,
  22. FOU_CMD_GET,
  23. __FOU_CMD_MAX,
  24. };
  25. enum {
  26. FOU_ENCAP_UNSPEC,
  27. FOU_ENCAP_DIRECT,
  28. FOU_ENCAP_GUE,
  29. };
  30. #define FOU_CMD_MAX (__FOU_CMD_MAX - 1)
  31. #endif /* _LINUX_FOU_H */