From fc00c656c96528112d05cf0edf8631bd5eaea446 Mon Sep 17 00:00:00 2001 From: Kacper Date: Sun, 7 Dec 2025 20:10:31 +0100 Subject: Add build system scaffolding and libc headers --- include/arch/x86_64/linux/if_addrlabel.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 include/arch/x86_64/linux/if_addrlabel.h (limited to 'include/arch/x86_64/linux/if_addrlabel.h') diff --git a/include/arch/x86_64/linux/if_addrlabel.h b/include/arch/x86_64/linux/if_addrlabel.h new file mode 100644 index 00000000..7cbb07b0 --- /dev/null +++ b/include/arch/x86_64/linux/if_addrlabel.h @@ -0,0 +1,29 @@ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * if_addrlabel.h - netlink interface for address labels + * + * Copyright (C)2007 USAGI/WIDE Project, All Rights Reserved. + * + * Authors: + * YOSHIFUJI Hideaki @ USAGI/WIDE + */ + +#ifndef __LINUX_IF_ADDRLABEL_H +#define __LINUX_IF_ADDRLABEL_H + +#include + +struct ifaddrlblmsg { + __u8 ifal_family; /* Address family */ + __u8 __ifal_reserved; /* Reserved */ + __u8 ifal_prefixlen; /* Prefix length */ + __u8 ifal_flags; /* Flags */ + __u32 ifal_index; /* Link index */ + __u32 ifal_seq; /* sequence number */ +}; + +enum { IFAL_ADDRESS = 1, IFAL_LABEL = 2, __IFAL_MAX }; + +#define IFAL_MAX (__IFAL_MAX - 1) + +#endif -- cgit v1.2.3