Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / include / uapi / linux / if_addrlabel.h
blobd1f5974c76e105a4c4a2c9eff8c3b03f704dd95e
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /*
3 * if_addrlabel.h - netlink interface for address labels
5 * Copyright (C)2007 USAGI/WIDE Project, All Rights Reserved.
7 * Authors:
8 * YOSHIFUJI Hideaki @ USAGI/WIDE <yoshfuji@linux-ipv6.org>
9 */
11 #ifndef __LINUX_IF_ADDRLABEL_H
12 #define __LINUX_IF_ADDRLABEL_H
14 #include <linux/types.h>
16 struct ifaddrlblmsg {
17 __u8 ifal_family; /* Address family */
18 __u8 __ifal_reserved; /* Reserved */
19 __u8 ifal_prefixlen; /* Prefix length */
20 __u8 ifal_flags; /* Flags */
21 __u32 ifal_index; /* Link index */
22 __u32 ifal_seq; /* sequence number */
25 enum {
26 IFAL_ADDRESS = 1,
27 IFAL_LABEL = 2,
28 __IFAL_MAX
31 #define IFAL_MAX (__IFAL_MAX - 1)
33 #endif