logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

if_caif.h (1041B)


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