if_caif.h 978 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * Copyright (C) ST-Ericsson AB 2010
  3. * Author: Sjur Brendeland
  4. * License terms: GNU General Public License (GPL) version 2
  5. */
  6. #ifndef IF_CAIF_H_
  7. #define IF_CAIF_H_
  8. #include <linux/sockios.h>
  9. #include <linux/types.h>
  10. #include <linux/socket.h>
  11. /**
  12. * enum ifla_caif - CAIF NetlinkRT parameters.
  13. * @IFLA_CAIF_IPV4_CONNID: Connection ID for IPv4 PDP Context.
  14. * The type of attribute is NLA_U32.
  15. * @IFLA_CAIF_IPV6_CONNID: Connection ID for IPv6 PDP Context.
  16. * The type of attribute is NLA_U32.
  17. * @IFLA_CAIF_LOOPBACK: If different from zero, device is doing loopback
  18. * The type of attribute is NLA_U8.
  19. *
  20. * When using RT Netlink to create, destroy or configure a CAIF IP interface,
  21. * enum ifla_caif is used to specify the configuration attributes.
  22. */
  23. enum ifla_caif {
  24. __IFLA_CAIF_UNSPEC,
  25. IFLA_CAIF_IPV4_CONNID,
  26. IFLA_CAIF_IPV6_CONNID,
  27. IFLA_CAIF_LOOPBACK,
  28. __IFLA_CAIF_MAX
  29. };
  30. #define IFLA_CAIF_MAX (__IFLA_CAIF_MAX-1)
  31. #endif /*IF_CAIF_H_*/