if_addrlabel.h 658 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * if_addrlabel.h - netlink interface for address labels
  3. *
  4. * Copyright (C)2007 USAGI/WIDE Project, All Rights Reserved.
  5. *
  6. * Authors:
  7. * YOSHIFUJI Hideaki @ USAGI/WIDE <yoshfuji@linux-ipv6.org>
  8. */
  9. #ifndef __LINUX_IF_ADDRLABEL_H
  10. #define __LINUX_IF_ADDRLABEL_H
  11. #include <linux/types.h>
  12. struct ifaddrlblmsg {
  13. __u8 ifal_family; /* Address family */
  14. __u8 __ifal_reserved; /* Reserved */
  15. __u8 ifal_prefixlen; /* Prefix length */
  16. __u8 ifal_flags; /* Flags */
  17. __u32 ifal_index; /* Link index */
  18. __u32 ifal_seq; /* sequence number */
  19. };
  20. enum {
  21. IFAL_ADDRESS = 1,
  22. IFAL_LABEL = 2,
  23. __IFAL_MAX
  24. };
  25. #define IFAL_MAX (__IFAL_MAX - 1)
  26. #endif