mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-23 04:17:58 +07:00
6f52b16c5b
Many user space API headers are missing licensing information, which makes it hard for compliance tools to determine the correct license. By default are files without license information under the default license of the kernel, which is GPLV2. Marking them GPLV2 would exclude them from being included in non GPLV2 code, which is obviously not intended. The user space API headers fall under the syscall exception which is in the kernels COPYING file: NOTE! This copyright does *not* cover user programs that use kernel services by normal system calls - this is merely considered normal use of the kernel, and does *not* fall under the heading of "derived work". otherwise syscall usage would not be possible. Update the files which contain no license information with an SPDX license identifier. The chosen identifier is 'GPL-2.0 WITH Linux-syscall-note' which is the officially assigned identifier for the Linux syscall exception. SPDX license identifiers are a legally binding shorthand, which can be used instead of the full boiler plate text. This patch is based on work done by Thomas Gleixner and Kate Stewart and Philippe Ombredanne. See the previous patch in this series for the methodology of how this patch was researched. Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org> Reviewed-by: Philippe Ombredanne <pombredanne@nexb.com> Reviewed-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
43 lines
1.3 KiB
C
43 lines
1.3 KiB
C
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
/* atmarp.h - ATM ARP protocol and kernel-demon interface definitions */
|
|
|
|
/* Written 1995-1999 by Werner Almesberger, EPFL LRC/ICA */
|
|
|
|
|
|
#ifndef _LINUX_ATMARP_H
|
|
#define _LINUX_ATMARP_H
|
|
|
|
#include <linux/types.h>
|
|
#include <linux/atmapi.h>
|
|
#include <linux/atmioc.h>
|
|
|
|
|
|
#define ATMARP_RETRY_DELAY 30 /* request next resolution or forget
|
|
NAK after 30 sec - should go into
|
|
atmclip.h */
|
|
#define ATMARP_MAX_UNRES_PACKETS 5 /* queue that many packets while
|
|
waiting for the resolver */
|
|
|
|
|
|
#define ATMARPD_CTRL _IO('a',ATMIOC_CLIP+1) /* become atmarpd ctrl sock */
|
|
#define ATMARP_MKIP _IO('a',ATMIOC_CLIP+2) /* attach socket to IP */
|
|
#define ATMARP_SETENTRY _IO('a',ATMIOC_CLIP+3) /* fill or hide ARP entry */
|
|
#define ATMARP_ENCAP _IO('a',ATMIOC_CLIP+5) /* change encapsulation */
|
|
|
|
|
|
enum atmarp_ctrl_type {
|
|
act_invalid, /* catch uninitialized structures */
|
|
act_need, /* need address resolution */
|
|
act_up, /* interface is coming up */
|
|
act_down, /* interface is going down */
|
|
act_change /* interface configuration has changed */
|
|
};
|
|
|
|
struct atmarp_ctrl {
|
|
enum atmarp_ctrl_type type; /* message type */
|
|
int itf_num;/* interface number (if present) */
|
|
__be32 ip; /* IP address (act_need only) */
|
|
};
|
|
|
|
#endif
|