Chris requested this backmerge for a reconciliation on drm_print.h between drm-misc-next and drm-intel-next-queued
Showing the changes to include/uapi/linux (648 of 22799 files). Show all
Unified · Split
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI__A_OUT_GNU_H__ | 2 | #ifndef _UAPI__A_OUT_GNU_H__ |
| 2 | #define _UAPI__A_OUT_GNU_H__ | 3 | #define _UAPI__A_OUT_GNU_H__ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * BSD Process Accounting for Linux - Definitions | 3 | * BSD Process Accounting for Linux - Definitions |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Definitions for ADB (Apple Desktop Bus) support. | 3 | * Definitions for ADB (Apple Desktop Bus) support. |
| 3 | */ | 4 | */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_ADFS_FS_H | 2 | #ifndef _UAPI_ADFS_FS_H |
| 2 | #define _UAPI_ADFS_FS_H | 3 | #define _UAPI_ADFS_FS_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef AFFS_HARDBLOCKS_H | 2 | #ifndef AFFS_HARDBLOCKS_H |
| 2 | #define AFFS_HARDBLOCKS_H | 3 | #define AFFS_HARDBLOCKS_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2013 - 2014 Texas Instruments, Inc. | 3 | * Copyright (C) 2013 - 2014 Texas Instruments, Inc. |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2008 Google, Inc. | 3 | * Copyright (C) 2008 Google, Inc. |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Include file for the interface to an APM BIOS | 3 | * Include file for the interface to an APM BIOS |
| 3 | * Copyright 1994-2001 Stephen Rothwell (sfr@canb.auug.org.au) | 4 | * Copyright 1994-2001 Stephen Rothwell (sfr@canb.auug.org.au) |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_ARCFB_H__ | 2 | #ifndef __LINUX_ARCFB_H__ |
| 2 | #define __LINUX_ARCFB_H__ | 3 | #define __LINUX_ARCFB_H__ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2017 IBM Corp. | 3 | * Copyright 2017 IBM Corp. |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI__LINUX_ATALK_H__ | 2 | #ifndef _UAPI__LINUX_ATALK_H__ |
| 2 | #define _UAPI__LINUX_ATALK_H__ | 3 | #define _UAPI__LINUX_ATALK_H__ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* atm.h - general ATM declarations */ | 2 | /* atm.h - general ATM declarations */ |
| 2 | 3 | ||
| 3 | /* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */ | 4 | /* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* atm_eni.h - Driver-specific declarations of the ENI driver (for use by | 2 | /* atm_eni.h - Driver-specific declarations of the ENI driver (for use by |
| 2 | driver-specific utilities) */ | 3 | driver-specific utilities) */ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* atm_he.h */ | 2 | /* atm_he.h */ |
| 2 | 3 | ||
| 3 | #ifndef LINUX_ATM_HE_H | 4 | #ifndef LINUX_ATM_HE_H |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* atm_idt77105.h - Driver-specific declarations of the IDT77105 driver (for | 2 | /* atm_idt77105.h - Driver-specific declarations of the IDT77105 driver (for |
| 2 | * use by driver-specific utilities) */ | 3 | * use by driver-specific utilities) */ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /****************************************************************************** | 2 | /****************************************************************************** |
| 2 | * | 3 | * |
| 3 | * atm_nicstar.h | 4 | * atm_nicstar.h |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* atm_tcp.h - Driver-specific declarations of the ATMTCP driver (for use by | 2 | /* atm_tcp.h - Driver-specific declarations of the ATMTCP driver (for use by |
| 2 | driver-specific utilities) */ | 3 | driver-specific utilities) */ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* atm_zatm.h - Driver-specific declarations of the ZATM driver (for use by | 2 | /* atm_zatm.h - Driver-specific declarations of the ZATM driver (for use by |
| 2 | driver-specific utilities) */ | 3 | driver-specific utilities) */ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* atmapi.h - ATM API user space/kernel compatibility */ | 2 | /* atmapi.h - ATM API user space/kernel compatibility */ |
| 2 | 3 | ||
| 3 | /* Written 1999,2000 by Werner Almesberger, EPFL ICA */ | 4 | /* Written 1999,2000 by Werner Almesberger, EPFL ICA */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* atmarp.h - ATM ARP protocol and kernel-demon interface definitions */ | 2 | /* atmarp.h - ATM ARP protocol and kernel-demon interface definitions */ |
| 2 | 3 | ||
| 3 | /* Written 1995-1999 by Werner Almesberger, EPFL LRC/ICA */ | 4 | /* Written 1995-1999 by Werner Almesberger, EPFL LRC/ICA */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _LINUX_ATMBR2684_H | 2 | #ifndef _LINUX_ATMBR2684_H |
| 2 | #define _LINUX_ATMBR2684_H | 3 | #define _LINUX_ATMBR2684_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* atmclip.h - Classical IP over ATM */ | 2 | /* atmclip.h - Classical IP over ATM */ |
| 2 | 3 | ||
| 3 | /* Written 1995-1998 by Werner Almesberger, EPFL LRC/ICA */ | 4 | /* Written 1995-1998 by Werner Almesberger, EPFL LRC/ICA */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* atmdev.h - ATM device driver declarations and various related items */ | 2 | /* atmdev.h - ATM device driver declarations and various related items */ |
| 2 | 3 | ||
| 3 | /* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */ | 4 | /* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* atmioc.h - ranges for ATM-related ioctl numbers */ | 2 | /* atmioc.h - ranges for ATM-related ioctl numbers */ |
| 2 | 3 | ||
| 3 | /* Written 1995-1999 by Werner Almesberger, EPFL LRC/ICA */ | 4 | /* Written 1995-1999 by Werner Almesberger, EPFL LRC/ICA */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * ATM Lan Emulation Daemon driver interface | 3 | * ATM Lan Emulation Daemon driver interface |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _ATMMPC_H_ | 2 | #ifndef _ATMMPC_H_ |
| 2 | #define _ATMMPC_H_ | 3 | #define _ATMMPC_H_ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* atmppp.h - RFC2364 PPPoATM */ | 2 | /* atmppp.h - RFC2364 PPPoATM */ |
| 2 | 3 | ||
| 3 | /* Written 2000 by Mitchell Blank Jr */ | 4 | /* Written 2000 by Mitchell Blank Jr */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* atmsap.h - ATM Service Access Point addressing definitions */ | 2 | /* atmsap.h - ATM Service Access Point addressing definitions */ |
| 2 | 3 | ||
| 3 | /* Written 1995-1999 by Werner Almesberger, EPFL LRC/ICA */ | 4 | /* Written 1995-1999 by Werner Almesberger, EPFL LRC/ICA */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* atmsvc.h - ATM signaling kernel-demon interface definitions */ | 2 | /* atmsvc.h - ATM signaling kernel-demon interface definitions */ |
| 2 | 3 | ||
| 3 | /* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */ | 4 | /* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* audit.h -- Auditing support | 2 | /* audit.h -- Auditing support |
| 2 | * | 3 | * |
| 3 | * Copyright 2003-2004 Red Hat Inc., Durham, North Carolina. | 4 | * Copyright 2003-2004 Red Hat Inc., Durham, North Carolina. |
| @@ -112,6 +113,7 @@ · 108 unmodified lines | |||
| 112 | #define AUDIT_FEATURE_CHANGE 1328 /* audit log listing feature changes */ | 113 | #define AUDIT_FEATURE_CHANGE 1328 /* audit log listing feature changes */ |
| 113 | #define AUDIT_REPLACE 1329 /* Replace auditd if this packet unanswerd */ | 114 | #define AUDIT_REPLACE 1329 /* Replace auditd if this packet unanswerd */ |
| 114 | #define AUDIT_KERN_MODULE 1330 /* Kernel Module events */ | 115 | #define AUDIT_KERN_MODULE 1330 /* Kernel Module events */ |
| 116 | #define AUDIT_FANOTIFY 1331 /* Fanotify access decision */ | ||
| 115 | 117 | ||
| 116 | #define AUDIT_AVC 1400 /* SE Linux avc denial or grant */ | 118 | #define AUDIT_AVC 1400 /* SE Linux avc denial or grant */ |
| 117 | #define AUDIT_SELINUX_ERR 1401 /* Internal SE Linux Errors */ | 119 | #define AUDIT_SELINUX_ERR 1401 /* Internal SE Linux Errors */ |
| @@ -155,8 +157,9 @@ · 37 unmodified lines | |||
| 155 | #define AUDIT_FILTER_WATCH 0x03 /* Apply rule to file system watches */ | 157 | #define AUDIT_FILTER_WATCH 0x03 /* Apply rule to file system watches */ |
| 156 | #define AUDIT_FILTER_EXIT 0x04 /* Apply rule at syscall exit */ | 158 | #define AUDIT_FILTER_EXIT 0x04 /* Apply rule at syscall exit */ |
| 157 | #define AUDIT_FILTER_TYPE 0x05 /* Apply rule at audit_log_start */ | 159 | #define AUDIT_FILTER_TYPE 0x05 /* Apply rule at audit_log_start */ |
| 160 | #define AUDIT_FILTER_FS 0x06 /* Apply rule at __audit_inode_child */ | ||
| 158 | 161 | ||
| 159 | #define AUDIT_NR_FILTERS 6 | 162 | #define AUDIT_NR_FILTERS 7 |
| 160 | 163 | ||
| 161 | #define AUDIT_FILTER_PREPEND 0x10 /* Prepend to front of list */ | 164 | #define AUDIT_FILTER_PREPEND 0x10 /* Prepend to front of list */ |
| 162 | 165 | ||
| @@ -256,6 +259,7 @@ · 93 unmodified lines | |||
| 256 | #define AUDIT_OBJ_LEV_HIGH 23 | 259 | #define AUDIT_OBJ_LEV_HIGH 23 |
| 257 | #define AUDIT_LOGINUID_SET 24 | 260 | #define AUDIT_LOGINUID_SET 24 |
| 258 | #define AUDIT_SESSIONID 25 /* Session ID */ | 261 | #define AUDIT_SESSIONID 25 /* Session ID */ |
| 262 | #define AUDIT_FSTYPE 26 /* FileSystem Type */ | ||
| 259 | 263 | ||
| 260 | /* These are ONLY useful when checking | 264 | /* These are ONLY useful when checking |
| 261 | * at syscall exit time (AUDIT_AT_EXIT). */ | 265 | * at syscall exit time (AUDIT_AT_EXIT). */ |
| @@ -335,13 +339,15 @@ enum { · 73 unmodified lines | |||
| 335 | #define AUDIT_FEATURE_BITMAP_EXCLUDE_EXTEND 0x00000008 | 339 | #define AUDIT_FEATURE_BITMAP_EXCLUDE_EXTEND 0x00000008 |
| 336 | #define AUDIT_FEATURE_BITMAP_SESSIONID_FILTER 0x00000010 | 340 | #define AUDIT_FEATURE_BITMAP_SESSIONID_FILTER 0x00000010 |
| 337 | #define AUDIT_FEATURE_BITMAP_LOST_RESET 0x00000020 | 341 | #define AUDIT_FEATURE_BITMAP_LOST_RESET 0x00000020 |
| 342 | #define AUDIT_FEATURE_BITMAP_FILTER_FS 0x00000040 | ||
| 338 | 343 | ||
| 339 | #define AUDIT_FEATURE_BITMAP_ALL (AUDIT_FEATURE_BITMAP_BACKLOG_LIMIT | \ | 344 | #define AUDIT_FEATURE_BITMAP_ALL (AUDIT_FEATURE_BITMAP_BACKLOG_LIMIT | \ |
| 340 | AUDIT_FEATURE_BITMAP_BACKLOG_WAIT_TIME | \ | 345 | AUDIT_FEATURE_BITMAP_BACKLOG_WAIT_TIME | \ |
| 341 | AUDIT_FEATURE_BITMAP_EXECUTABLE_PATH | \ | 346 | AUDIT_FEATURE_BITMAP_EXECUTABLE_PATH | \ |
| 342 | AUDIT_FEATURE_BITMAP_EXCLUDE_EXTEND | \ | 347 | AUDIT_FEATURE_BITMAP_EXCLUDE_EXTEND | \ |
| 343 | AUDIT_FEATURE_BITMAP_SESSIONID_FILTER | \ | 348 | AUDIT_FEATURE_BITMAP_SESSIONID_FILTER | \ |
| 344 | AUDIT_FEATURE_BITMAP_LOST_RESET) | 349 | AUDIT_FEATURE_BITMAP_LOST_RESET | \ |
| 350 | AUDIT_FEATURE_BITMAP_FILTER_FS) | ||
| 345 | 351 | ||
| 346 | /* deprecated: AUDIT_VERSION_* */ | 352 | /* deprecated: AUDIT_VERSION_* */ |
| 347 | #define AUDIT_VERSION_LATEST AUDIT_FEATURE_BITMAP_ALL | 353 | #define AUDIT_VERSION_LATEST AUDIT_FEATURE_BITMAP_ALL |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2008 Red Hat, Inc. All rights reserved. | 3 | * Copyright 2008 Red Hat, Inc. All rights reserved. |
| 3 | * Copyright 2008 Ian Kent <raven@themaw.net> | 4 | * Copyright 2008 Ian Kent <raven@themaw.net> |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 1997 Transmeta Corporation - All Rights Reserved | 3 | * Copyright 1997 Transmeta Corporation - All Rights Reserved |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 1999-2000 Jeremy Fitzhardinge <jeremy@goop.org> | 3 | * Copyright 1999-2000 Jeremy Fitzhardinge <jeremy@goop.org> |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_AUXVEC_H | 2 | #ifndef _UAPI_LINUX_AUXVEC_H |
| 2 | #define _UAPI_LINUX_AUXVEC_H | 3 | #define _UAPI_LINUX_AUXVEC_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * These are the public elements of the Linux kernel AX.25 code. A similar | 3 | * These are the public elements of the Linux kernel AX.25 code. A similar |
| 3 | * file netrom.h exists for the NET/ROM protocol. | 4 | * file netrom.h exists for the NET/ROM protocol. |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* $Id: b1lli.h,v 1.8.8.3 2001/09/23 22:25:05 kai Exp $ | 2 | /* $Id: b1lli.h,v 1.8.8.3 2001/09/23 22:25:05 kai Exp $ |
| 2 | * | 3 | * |
| 3 | * ISDN lowlevel-module for AVM B1-card. | 4 | * ISDN lowlevel-module for AVM B1-card. |
| @@ -24,20 +24,6 @@ · 23 unmodified lines | |||
| 24 | 24 | ||
| 25 | /** | 25 | /** |
| 26 | * enum batadv_tt_client_flags - TT client specific flags | 26 | * enum batadv_tt_client_flags - TT client specific flags |
| 27 | * @BATADV_TT_CLIENT_DEL: the client has to be deleted from the table | ||
| 28 | * @BATADV_TT_CLIENT_ROAM: the client roamed to/from another node and the new | ||
| 29 | * update telling its new real location has not been received/sent yet | ||
| 30 | * @BATADV_TT_CLIENT_WIFI: this client is connected through a wifi interface. | ||
| 31 | * This information is used by the "AP Isolation" feature | ||
| 32 | * @BATADV_TT_CLIENT_ISOLA: this client is considered "isolated". This | ||
| 33 | * information is used by the Extended Isolation feature | ||
| 34 | * @BATADV_TT_CLIENT_NOPURGE: this client should never be removed from the table | ||
| 35 | * @BATADV_TT_CLIENT_NEW: this client has been added to the local table but has | ||
| 36 | * not been announced yet | ||
| 37 | * @BATADV_TT_CLIENT_PENDING: this client is marked for removal but it is kept | ||
| 38 | * in the table for one more originator interval for consistency purposes | ||
| 39 | * @BATADV_TT_CLIENT_TEMP: this global client has been detected to be part of | ||
| 40 | * the network but no nnode has already announced it | ||
| 41 | * | 27 | * |
| 42 | * Bits from 0 to 7 are called _remote flags_ because they are sent on the wire. | 28 | * Bits from 0 to 7 are called _remote flags_ because they are sent on the wire. |
| 43 | * Bits from 8 to 15 are called _local flags_ because they are used for local | 29 | * Bits from 8 to 15 are called _local flags_ because they are used for local |
| @@ -48,160 +34,385 @@ · 4 unmodified lines | |||
| 48 | * in the TT CRC computation. | 34 | * in the TT CRC computation. |
| 49 | */ | 35 | */ |
| 50 | enum batadv_tt_client_flags { | 36 | enum batadv_tt_client_flags { |
| 37 | /** | ||
| 38 | * @BATADV_TT_CLIENT_DEL: the client has to be deleted from the table | ||
| 39 | */ | ||
| 51 | BATADV_TT_CLIENT_DEL = (1 << 0), | 40 | BATADV_TT_CLIENT_DEL = (1 << 0), |
| 41 | |||
| 42 | /** | ||
| 43 | * @BATADV_TT_CLIENT_ROAM: the client roamed to/from another node and | ||
| 44 | * the new update telling its new real location has not been | ||
| 45 | * received/sent yet | ||
| 46 | */ | ||
| 52 | BATADV_TT_CLIENT_ROAM = (1 << 1), | 47 | BATADV_TT_CLIENT_ROAM = (1 << 1), |
| 48 | |||
| 49 | /** | ||
| 50 | * @BATADV_TT_CLIENT_WIFI: this client is connected through a wifi | ||
| 51 | * interface. This information is used by the "AP Isolation" feature | ||
| 52 | */ | ||
| 53 | BATADV_TT_CLIENT_WIFI = (1 << 4), | 53 | BATADV_TT_CLIENT_WIFI = (1 << 4), |
| 54 | |||
| 55 | /** | ||
| 56 | * @BATADV_TT_CLIENT_ISOLA: this client is considered "isolated". This | ||
| 57 | * information is used by the Extended Isolation feature | ||
| 58 | */ | ||
| 54 | BATADV_TT_CLIENT_ISOLA = (1 << 5), | 59 | BATADV_TT_CLIENT_ISOLA = (1 << 5), |
| 60 | |||
| 61 | /** | ||
| 62 | * @BATADV_TT_CLIENT_NOPURGE: this client should never be removed from | ||
| 63 | * the table | ||
| 64 | */ | ||
| 55 | BATADV_TT_CLIENT_NOPURGE = (1 << 8), | 65 | BATADV_TT_CLIENT_NOPURGE = (1 << 8), |
| 66 | |||
| 67 | /** | ||
| 68 | * @BATADV_TT_CLIENT_NEW: this client has been added to the local table | ||
| 69 | * but has not been announced yet | ||
| 70 | */ | ||
| 56 | BATADV_TT_CLIENT_NEW = (1 << 9), | 71 | BATADV_TT_CLIENT_NEW = (1 << 9), |
| 72 | |||
| 73 | /** | ||
| 74 | * @BATADV_TT_CLIENT_PENDING: this client is marked for removal but it | ||
| 75 | * is kept in the table for one more originator interval for consistency | ||
| 76 | * purposes | ||
| 77 | */ | ||
| 57 | BATADV_TT_CLIENT_PENDING = (1 << 10), | 78 | BATADV_TT_CLIENT_PENDING = (1 << 10), |
| 79 | |||
| 80 | /** | ||
| 81 | * @BATADV_TT_CLIENT_TEMP: this global client has been detected to be | ||
| 82 | * part of the network but no nnode has already announced it | ||
| 83 | */ | ||
| 58 | BATADV_TT_CLIENT_TEMP = (1 << 11), | 84 | BATADV_TT_CLIENT_TEMP = (1 << 11), |
| 59 | }; | 85 | }; |
| 60 | 86 | ||
| 61 | /** | 87 | /** |
| 62 | * enum batadv_nl_attrs - batman-adv netlink attributes | 88 | * enum batadv_nl_attrs - batman-adv netlink attributes |
| 63 | * | ||
| 64 | * @BATADV_ATTR_UNSPEC: unspecified attribute to catch errors | ||
| 65 | * @BATADV_ATTR_VERSION: batman-adv version string | ||
| 66 | * @BATADV_ATTR_ALGO_NAME: name of routing algorithm | ||
| 67 | * @BATADV_ATTR_MESH_IFINDEX: index of the batman-adv interface | ||
| 68 | * @BATADV_ATTR_MESH_IFNAME: name of the batman-adv interface | ||
| 69 | * @BATADV_ATTR_MESH_ADDRESS: mac address of the batman-adv interface | ||
| 70 | * @BATADV_ATTR_HARD_IFINDEX: index of the non-batman-adv interface | ||
| 71 | * @BATADV_ATTR_HARD_IFNAME: name of the non-batman-adv interface | ||
| 72 | * @BATADV_ATTR_HARD_ADDRESS: mac address of the non-batman-adv interface | ||
| 73 | * @BATADV_ATTR_ORIG_ADDRESS: originator mac address | ||
| 74 | * @BATADV_ATTR_TPMETER_RESULT: result of run (see batadv_tp_meter_status) | ||
| 75 | * @BATADV_ATTR_TPMETER_TEST_TIME: time (msec) the run took | ||
| 76 | * @BATADV_ATTR_TPMETER_BYTES: amount of acked bytes during run | ||
| 77 | * @BATADV_ATTR_TPMETER_COOKIE: session cookie to match tp_meter session | ||
| 78 | * @BATADV_ATTR_PAD: attribute used for padding for 64-bit alignment | ||
| 79 | * @BATADV_ATTR_ACTIVE: Flag indicating if the hard interface is active | ||
| 80 | * @BATADV_ATTR_TT_ADDRESS: Client MAC address | ||
| 81 | * @BATADV_ATTR_TT_TTVN: Translation table version | ||
| 82 | * @BATADV_ATTR_TT_LAST_TTVN: Previous translation table version | ||
| 83 | * @BATADV_ATTR_TT_CRC32: CRC32 over translation table | ||
| 84 | * @BATADV_ATTR_TT_VID: VLAN ID | ||
| 85 | * @BATADV_ATTR_TT_FLAGS: Translation table client flags | ||
| 86 | * @BATADV_ATTR_FLAG_BEST: Flags indicating entry is the best | ||
| 87 | * @BATADV_ATTR_LAST_SEEN_MSECS: Time in milliseconds since last seen | ||
| 88 | * @BATADV_ATTR_NEIGH_ADDRESS: Neighbour MAC address | ||
| 89 | * @BATADV_ATTR_TQ: TQ to neighbour | ||
| 90 | * @BATADV_ATTR_THROUGHPUT: Estimated throughput to Neighbour | ||
| 91 | * @BATADV_ATTR_BANDWIDTH_UP: Reported uplink bandwidth | ||
| 92 | * @BATADV_ATTR_BANDWIDTH_DOWN: Reported downlink bandwidth | ||
| 93 | * @BATADV_ATTR_ROUTER: Gateway router MAC address | ||
| 94 | * @BATADV_ATTR_BLA_OWN: Flag indicating own originator | ||
| 95 | * @BATADV_ATTR_BLA_ADDRESS: Bridge loop avoidance claim MAC address | ||
| 96 | * @BATADV_ATTR_BLA_VID: BLA VLAN ID | ||
| 97 | * @BATADV_ATTR_BLA_BACKBONE: BLA gateway originator MAC address | ||
| 98 | * @BATADV_ATTR_BLA_CRC: BLA CRC | ||
| 99 | * @__BATADV_ATTR_AFTER_LAST: internal use | ||
| 100 | * @NUM_BATADV_ATTR: total number of batadv_nl_attrs available | ||
| 101 | * @BATADV_ATTR_MAX: highest attribute number currently defined | ||
| 102 | */ | 89 | */ |
| 103 | enum batadv_nl_attrs { | 90 | enum batadv_nl_attrs { |
| 91 | /** | ||
| 92 | * @BATADV_ATTR_UNSPEC: unspecified attribute to catch errors | ||
| 93 | */ | ||
| 104 | BATADV_ATTR_UNSPEC, | 94 | BATADV_ATTR_UNSPEC, |
| 95 | |||
| 96 | /** | ||
| 97 | * @BATADV_ATTR_VERSION: batman-adv version string | ||
| 98 | */ | ||
| 105 | BATADV_ATTR_VERSION, | 99 | BATADV_ATTR_VERSION, |
| 100 | |||
| 101 | /** | ||
| 102 | * @BATADV_ATTR_ALGO_NAME: name of routing algorithm | ||
| 103 | */ | ||
| 106 | BATADV_ATTR_ALGO_NAME, | 104 | BATADV_ATTR_ALGO_NAME, |
| 105 | |||
| 106 | /** | ||
| 107 | * @BATADV_ATTR_MESH_IFINDEX: index of the batman-adv interface | ||
| 108 | */ | ||
| 107 | BATADV_ATTR_MESH_IFINDEX, | 109 | BATADV_ATTR_MESH_IFINDEX, |
| 110 | |||
| 111 | /** | ||
| 112 | * @BATADV_ATTR_MESH_IFNAME: name of the batman-adv interface | ||
| 113 | */ | ||
| 108 | BATADV_ATTR_MESH_IFNAME, | 114 | BATADV_ATTR_MESH_IFNAME, |
| 115 | |||
| 116 | /** | ||
| 117 | * @BATADV_ATTR_MESH_ADDRESS: mac address of the batman-adv interface | ||
| 118 | */ | ||
| 109 | BATADV_ATTR_MESH_ADDRESS, | 119 | BATADV_ATTR_MESH_ADDRESS, |
| 120 | |||
| 121 | /** | ||
| 122 | * @BATADV_ATTR_HARD_IFINDEX: index of the non-batman-adv interface | ||
| 123 | */ | ||
| 110 | BATADV_ATTR_HARD_IFINDEX, | 124 | BATADV_ATTR_HARD_IFINDEX, |
| 125 | |||
| 126 | /** | ||
| 127 | * @BATADV_ATTR_HARD_IFNAME: name of the non-batman-adv interface | ||
| 128 | */ | ||
| 111 | BATADV_ATTR_HARD_IFNAME, | 129 | BATADV_ATTR_HARD_IFNAME, |
| 130 | |||
| 131 | /** | ||
| 132 | * @BATADV_ATTR_HARD_ADDRESS: mac address of the non-batman-adv | ||
| 133 | * interface | ||
| 134 | */ | ||
| 112 | BATADV_ATTR_HARD_ADDRESS, | 135 | BATADV_ATTR_HARD_ADDRESS, |
| 136 | |||
| 137 | /** | ||
| 138 | * @BATADV_ATTR_ORIG_ADDRESS: originator mac address | ||
| 139 | */ | ||
| 113 | BATADV_ATTR_ORIG_ADDRESS, | 140 | BATADV_ATTR_ORIG_ADDRESS, |
| 141 | |||
| 142 | /** | ||
| 143 | * @BATADV_ATTR_TPMETER_RESULT: result of run (see | ||
| 144 | * batadv_tp_meter_status) | ||
| 145 | */ | ||
| 114 | BATADV_ATTR_TPMETER_RESULT, | 146 | BATADV_ATTR_TPMETER_RESULT, |
| 147 | |||
| 148 | /** | ||
| 149 | * @BATADV_ATTR_TPMETER_TEST_TIME: time (msec) the run took | ||
| 150 | */ | ||
| 115 | BATADV_ATTR_TPMETER_TEST_TIME, | 151 | BATADV_ATTR_TPMETER_TEST_TIME, |
| 152 | |||
| 153 | /** | ||
| 154 | * @BATADV_ATTR_TPMETER_BYTES: amount of acked bytes during run | ||
| 155 | */ | ||
| 116 | BATADV_ATTR_TPMETER_BYTES, | 156 | BATADV_ATTR_TPMETER_BYTES, |
| 157 | |||
| 158 | /** | ||
| 159 | * @BATADV_ATTR_TPMETER_COOKIE: session cookie to match tp_meter session | ||
| 160 | */ | ||
| 117 | BATADV_ATTR_TPMETER_COOKIE, | 161 | BATADV_ATTR_TPMETER_COOKIE, |
| 162 | |||
| 163 | /** | ||
| 164 | * @BATADV_ATTR_PAD: attribute used for padding for 64-bit alignment | ||
| 165 | */ | ||
| 118 | BATADV_ATTR_PAD, | 166 | BATADV_ATTR_PAD, |
| 167 | |||
| 168 | /** | ||
| 169 | * @BATADV_ATTR_ACTIVE: Flag indicating if the hard interface is active | ||
| 170 | */ | ||
| 119 | BATADV_ATTR_ACTIVE, | 171 | BATADV_ATTR_ACTIVE, |
| 172 | |||
| 173 | /** | ||
| 174 | * @BATADV_ATTR_TT_ADDRESS: Client MAC address | ||
| 175 | */ | ||
| 120 | BATADV_ATTR_TT_ADDRESS, | 176 | BATADV_ATTR_TT_ADDRESS, |
| 177 | |||
| 178 | /** | ||
| 179 | * @BATADV_ATTR_TT_TTVN: Translation table version | ||
| 180 | */ | ||
| 121 | BATADV_ATTR_TT_TTVN, | 181 | BATADV_ATTR_TT_TTVN, |
| 182 | |||
| 183 | /** | ||
| 184 | * @BATADV_ATTR_TT_LAST_TTVN: Previous translation table version | ||
| 185 | */ | ||
| 122 | BATADV_ATTR_TT_LAST_TTVN, | 186 | BATADV_ATTR_TT_LAST_TTVN, |
| 187 | |||
| 188 | /** | ||
| 189 | * @BATADV_ATTR_TT_CRC32: CRC32 over translation table | ||
| 190 | */ | ||
| 123 | BATADV_ATTR_TT_CRC32, | 191 | BATADV_ATTR_TT_CRC32, |
| 192 | |||
| 193 | /** | ||
| 194 | * @BATADV_ATTR_TT_VID: VLAN ID | ||
| 195 | */ | ||
| 124 | BATADV_ATTR_TT_VID, | 196 | BATADV_ATTR_TT_VID, |
| 197 | |||
| 198 | /** | ||
| 199 | * @BATADV_ATTR_TT_FLAGS: Translation table client flags | ||
| 200 | */ | ||
| 125 | BATADV_ATTR_TT_FLAGS, | 201 | BATADV_ATTR_TT_FLAGS, |
| 202 | |||
| 203 | /** | ||
| 204 | * @BATADV_ATTR_FLAG_BEST: Flags indicating entry is the best | ||
| 205 | */ | ||
| 126 | BATADV_ATTR_FLAG_BEST, | 206 | BATADV_ATTR_FLAG_BEST, |
| 207 | |||
| 208 | /** | ||
| 209 | * @BATADV_ATTR_LAST_SEEN_MSECS: Time in milliseconds since last seen | ||
| 210 | */ | ||
| 127 | BATADV_ATTR_LAST_SEEN_MSECS, | 211 | BATADV_ATTR_LAST_SEEN_MSECS, |
| 212 | |||
| 213 | /** | ||
| 214 | * @BATADV_ATTR_NEIGH_ADDRESS: Neighbour MAC address | ||
| 215 | */ | ||
| 128 | BATADV_ATTR_NEIGH_ADDRESS, | 216 | BATADV_ATTR_NEIGH_ADDRESS, |
| 217 | |||
| 218 | /** | ||
| 219 | * @BATADV_ATTR_TQ: TQ to neighbour | ||
| 220 | */ | ||
| 129 | BATADV_ATTR_TQ, | 221 | BATADV_ATTR_TQ, |
| 222 | |||
| 223 | /** | ||
| 224 | * @BATADV_ATTR_THROUGHPUT: Estimated throughput to Neighbour | ||
| 225 | */ | ||
| 130 | BATADV_ATTR_THROUGHPUT, | 226 | BATADV_ATTR_THROUGHPUT, |
| 227 | |||
| 228 | /** | ||
| 229 | * @BATADV_ATTR_BANDWIDTH_UP: Reported uplink bandwidth | ||
| 230 | */ | ||
| 131 | BATADV_ATTR_BANDWIDTH_UP, | 231 | BATADV_ATTR_BANDWIDTH_UP, |
| 232 | |||
| 233 | /** | ||
| 234 | * @BATADV_ATTR_BANDWIDTH_DOWN: Reported downlink bandwidth | ||
| 235 | */ | ||
| 132 | BATADV_ATTR_BANDWIDTH_DOWN, | 236 | BATADV_ATTR_BANDWIDTH_DOWN, |
| 237 | |||
| 238 | /** | ||
| 239 | * @BATADV_ATTR_ROUTER: Gateway router MAC address | ||
| 240 | */ | ||
| 133 | BATADV_ATTR_ROUTER, | 241 | BATADV_ATTR_ROUTER, |
| 242 | |||
| 243 | /** | ||
| 244 | * @BATADV_ATTR_BLA_OWN: Flag indicating own originator | ||
| 245 | */ | ||
| 134 | BATADV_ATTR_BLA_OWN, | 246 | BATADV_ATTR_BLA_OWN, |
| 247 | |||
| 248 | /** | ||
| 249 | * @BATADV_ATTR_BLA_ADDRESS: Bridge loop avoidance claim MAC address | ||
| 250 | */ | ||
| 135 | BATADV_ATTR_BLA_ADDRESS, | 251 | BATADV_ATTR_BLA_ADDRESS, |
| 252 | |||
| 253 | /** | ||
| 254 | * @BATADV_ATTR_BLA_VID: BLA VLAN ID | ||
| 255 | */ | ||
| 136 | BATADV_ATTR_BLA_VID, | 256 | BATADV_ATTR_BLA_VID, |
| 257 | |||
| 258 | /** | ||
| 259 | * @BATADV_ATTR_BLA_BACKBONE: BLA gateway originator MAC address | ||
| 260 | */ | ||
| 137 | BATADV_ATTR_BLA_BACKBONE, | 261 | BATADV_ATTR_BLA_BACKBONE, |
| 262 | |||
| 263 | /** | ||
| 264 | * @BATADV_ATTR_BLA_CRC: BLA CRC | ||
| 265 | */ | ||
| 138 | BATADV_ATTR_BLA_CRC, | 266 | BATADV_ATTR_BLA_CRC, |
| 267 | |||
| 139 | /* add attributes above here, update the policy in netlink.c */ | 268 | /* add attributes above here, update the policy in netlink.c */ |
| 269 | |||
| 270 | /** | ||
| 271 | * @__BATADV_ATTR_AFTER_LAST: internal use | ||
| 272 | */ | ||
| 140 | __BATADV_ATTR_AFTER_LAST, | 273 | __BATADV_ATTR_AFTER_LAST, |
| 274 | |||
| 275 | /** | ||
| 276 | * @NUM_BATADV_ATTR: total number of batadv_nl_attrs available | ||
| 277 | */ | ||
| 141 | NUM_BATADV_ATTR = __BATADV_ATTR_AFTER_LAST, | 278 | NUM_BATADV_ATTR = __BATADV_ATTR_AFTER_LAST, |
| 279 | |||
| 280 | /** | ||
| 281 | * @BATADV_ATTR_MAX: highest attribute number currently defined | ||
| 282 | */ | ||
| 142 | BATADV_ATTR_MAX = __BATADV_ATTR_AFTER_LAST - 1 | 283 | BATADV_ATTR_MAX = __BATADV_ATTR_AFTER_LAST - 1 |
| 143 | }; | 284 | }; |
| 144 | 285 | ||
| 145 | /** | 286 | /** |
| 146 | * enum batadv_nl_commands - supported batman-adv netlink commands | 287 | * enum batadv_nl_commands - supported batman-adv netlink commands |
| 147 | * | ||
| 148 | * @BATADV_CMD_UNSPEC: unspecified command to catch errors | ||
| 149 | * @BATADV_CMD_GET_MESH_INFO: Query basic information about batman-adv device | ||
| 150 | * @BATADV_CMD_TP_METER: Start a tp meter session | ||
| 151 | * @BATADV_CMD_TP_METER_CANCEL: Cancel a tp meter session | ||
| 152 | * @BATADV_CMD_GET_ROUTING_ALGOS: Query the list of routing algorithms. | ||
| 153 | * @BATADV_CMD_GET_HARDIFS: Query list of hard interfaces | ||
| 154 | * @BATADV_CMD_GET_TRANSTABLE_LOCAL: Query list of local translations | ||
| 155 | * @BATADV_CMD_GET_TRANSTABLE_GLOBAL Query list of global translations | ||
| 156 | * @BATADV_CMD_GET_ORIGINATORS: Query list of originators | ||
| 157 | * @BATADV_CMD_GET_NEIGHBORS: Query list of neighbours | ||
| 158 | * @BATADV_CMD_GET_GATEWAYS: Query list of gateways | ||
| 159 | * @BATADV_CMD_GET_BLA_CLAIM: Query list of bridge loop avoidance claims | ||
| 160 | * @BATADV_CMD_GET_BLA_BACKBONE: Query list of bridge loop avoidance backbones | ||
| 161 | * @__BATADV_CMD_AFTER_LAST: internal use | ||
| 162 | * @BATADV_CMD_MAX: highest used command number | ||
| 163 | */ | 288 | */ |
| 164 | enum batadv_nl_commands { | 289 | enum batadv_nl_commands { |
| 290 | /** | ||
| 291 | * @BATADV_CMD_UNSPEC: unspecified command to catch errors | ||
| 292 | */ | ||
| 165 | BATADV_CMD_UNSPEC, | 293 | BATADV_CMD_UNSPEC, |
| 294 | |||
| 295 | /** | ||
| 296 | * @BATADV_CMD_GET_MESH_INFO: Query basic information about batman-adv | ||
| 297 | * device | ||
| 298 | */ | ||
| 166 | BATADV_CMD_GET_MESH_INFO, | 299 | BATADV_CMD_GET_MESH_INFO, |
| 300 | |||
| 301 | /** | ||
| 302 | * @BATADV_CMD_TP_METER: Start a tp meter session | ||
| 303 | */ | ||
| 167 | BATADV_CMD_TP_METER, | 304 | BATADV_CMD_TP_METER, |
| 305 | |||
| 306 | /** | ||
| 307 | * @BATADV_CMD_TP_METER_CANCEL: Cancel a tp meter session | ||
| 308 | */ | ||
| 168 | BATADV_CMD_TP_METER_CANCEL, | 309 | BATADV_CMD_TP_METER_CANCEL, |
| 310 | |||
| 311 | /** | ||
| 312 | * @BATADV_CMD_GET_ROUTING_ALGOS: Query the list of routing algorithms. | ||
| 313 | */ | ||
| 169 | BATADV_CMD_GET_ROUTING_ALGOS, | 314 | BATADV_CMD_GET_ROUTING_ALGOS, |
| 315 | |||
| 316 | /** | ||
| 317 | * @BATADV_CMD_GET_HARDIFS: Query list of hard interfaces | ||
| 318 | */ | ||
| 170 | BATADV_CMD_GET_HARDIFS, | 319 | BATADV_CMD_GET_HARDIFS, |
| 320 | |||
| 321 | /** | ||
| 322 | * @BATADV_CMD_GET_TRANSTABLE_LOCAL: Query list of local translations | ||
| 323 | */ | ||
| 171 | BATADV_CMD_GET_TRANSTABLE_LOCAL, | 324 | BATADV_CMD_GET_TRANSTABLE_LOCAL, |
| 325 | |||
| 326 | /** | ||
| 327 | * @BATADV_CMD_GET_TRANSTABLE_GLOBAL: Query list of global translations | ||
| 328 | */ | ||
| 172 | BATADV_CMD_GET_TRANSTABLE_GLOBAL, | 329 | BATADV_CMD_GET_TRANSTABLE_GLOBAL, |
| 330 | |||
| 331 | /** | ||
| 332 | * @BATADV_CMD_GET_ORIGINATORS: Query list of originators | ||
| 333 | */ | ||
| 173 | BATADV_CMD_GET_ORIGINATORS, | 334 | BATADV_CMD_GET_ORIGINATORS, |
| 335 | |||
| 336 | /** | ||
| 337 | * @BATADV_CMD_GET_NEIGHBORS: Query list of neighbours | ||
| 338 | */ | ||
| 174 | BATADV_CMD_GET_NEIGHBORS, | 339 | BATADV_CMD_GET_NEIGHBORS, |
| 340 | |||
| 341 | /** | ||
| 342 | * @BATADV_CMD_GET_GATEWAYS: Query list of gateways | ||
| 343 | */ | ||
| 175 | BATADV_CMD_GET_GATEWAYS, | 344 | BATADV_CMD_GET_GATEWAYS, |
| 345 | |||
| 346 | /** | ||
| 347 | * @BATADV_CMD_GET_BLA_CLAIM: Query list of bridge loop avoidance claims | ||
| 348 | */ | ||
| 176 | BATADV_CMD_GET_BLA_CLAIM, | 349 | BATADV_CMD_GET_BLA_CLAIM, |
| 350 | |||
| 351 | /** | ||
| 352 | * @BATADV_CMD_GET_BLA_BACKBONE: Query list of bridge loop avoidance | ||
| 353 | * backbones | ||
| 354 | */ | ||
| 177 | BATADV_CMD_GET_BLA_BACKBONE, | 355 | BATADV_CMD_GET_BLA_BACKBONE, |
| 356 | |||
| 178 | /* add new commands above here */ | 357 | /* add new commands above here */ |
| 358 | |||
| 359 | /** | ||
| 360 | * @__BATADV_CMD_AFTER_LAST: internal use | ||
| 361 | */ | ||
| 179 | __BATADV_CMD_AFTER_LAST, | 362 | __BATADV_CMD_AFTER_LAST, |
| 363 | |||
| 364 | /** | ||
| 365 | * @BATADV_CMD_MAX: highest used command number | ||
| 366 | */ | ||
| 180 | BATADV_CMD_MAX = __BATADV_CMD_AFTER_LAST - 1 | 367 | BATADV_CMD_MAX = __BATADV_CMD_AFTER_LAST - 1 |
| 181 | }; | 368 | }; |
| 182 | 369 | ||
| 183 | /** | 370 | /** |
| 184 | * enum batadv_tp_meter_reason - reason of a tp meter test run stop | 371 | * enum batadv_tp_meter_reason - reason of a tp meter test run stop |
| 185 | * @BATADV_TP_REASON_COMPLETE: sender finished tp run | ||
| 186 | * @BATADV_TP_REASON_CANCEL: sender was stopped during run | ||
| 187 | * @BATADV_TP_REASON_DST_UNREACHABLE: receiver could not be reached or didn't | ||
| 188 | * answer | ||
| 189 | * @BATADV_TP_REASON_RESEND_LIMIT: (unused) sender retry reached limit | ||
| 190 | * @BATADV_TP_REASON_ALREADY_ONGOING: test to or from the same node already | ||
| 191 | * ongoing | ||
| 192 | * @BATADV_TP_REASON_MEMORY_ERROR: test was stopped due to low memory | ||
| 193 | * @BATADV_TP_REASON_CANT_SEND: failed to send via outgoing interface | ||
| 194 | * @BATADV_TP_REASON_TOO_MANY: too many ongoing sessions | ||
| 195 | */ | 372 | */ |
| 196 | enum batadv_tp_meter_reason { | 373 | enum batadv_tp_meter_reason { |
| 374 | /** | ||
| 375 | * @BATADV_TP_REASON_COMPLETE: sender finished tp run | ||
| 376 | */ | ||
| 197 | BATADV_TP_REASON_COMPLETE = 3, | 377 | BATADV_TP_REASON_COMPLETE = 3, |
| 378 | |||
| 379 | /** | ||
| 380 | * @BATADV_TP_REASON_CANCEL: sender was stopped during run | ||
| 381 | */ | ||
| 198 | BATADV_TP_REASON_CANCEL = 4, | 382 | BATADV_TP_REASON_CANCEL = 4, |
| 383 | |||
| 199 | /* error status >= 128 */ | 384 | /* error status >= 128 */ |
| 385 | |||
| 386 | /** | ||
| 387 | * @BATADV_TP_REASON_DST_UNREACHABLE: receiver could not be reached or | ||
| 388 | * didn't answer | ||
| 389 | */ | ||
| 200 | BATADV_TP_REASON_DST_UNREACHABLE = 128, | 390 | BATADV_TP_REASON_DST_UNREACHABLE = 128, |
| 391 | |||
| 392 | /** | ||
| 393 | * @BATADV_TP_REASON_RESEND_LIMIT: (unused) sender retry reached limit | ||
| 394 | */ | ||
| 201 | BATADV_TP_REASON_RESEND_LIMIT = 129, | 395 | BATADV_TP_REASON_RESEND_LIMIT = 129, |
| 396 | |||
| 397 | /** | ||
| 398 | * @BATADV_TP_REASON_ALREADY_ONGOING: test to or from the same node | ||
| 399 | * already ongoing | ||
| 400 | */ | ||
| 202 | BATADV_TP_REASON_ALREADY_ONGOING = 130, | 401 | BATADV_TP_REASON_ALREADY_ONGOING = 130, |
| 402 | |||
| 403 | /** | ||
| 404 | * @BATADV_TP_REASON_MEMORY_ERROR: test was stopped due to low memory | ||
| 405 | */ | ||
| 203 | BATADV_TP_REASON_MEMORY_ERROR = 131, | 406 | BATADV_TP_REASON_MEMORY_ERROR = 131, |
| 407 | |||
| 408 | /** | ||
| 409 | * @BATADV_TP_REASON_CANT_SEND: failed to send via outgoing interface | ||
| 410 | */ | ||
| 204 | BATADV_TP_REASON_CANT_SEND = 132, | 411 | BATADV_TP_REASON_CANT_SEND = 132, |
| 412 | |||
| 413 | /** | ||
| 414 | * @BATADV_TP_REASON_TOO_MANY: too many ongoing sessions | ||
| 415 | */ | ||
| 205 | BATADV_TP_REASON_TOO_MANY = 133, | 416 | BATADV_TP_REASON_TOO_MANY = 133, |
| 206 | }; | 417 | }; |
| 207 | 418 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * The Linux BAYCOM driver for the Baycom serial 1200 baud modem | 3 | * The Linux BAYCOM driver for the Baycom serial 1200 baud modem |
| 3 | * and the parallel 9600 baud modem | 4 | * and the parallel 9600 baud modem |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _LINUX_BCACHE_H | 2 | #ifndef _LINUX_BCACHE_H |
| 2 | #define _LINUX_BCACHE_H | 3 | #define _LINUX_BCACHE_H |
| 3 | 4 | ||
| @@ -90,7 +91,7 @@ PTR_FIELD(PTR_GEN, 0, 8) · 86 unmodified lines | |||
| 90 | 91 | ||
| 91 | #define PTR_CHECK_DEV ((1 << PTR_DEV_BITS) - 1) | 92 | #define PTR_CHECK_DEV ((1 << PTR_DEV_BITS) - 1) |
| 92 | 93 | ||
| 93 | #define PTR(gen, offset, dev) \ | 94 | #define MAKE_PTR(gen, offset, dev) \ |
| 94 | ((((__u64) dev) << 51) | ((__u64) offset) << 8 | gen) | 95 | ((((__u64) dev) << 51) | ((__u64) offset) << 8 | gen) |
| 95 | 96 | ||
| 96 | /* Bkey utility code */ | 97 | /* Bkey utility code */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Broadcom Cable Modem firmware format | 3 | * Broadcom Cable Modem firmware format |
| 3 | */ | 4 | */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * include/linux/bfs_fs.h - BFS data structures on disk. | 3 | * include/linux/bfs_fs.h - BFS data structures on disk. |
| 3 | * Copyright (C) 1999 Tigran Aivazian <tigran@veritas.com> | 4 | * Copyright (C) 1999 Tigran Aivazian <tigran@veritas.com> |
| @@ -75,7 +76,7 @@ struct bfs_super_block { · 71 unmodified lines | |||
| 75 | #define BFS_FILEBLOCKS(ip) \ | 76 | #define BFS_FILEBLOCKS(ip) \ |
| 76 | ((ip)->i_sblock == 0 ? 0 : (le32_to_cpu((ip)->i_eblock) + 1) - le32_to_cpu((ip)->i_sblock)) | 77 | ((ip)->i_sblock == 0 ? 0 : (le32_to_cpu((ip)->i_eblock) + 1) - le32_to_cpu((ip)->i_sblock)) |
| 77 | #define BFS_UNCLEAN(bfs_sb, sb) \ | 78 | #define BFS_UNCLEAN(bfs_sb, sb) \ |
| 78 | ((le32_to_cpu(bfs_sb->s_from) != -1) && (le32_to_cpu(bfs_sb->s_to) != -1) && !(sb->s_flags & MS_RDONLY)) | 79 | ((le32_to_cpu(bfs_sb->s_from) != -1) && (le32_to_cpu(bfs_sb->s_to) != -1) && !(sb->s_flags & SB_RDONLY)) |
| 79 | 80 | ||
| 80 | 81 | ||
| 81 | #endif /* _LINUX_BFS_FS_H */ | 82 | #endif /* _LINUX_BFS_FS_H */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_BINFMTS_H | 2 | #ifndef _UAPI_LINUX_BINFMTS_H |
| 2 | #define _UAPI_LINUX_BINFMTS_H | 3 | #define _UAPI_LINUX_BINFMTS_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI__LINUX_BLKPG_H | 2 | #ifndef _UAPI__LINUX_BLKPG_H |
| 2 | #define _UAPI__LINUX_BLKPG_H | 3 | #define _UAPI__LINUX_BLKPG_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPIBLKTRACE_H | 2 | #ifndef _UAPIBLKTRACE_H |
| 2 | #define _UAPIBLKTRACE_H | 3 | #define _UAPIBLKTRACE_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Zoned block devices handling. | 3 | * Zoned block devices handling. |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com | 2 | /* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com |
| 2 | * | 3 | * |
| 3 | * This program is free software; you can redistribute it and/or | 4 | * This program is free software; you can redistribute it and/or |
| @@ -92,6 +93,7 @@ enum bpf_cmd { · 88 unmodified lines | |||
| 92 | BPF_PROG_GET_FD_BY_ID, | 93 | BPF_PROG_GET_FD_BY_ID, |
| 93 | BPF_MAP_GET_FD_BY_ID, | 94 | BPF_MAP_GET_FD_BY_ID, |
| 94 | BPF_OBJ_GET_INFO_BY_FD, | 95 | BPF_OBJ_GET_INFO_BY_FD, |
| 96 | BPF_PROG_QUERY, | ||
| 95 | }; | 97 | }; |
| 96 | 98 | ||
| 97 | enum bpf_map_type { | 99 | enum bpf_map_type { |
| @@ -111,6 +113,7 @@ enum bpf_map_type { · 13 unmodified lines | |||
| 111 | BPF_MAP_TYPE_HASH_OF_MAPS, | 113 | BPF_MAP_TYPE_HASH_OF_MAPS, |
| 112 | BPF_MAP_TYPE_DEVMAP, | 114 | BPF_MAP_TYPE_DEVMAP, |
| 113 | BPF_MAP_TYPE_SOCKMAP, | 115 | BPF_MAP_TYPE_SOCKMAP, |
| 116 | BPF_MAP_TYPE_CPUMAP, | ||
| 114 | }; | 117 | }; |
| 115 | 118 | ||
| 116 | enum bpf_prog_type { | 119 | enum bpf_prog_type { |
| @@ -129,6 +132,7 @@ enum bpf_prog_type { · 12 unmodified lines | |||
| 129 | BPF_PROG_TYPE_LWT_XMIT, | 132 | BPF_PROG_TYPE_LWT_XMIT, |
| 130 | BPF_PROG_TYPE_SOCK_OPS, | 133 | BPF_PROG_TYPE_SOCK_OPS, |
| 131 | BPF_PROG_TYPE_SK_SKB, | 134 | BPF_PROG_TYPE_SK_SKB, |
| 135 | BPF_PROG_TYPE_CGROUP_DEVICE, | ||
| 132 | }; | 136 | }; |
| 133 | 137 | ||
| 134 | enum bpf_attach_type { | 138 | enum bpf_attach_type { |
| @@ -138,16 +142,53 @@ enum bpf_attach_type { · 3 unmodified lines | |||
| 138 | BPF_CGROUP_SOCK_OPS, | 142 | BPF_CGROUP_SOCK_OPS, |
| 139 | BPF_SK_SKB_STREAM_PARSER, | 143 | BPF_SK_SKB_STREAM_PARSER, |
| 140 | BPF_SK_SKB_STREAM_VERDICT, | 144 | BPF_SK_SKB_STREAM_VERDICT, |
| 145 | BPF_CGROUP_DEVICE, | ||
| 141 | __MAX_BPF_ATTACH_TYPE | 146 | __MAX_BPF_ATTACH_TYPE |
| 142 | }; | 147 | }; |
| 143 | 148 | ||
| 144 | #define MAX_BPF_ATTACH_TYPE __MAX_BPF_ATTACH_TYPE | 149 | #define MAX_BPF_ATTACH_TYPE __MAX_BPF_ATTACH_TYPE |
| 145 | 150 | ||
| 146 | /* If BPF_F_ALLOW_OVERRIDE flag is used in BPF_PROG_ATTACH command | 151 | /* cgroup-bpf attach flags used in BPF_PROG_ATTACH command |
| 147 | * to the given target_fd cgroup the descendent cgroup will be able to | 152 | * |
| 148 | * override effective bpf program that was inherited from this cgroup | 153 | * NONE(default): No further bpf programs allowed in the subtree. |
| 154 | * | ||
| 155 | * BPF_F_ALLOW_OVERRIDE: If a sub-cgroup installs some bpf program, | ||
| 156 | * the program in this cgroup yields to sub-cgroup program. | ||
| 157 | * | ||
| 158 | * BPF_F_ALLOW_MULTI: If a sub-cgroup installs some bpf program, | ||
| 159 | * that cgroup program gets run in addition to the program in this cgroup. | ||
| 160 | * | ||
| 161 | * Only one program is allowed to be attached to a cgroup with | ||
| 162 | * NONE or BPF_F_ALLOW_OVERRIDE flag. | ||
| 163 | * Attaching another program on top of NONE or BPF_F_ALLOW_OVERRIDE will | ||
| 164 | * release old program and attach the new one. Attach flags has to match. | ||
| 165 | * | ||
| 166 | * Multiple programs are allowed to be attached to a cgroup with | ||
| 167 | * BPF_F_ALLOW_MULTI flag. They are executed in FIFO order | ||
| 168 | * (those that were attached first, run first) | ||
| 169 | * The programs of sub-cgroup are executed first, then programs of | ||
| 170 | * this cgroup and then programs of parent cgroup. | ||
| 171 | * When children program makes decision (like picking TCP CA or sock bind) | ||
| 172 | * parent program has a chance to override it. | ||
| 173 | * | ||
| 174 | * A cgroup with MULTI or OVERRIDE flag allows any attach flags in sub-cgroups. | ||
| 175 | * A cgroup with NONE doesn't allow any programs in sub-cgroups. | ||
| 176 | * Ex1: | ||
| 177 | * cgrp1 (MULTI progs A, B) -> | ||
| 178 | * cgrp2 (OVERRIDE prog C) -> | ||
| 179 | * cgrp3 (MULTI prog D) -> | ||
| 180 | * cgrp4 (OVERRIDE prog E) -> | ||
| 181 | * cgrp5 (NONE prog F) | ||
| 182 | * the event in cgrp5 triggers execution of F,D,A,B in that order. | ||
| 183 | * if prog F is detached, the execution is E,D,A,B | ||
| 184 | * if prog F and D are detached, the execution is E,A,B | ||
| 185 | * if prog F, E and D are detached, the execution is C,A,B | ||
| 186 | * | ||
| 187 | * All eligible programs are executed regardless of return code from | ||
| 188 | * earlier programs. | ||
| 149 | */ | 189 | */ |
| 150 | #define BPF_F_ALLOW_OVERRIDE (1U << 0) | 190 | #define BPF_F_ALLOW_OVERRIDE (1U << 0) |
| 191 | #define BPF_F_ALLOW_MULTI (1U << 1) | ||
| 151 | 192 | ||
| 152 | /* If BPF_F_STRICT_ALIGNMENT is used in BPF_PROG_LOAD command, the | 193 | /* If BPF_F_STRICT_ALIGNMENT is used in BPF_PROG_LOAD command, the |
| 153 | * verifier will perform strict alignment checking as if the kernel | 194 | * verifier will perform strict alignment checking as if the kernel |
| @@ -175,6 +216,15 @@ enum bpf_attach_type { · 21 unmodified lines | |||
| 175 | /* Specify numa node during map creation */ | 216 | /* Specify numa node during map creation */ |
| 176 | #define BPF_F_NUMA_NODE (1U << 2) | 217 | #define BPF_F_NUMA_NODE (1U << 2) |
| 177 | 218 | ||
| 219 | /* flags for BPF_PROG_QUERY */ | ||
| 220 | #define BPF_F_QUERY_EFFECTIVE (1U << 0) | ||
| 221 | |||
| 222 | #define BPF_OBJ_NAME_LEN 16U | ||
| 223 | |||
| 224 | /* Flags for accessing BPF object */ | ||
| 225 | #define BPF_F_RDONLY (1U << 3) | ||
| 226 | #define BPF_F_WRONLY (1U << 4) | ||
| 227 | |||
| 178 | union bpf_attr { | 228 | union bpf_attr { |
| 179 | struct { /* anonymous struct used by BPF_MAP_CREATE command */ | 229 | struct { /* anonymous struct used by BPF_MAP_CREATE command */ |
| 180 | __u32 map_type; /* one of enum bpf_map_type */ | 230 | __u32 map_type; /* one of enum bpf_map_type */ |
| @@ -188,6 +238,7 @@ union bpf_attr { · 7 unmodified lines | |||
| 188 | __u32 numa_node; /* numa node (effective only if | 238 | __u32 numa_node; /* numa node (effective only if |
| 189 | * BPF_F_NUMA_NODE is set). | 239 | * BPF_F_NUMA_NODE is set). |
| 190 | */ | 240 | */ |
| 241 | char map_name[BPF_OBJ_NAME_LEN]; | ||
| 191 | }; | 242 | }; |
| 192 | 243 | ||
| 193 | struct { /* anonymous struct used by BPF_MAP_*_ELEM commands */ | 244 | struct { /* anonymous struct used by BPF_MAP_*_ELEM commands */ |
| @@ -210,11 +261,14 @@ union bpf_attr { · 16 unmodified lines | |||
| 210 | __aligned_u64 log_buf; /* user supplied buffer */ | 261 | __aligned_u64 log_buf; /* user supplied buffer */ |
| 211 | __u32 kern_version; /* checked when prog_type=kprobe */ | 262 | __u32 kern_version; /* checked when prog_type=kprobe */ |
| 212 | __u32 prog_flags; | 263 | __u32 prog_flags; |
| 264 | char prog_name[BPF_OBJ_NAME_LEN]; | ||
| 265 | __u32 prog_ifindex; /* ifindex of netdev to prep for */ | ||
| 213 | }; | 266 | }; |
| 214 | 267 | ||
| 215 | struct { /* anonymous struct used by BPF_OBJ_* commands */ | 268 | struct { /* anonymous struct used by BPF_OBJ_* commands */ |
| 216 | __aligned_u64 pathname; | 269 | __aligned_u64 pathname; |
| 217 | __u32 bpf_fd; | 270 | __u32 bpf_fd; |
| 271 | __u32 file_flags; | ||
| 218 | }; | 272 | }; |
| 219 | 273 | ||
| 220 | struct { /* anonymous struct used by BPF_PROG_ATTACH/DETACH commands */ | 274 | struct { /* anonymous struct used by BPF_PROG_ATTACH/DETACH commands */ |
| @@ -242,6 +296,7 @@ union bpf_attr { · 21 unmodified lines | |||
| 242 | __u32 map_id; | 296 | __u32 map_id; |
| 243 | }; | 297 | }; |
| 244 | __u32 next_id; | 298 | __u32 next_id; |
| 299 | __u32 open_flags; | ||
| 245 | }; | 300 | }; |
| 246 | 301 | ||
| 247 | struct { /* anonymous struct used by BPF_OBJ_GET_INFO_BY_FD */ | 302 | struct { /* anonymous struct used by BPF_OBJ_GET_INFO_BY_FD */ |
| @@ -249,6 +304,15 @@ union bpf_attr { · 1 unmodified line | |||
| 249 | __u32 info_len; | 304 | __u32 info_len; |
| 250 | __aligned_u64 info; | 305 | __aligned_u64 info; |
| 251 | } info; | 306 | } info; |
| 307 | |||
| 308 | struct { /* anonymous struct used by BPF_PROG_QUERY command */ | ||
| 309 | __u32 target_fd; /* container object to query */ | ||
| 310 | __u32 attach_type; | ||
| 311 | __u32 query_flags; | ||
| 312 | __u32 attach_flags; | ||
| 313 | __aligned_u64 prog_ids; | ||
| 314 | __u32 prog_cnt; | ||
| 315 | } query; | ||
| 252 | } __attribute__((aligned(8))); | 316 | } __attribute__((aligned(8))); |
| 253 | 317 | ||
| 254 | /* BPF helper function descriptions: | 318 | /* BPF helper function descriptions: |
| @@ -553,12 +617,22 @@ union bpf_attr { · 298 unmodified lines | |||
| 553 | * int bpf_setsockopt(bpf_socket, level, optname, optval, optlen) | 617 | * int bpf_setsockopt(bpf_socket, level, optname, optval, optlen) |
| 554 | * Calls setsockopt. Not all opts are available, only those with | 618 | * Calls setsockopt. Not all opts are available, only those with |
| 555 | * integer optvals plus TCP_CONGESTION. | 619 | * integer optvals plus TCP_CONGESTION. |
| 556 | * Supported levels: SOL_SOCKET and IPROTO_TCP | 620 | * Supported levels: SOL_SOCKET and IPPROTO_TCP |
| 621 | * @bpf_socket: pointer to bpf_socket | ||
| 622 | * @level: SOL_SOCKET or IPPROTO_TCP | ||
| 623 | * @optname: option name | ||
| 624 | * @optval: pointer to option value | ||
| 625 | * @optlen: length of optval in bytes | ||
| 626 | * Return: 0 or negative error | ||
| 627 | * | ||
| 628 | * int bpf_getsockopt(bpf_socket, level, optname, optval, optlen) | ||
| 629 | * Calls getsockopt. Not all opts are available. | ||
| 630 | * Supported levels: IPPROTO_TCP | ||
| 557 | * @bpf_socket: pointer to bpf_socket | 631 | * @bpf_socket: pointer to bpf_socket |
| 558 | * @level: SOL_SOCKET or IPROTO_TCP | 632 | * @level: IPPROTO_TCP |
| 559 | * @optname: option name | 633 | * @optname: option name |
| 560 | * @optval: pointer to option value | 634 | * @optval: pointer to option value |
| 561 | * @optlen: length of optval in byes | 635 | * @optlen: length of optval in bytes |
| 562 | * Return: 0 or negative error | 636 | * Return: 0 or negative error |
| 563 | * | 637 | * |
| 564 | * int bpf_skb_adjust_room(skb, len_diff, mode, flags) | 638 | * int bpf_skb_adjust_room(skb, len_diff, mode, flags) |
| @@ -582,6 +656,27 @@ union bpf_attr { · 17 unmodified lines | |||
| 582 | * @map: pointer to sockmap to update | 656 | * @map: pointer to sockmap to update |
| 583 | * @key: key to insert/update sock in map | 657 | * @key: key to insert/update sock in map |
| 584 | * @flags: same flags as map update elem | 658 | * @flags: same flags as map update elem |
| 659 | * | ||
| 660 | * int bpf_xdp_adjust_meta(xdp_md, delta) | ||
| 661 | * Adjust the xdp_md.data_meta by delta | ||
| 662 | * @xdp_md: pointer to xdp_md | ||
| 663 | * @delta: An positive/negative integer to be added to xdp_md.data_meta | ||
| 664 | * Return: 0 on success or negative on error | ||
| 665 | * | ||
| 666 | * int bpf_perf_event_read_value(map, flags, buf, buf_size) | ||
| 667 | * read perf event counter value and perf event enabled/running time | ||
| 668 | * @map: pointer to perf_event_array map | ||
| 669 | * @flags: index of event in the map or bitmask flags | ||
| 670 | * @buf: buf to fill | ||
| 671 | * @buf_size: size of the buf | ||
| 672 | * Return: 0 on success or negative error code | ||
| 673 | * | ||
| 674 | * int bpf_perf_prog_read_value(ctx, buf, buf_size) | ||
| 675 | * read perf prog attached perf event counter and enabled/running time | ||
| 676 | * @ctx: pointer to ctx | ||
| 677 | * @buf: buf to fill | ||
| 678 | * @buf_size: size of the buf | ||
| 679 | * Return : 0 on success or negative error code | ||
| 585 | */ | 680 | */ |
| 586 | #define __BPF_FUNC_MAPPER(FN) \ | 681 | #define __BPF_FUNC_MAPPER(FN) \ |
| 587 | FN(unspec), \ | 682 | FN(unspec), \ |
| @@ -638,6 +733,10 @@ union bpf_attr { · 50 unmodified lines | |||
| 638 | FN(redirect_map), \ | 733 | FN(redirect_map), \ |
| 639 | FN(sk_redirect_map), \ | 734 | FN(sk_redirect_map), \ |
| 640 | FN(sock_map_update), \ | 735 | FN(sock_map_update), \ |
| 736 | FN(xdp_adjust_meta), \ | ||
| 737 | FN(perf_event_read_value), \ | ||
| 738 | FN(perf_prog_read_value), \ | ||
| 739 | FN(getsockopt), | ||
| 641 | 740 | ||
| 642 | /* integer value in 'imm' field of BPF_CALL instruction selects which helper | 741 | /* integer value in 'imm' field of BPF_CALL instruction selects which helper |
| 643 | * function eBPF program intends to call | 742 | * function eBPF program intends to call |
| @@ -681,7 +780,9 @@ enum bpf_func_id { · 37 unmodified lines | |||
| 681 | #define BPF_F_ZERO_CSUM_TX (1ULL << 1) | 780 | #define BPF_F_ZERO_CSUM_TX (1ULL << 1) |
| 682 | #define BPF_F_DONT_FRAGMENT (1ULL << 2) | 781 | #define BPF_F_DONT_FRAGMENT (1ULL << 2) |
| 683 | 782 | ||
| 684 | /* BPF_FUNC_perf_event_output and BPF_FUNC_perf_event_read flags. */ | 783 | /* BPF_FUNC_perf_event_output, BPF_FUNC_perf_event_read and |
| 784 | * BPF_FUNC_perf_event_read_value flags. | ||
| 785 | */ | ||
| 685 | #define BPF_F_INDEX_MASK 0xffffffffULL | 786 | #define BPF_F_INDEX_MASK 0xffffffffULL |
| 686 | #define BPF_F_CURRENT_CPU BPF_F_INDEX_MASK | 787 | #define BPF_F_CURRENT_CPU BPF_F_INDEX_MASK |
| 687 | /* BPF_FUNC_perf_event_output for sk_buff input context. */ | 788 | /* BPF_FUNC_perf_event_output for sk_buff input context. */ |
| @@ -715,7 +816,7 @@ struct __sk_buff { · 27 unmodified lines | |||
| 715 | __u32 data_end; | 816 | __u32 data_end; |
| 716 | __u32 napi_id; | 817 | __u32 napi_id; |
| 717 | 818 | ||
| 718 | /* accessed by BPF_PROG_TYPE_sk_skb types */ | 819 | /* Accessed by BPF_PROG_TYPE_sk_skb types from here to ... */ |
| 719 | __u32 family; | 820 | __u32 family; |
| 720 | __u32 remote_ip4; /* Stored in network byte order */ | 821 | __u32 remote_ip4; /* Stored in network byte order */ |
| 721 | __u32 local_ip4; /* Stored in network byte order */ | 822 | __u32 local_ip4; /* Stored in network byte order */ |
| @@ -723,6 +824,9 @@ struct __sk_buff { · 1 unmodified line | |||
| 723 | __u32 local_ip6[4]; /* Stored in network byte order */ | 824 | __u32 local_ip6[4]; /* Stored in network byte order */ |
| 724 | __u32 remote_port; /* Stored in network byte order */ | 825 | __u32 remote_port; /* Stored in network byte order */ |
| 725 | __u32 local_port; /* stored in host byte order */ | 826 | __u32 local_port; /* stored in host byte order */ |
| 827 | /* ... here. */ | ||
| 828 | |||
| 829 | __u32 data_meta; | ||
| 726 | }; | 830 | }; |
| 727 | 831 | ||
| 728 | struct bpf_tunnel_key { | 832 | struct bpf_tunnel_key { |
| @@ -783,12 +887,12 @@ enum xdp_action { · 54 unmodified lines | |||
| 783 | struct xdp_md { | 887 | struct xdp_md { |
| 784 | __u32 data; | 888 | __u32 data; |
| 785 | __u32 data_end; | 889 | __u32 data_end; |
| 890 | __u32 data_meta; | ||
| 786 | }; | 891 | }; |
| 787 | 892 | ||
| 788 | enum sk_action { | 893 | enum sk_action { |
| 789 | SK_DROP = 0, | 894 | SK_DROP = 0, |
| 790 | SK_PASS, | 895 | SK_PASS, |
| 791 | SK_REDIRECT, | ||
| 792 | }; | 896 | }; |
| 793 | 897 | ||
| 794 | #define BPF_TAG_SIZE 8 | 898 | #define BPF_TAG_SIZE 8 |
| @@ -801,6 +905,11 @@ struct bpf_prog_info { · 6 unmodified lines | |||
| 801 | __u32 xlated_prog_len; | 905 | __u32 xlated_prog_len; |
| 802 | __aligned_u64 jited_prog_insns; | 906 | __aligned_u64 jited_prog_insns; |
| 803 | __aligned_u64 xlated_prog_insns; | 907 | __aligned_u64 xlated_prog_insns; |
| 908 | __u64 load_time; /* ns since boottime */ | ||
| 909 | __u32 created_by_uid; | ||
| 910 | __u32 nr_map_ids; | ||
| 911 | __aligned_u64 map_ids; | ||
| 912 | char name[BPF_OBJ_NAME_LEN]; | ||
| 804 | } __attribute__((aligned(8))); | 913 | } __attribute__((aligned(8))); |
| 805 | 914 | ||
| 806 | struct bpf_map_info { | 915 | struct bpf_map_info { |
| @@ -810,6 +919,7 @@ struct bpf_map_info { · 3 unmodified lines | |||
| 810 | __u32 value_size; | 919 | __u32 value_size; |
| 811 | __u32 max_entries; | 920 | __u32 max_entries; |
| 812 | __u32 map_flags; | 921 | __u32 map_flags; |
| 922 | char name[BPF_OBJ_NAME_LEN]; | ||
| 813 | } __attribute__((aligned(8))); | 923 | } __attribute__((aligned(8))); |
| 814 | 924 | ||
| 815 | /* User bpf_sock_ops struct to access socket values and specify request ops | 925 | /* User bpf_sock_ops struct to access socket values and specify request ops |
| @@ -859,9 +969,35 @@ enum { · 43 unmodified lines | |||
| 859 | BPF_SOCK_OPS_NEEDS_ECN, /* If connection's congestion control | 969 | BPF_SOCK_OPS_NEEDS_ECN, /* If connection's congestion control |
| 860 | * needs ECN | 970 | * needs ECN |
| 861 | */ | 971 | */ |
| 972 | BPF_SOCK_OPS_BASE_RTT, /* Get base RTT. The correct value is | ||
| 973 | * based on the path and may be | ||
| 974 | * dependent on the congestion control | ||
| 975 | * algorithm. In general it indicates | ||
| 976 | * a congestion threshold. RTTs above | ||
| 977 | * this indicate congestion | ||
| 978 | */ | ||
| 862 | }; | 979 | }; |
| 863 | 980 | ||
| 864 | #define TCP_BPF_IW 1001 /* Set TCP initial congestion window */ | 981 | #define TCP_BPF_IW 1001 /* Set TCP initial congestion window */ |
| 865 | #define TCP_BPF_SNDCWND_CLAMP 1002 /* Set sndcwnd_clamp */ | 982 | #define TCP_BPF_SNDCWND_CLAMP 1002 /* Set sndcwnd_clamp */ |
| 866 | 983 | ||
| 984 | struct bpf_perf_event_value { | ||
| 985 | __u64 counter; | ||
| 986 | __u64 enabled; | ||
| 987 | __u64 running; | ||
| 988 | }; | ||
| 989 | |||
| 990 | #define BPF_DEVCG_ACC_MKNOD (1ULL << 0) | ||
| 991 | #define BPF_DEVCG_ACC_READ (1ULL << 1) | ||
| 992 | #define BPF_DEVCG_ACC_WRITE (1ULL << 2) | ||
| 993 | |||
| 994 | #define BPF_DEVCG_DEV_BLOCK (1ULL << 0) | ||
| 995 | #define BPF_DEVCG_DEV_CHAR (1ULL << 1) | ||
| 996 | |||
| 997 | struct bpf_cgroup_dev_ctx { | ||
| 998 | __u32 access_type; /* (access << 16) | type */ | ||
| 999 | __u32 major; | ||
| 1000 | __u32 minor; | ||
| 1001 | }; | ||
| 1002 | |||
| 867 | #endif /* _UAPI__LINUX_BPF_H__ */ | 1003 | #endif /* _UAPI__LINUX_BPF_H__ */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI__LINUX_BPF_COMMON_H__ | 2 | #ifndef _UAPI__LINUX_BPF_COMMON_H__ |
| 2 | #define _UAPI__LINUX_BPF_COMMON_H__ | 3 | #define _UAPI__LINUX_BPF_COMMON_H__ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* Copyright (c) 2016 Facebook | 2 | /* Copyright (c) 2016 Facebook |
| 2 | * | 3 | * |
| 3 | * This program is free software; you can redistribute it and/or | 4 | * This program is free software; you can redistribute it and/or |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __BPQETHER_H | 2 | #ifndef __BPQETHER_H |
| 2 | #define __BPQETHER_H | 3 | #define __BPQETHER_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPIBSG_H | 2 | #ifndef _UAPIBSG_H |
| 2 | #define _UAPIBSG_H | 3 | #define _UAPIBSG_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2015-2016, IBM Corporation. | 3 | * Copyright (c) 2015-2016, IBM Corporation. |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2007 Oracle. All rights reserved. | 3 | * Copyright (C) 2007 Oracle. All rights reserved. |
| 3 | * | 4 | * |
| @@ -608,10 +609,14 @@ struct btrfs_ioctl_ino_path_args { · 604 unmodified lines | |||
| 608 | struct btrfs_ioctl_logical_ino_args { | 609 | struct btrfs_ioctl_logical_ino_args { |
| 609 | __u64 logical; /* in */ | 610 | __u64 logical; /* in */ |
| 610 | __u64 size; /* in */ | 611 | __u64 size; /* in */ |
| 611 | __u64 reserved[4]; | 612 | __u64 reserved[3]; /* must be 0 for now */ |
| 613 | __u64 flags; /* in, v2 only */ | ||
| 612 | /* struct btrfs_data_container *inodes; out */ | 614 | /* struct btrfs_data_container *inodes; out */ |
| 613 | __u64 inodes; | 615 | __u64 inodes; |
| 614 | }; | 616 | }; |
| 617 | /* Return every ref to the extent, not just those containing logical block. | ||
| 618 | * Requires logical == extent bytenr. */ | ||
| 619 | #define BTRFS_LOGICAL_INO_ARGS_IGNORE_OFFSET (1ULL << 0) | ||
| 615 | 620 | ||
| 616 | enum btrfs_dev_stat_values { | 621 | enum btrfs_dev_stat_values { |
| 617 | /* disk I/O failure stats */ | 622 | /* disk I/O failure stats */ |
| @@ -835,5 +840,7 @@ enum btrfs_err_code { · 217 unmodified lines | |||
| 835 | struct btrfs_ioctl_feature_flags[3]) | 840 | struct btrfs_ioctl_feature_flags[3]) |
| 836 | #define BTRFS_IOC_RM_DEV_V2 _IOW(BTRFS_IOCTL_MAGIC, 58, \ | 841 | #define BTRFS_IOC_RM_DEV_V2 _IOW(BTRFS_IOCTL_MAGIC, 58, \ |
| 837 | struct btrfs_ioctl_vol_args_v2) | 842 | struct btrfs_ioctl_vol_args_v2) |
| 843 | #define BTRFS_IOC_LOGICAL_INO_V2 _IOWR(BTRFS_IOCTL_MAGIC, 59, \ | ||
| 844 | struct btrfs_ioctl_logical_ino_args) | ||
| 838 | 845 | ||
| 839 | #endif /* _UAPI_LINUX_BTRFS_H */ | 846 | #endif /* _UAPI_LINUX_BTRFS_H */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _BTRFS_CTREE_H_ | 2 | #ifndef _BTRFS_CTREE_H_ |
| 2 | #define _BTRFS_CTREE_H_ | 3 | #define _BTRFS_CTREE_H_ |
| 3 | 4 | ||
| @@ -732,6 +733,7 @@ struct btrfs_balance_item { · 728 unmodified lines | |||
| 732 | #define BTRFS_FILE_EXTENT_INLINE 0 | 733 | #define BTRFS_FILE_EXTENT_INLINE 0 |
| 733 | #define BTRFS_FILE_EXTENT_REG 1 | 734 | #define BTRFS_FILE_EXTENT_REG 1 |
| 734 | #define BTRFS_FILE_EXTENT_PREALLOC 2 | 735 | #define BTRFS_FILE_EXTENT_PREALLOC 2 |
| 736 | #define BTRFS_FILE_EXTENT_TYPES 2 | ||
| 735 | 737 | ||
| 736 | struct btrfs_file_extent_item { | 738 | struct btrfs_file_extent_item { |
| 737 | /* | 739 | /* |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_BYTEORDER_BIG_ENDIAN_H | 2 | #ifndef _UAPI_LINUX_BYTEORDER_BIG_ENDIAN_H |
| 2 | #define _UAPI_LINUX_BYTEORDER_BIG_ENDIAN_H | 3 | #define _UAPI_LINUX_BYTEORDER_BIG_ENDIAN_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_BYTEORDER_LITTLE_ENDIAN_H | 2 | #ifndef _UAPI_LINUX_BYTEORDER_LITTLE_ENDIAN_H |
| 2 | #define _UAPI_LINUX_BYTEORDER_LITTLE_ENDIAN_H | 3 | #define _UAPI_LINUX_BYTEORDER_LITTLE_ENDIAN_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* linux/caif_socket.h | 2 | /* linux/caif_socket.h |
| 2 | * CAIF Definitions for CAIF socket and network layer | 3 | * CAIF Definitions for CAIF socket and network layer |
| 3 | * Copyright (C) ST-Ericsson AB 2010 | 4 | * Copyright (C) ST-Ericsson AB 2010 |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) ST-Ericsson AB 2010 | 3 | * Copyright (C) ST-Ericsson AB 2010 |
| 3 | * Author: Sjur Brendeland | 4 | * Author: Sjur Brendeland |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */ | ||
| 1 | /* | 2 | /* |
| 2 | * linux/can.h | 3 | * linux/can.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */ | ||
| 1 | /* | 2 | /* |
| 2 | * linux/can/bcm.h | 3 | * linux/can/bcm.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */ | ||
| 1 | /* | 2 | /* |
| 2 | * linux/can/error.h | 3 | * linux/can/error.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */ | ||
| 1 | /* | 2 | /* |
| 2 | * linux/can/gw.h | 3 | * linux/can/gw.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * linux/can/netlink.h | 3 | * linux/can/netlink.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */ | ||
| 1 | /* | 2 | /* |
| 2 | * linux/can/raw.h | 3 | * linux/can/raw.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_CAN_VXCAN_H | 2 | #ifndef _UAPI_CAN_VXCAN_H |
| 2 | #define _UAPI_CAN_VXCAN_H | 3 | #define _UAPI_CAN_VXCAN_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * This is <linux/capability.h> | 3 | * This is <linux/capability.h> |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* $Id: capi.h,v 1.4.6.1 2001/09/23 22:25:05 kai Exp $ | 2 | /* $Id: capi.h,v 1.4.6.1 2001/09/23 22:25:05 kai Exp $ |
| 2 | * | 3 | * |
| 3 | * CAPI 2.0 Interface for Linux | 4 | * CAPI 2.0 Interface for Linux |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef CCISS_DEFS_H | 2 | #ifndef CCISS_DEFS_H |
| 2 | #define CCISS_DEFS_H | 3 | #define CCISS_DEFS_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPICCISS_IOCTLH | 2 | #ifndef _UAPICCISS_IOCTLH |
| 2 | #define _UAPICCISS_IOCTLH | 3 | #define _UAPICCISS_IOCTLH |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * -- <linux/cdrom.h> | 3 | * -- <linux/cdrom.h> |
| 3 | * General header file for linux CD-ROM drivers | 4 | * General header file for linux CD-ROM drivers |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */ | ||
| 1 | /* | 2 | /* |
| 2 | * cec - HDMI Consumer Electronics Control message functions | 3 | * cec - HDMI Consumer Electronics Control message functions |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */ | ||
| 1 | /* | 2 | /* |
| 2 | * cec - HDMI Consumer Electronics Control public header | 3 | * cec - HDMI Consumer Electronics Control public header |
| 3 | * | 4 | * |
| @@ -410,6 +411,8 @@ struct cec_log_addrs { · 406 unmodified lines | |||
| 410 | #define CEC_EVENT_LOST_MSGS 2 | 411 | #define CEC_EVENT_LOST_MSGS 2 |
| 411 | #define CEC_EVENT_PIN_CEC_LOW 3 | 412 | #define CEC_EVENT_PIN_CEC_LOW 3 |
| 412 | #define CEC_EVENT_PIN_CEC_HIGH 4 | 413 | #define CEC_EVENT_PIN_CEC_HIGH 4 |
| 414 | #define CEC_EVENT_PIN_HPD_LOW 5 | ||
| 415 | #define CEC_EVENT_PIN_HPD_HIGH 6 | ||
| 413 | 416 | ||
| 414 | #define CEC_EVENT_FL_INITIAL_STATE (1 << 0) | 417 | #define CEC_EVENT_FL_INITIAL_STATE (1 << 0) |
| 415 | #define CEC_EVENT_FL_DROPPED_EVENTS (1 << 1) | 418 | #define CEC_EVENT_FL_DROPPED_EVENTS (1 << 1) |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: LGPL-2.1 WITH Linux-syscall-note */ | ||
| 1 | /* cgroupstats.h - exporting per-cgroup statistics | 2 | /* cgroupstats.h - exporting per-cgroup statistics |
| 2 | * | 3 | * |
| 3 | * Copyright IBM Corporation, 2007 | 4 | * Copyright IBM Corporation, 2007 |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * ioctl interface for the scsi media changer driver | 3 | * ioctl interface for the scsi media changer driver |
| 3 | */ | 4 | */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * include/uapi/linux/cifs/cifs_mount.h | 3 | * include/uapi/linux/cifs/cifs_mount.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_CM4000_H_ | 2 | #ifndef _UAPI_CM4000_H_ |
| 2 | #define _UAPI_CM4000_H_ | 3 | #define _UAPI_CM4000_H_ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: LGPL-2.1 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * cn_proc.h - process events connector | 3 | * cn_proc.h - process events connector |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI__CODA_PSDEV_H | 2 | #ifndef _UAPI__CODA_PSDEV_H |
| 2 | #define _UAPI__CODA_PSDEV_H | 3 | #define _UAPI__CODA_PSDEV_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* This file is derived from the GAS 2.1.4 assembler control file. | 2 | /* This file is derived from the GAS 2.1.4 assembler control file. |
| 2 | The GAS product is under the GNU General Public License, version 2 or later. | 3 | The GAS product is under the GNU General Public License, version 2 or later. |
| 3 | As such, this file is also under that license. | 4 | As such, this file is also under that license. |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * connector.h | 3 | * connector.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* const.h: Macros for dealing with constants. */ | 2 | /* const.h: Macros for dealing with constants. */ |
| 2 | 3 | ||
| 3 | #ifndef _LINUX_CONST_H | 4 | #ifndef _LINUX_CONST_H |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __UAPI_CORESIGHT_STM_H_ | 2 | #ifndef __UAPI_CORESIGHT_STM_H_ |
| 2 | #define __UAPI_CORESIGHT_STM_H_ | 3 | #define __UAPI_CORESIGHT_STM_H_ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI__CRAMFS_H | 2 | #ifndef _UAPI__CRAMFS_H |
| 2 | #define _UAPI__CRAMFS_H | 3 | #define _UAPI__CRAMFS_H |
| 3 | 4 | ||
| @@ -73,6 +74,7 @@ struct cramfs_super { · 69 unmodified lines | |||
| 73 | #define CRAMFS_FLAG_HOLES 0x00000100 /* support for holes */ | 74 | #define CRAMFS_FLAG_HOLES 0x00000100 /* support for holes */ |
| 74 | #define CRAMFS_FLAG_WRONG_SIGNATURE 0x00000200 /* reserved */ | 75 | #define CRAMFS_FLAG_WRONG_SIGNATURE 0x00000200 /* reserved */ |
| 75 | #define CRAMFS_FLAG_SHIFTED_ROOT_OFFSET 0x00000400 /* shifted root fs */ | 76 | #define CRAMFS_FLAG_SHIFTED_ROOT_OFFSET 0x00000400 /* shifted root fs */ |
| 77 | #define CRAMFS_FLAG_EXT_BLOCK_POINTERS 0x00000800 /* block pointer extensions */ | ||
| 76 | 78 | ||
| 77 | /* | 79 | /* |
| 78 | * Valid values in super.flags. Currently we refuse to mount | 80 | * Valid values in super.flags. Currently we refuse to mount |
| @@ -82,7 +84,30 @@ struct cramfs_super { · 3 unmodified lines | |||
| 82 | #define CRAMFS_SUPPORTED_FLAGS ( 0x000000ff \ | 84 | #define CRAMFS_SUPPORTED_FLAGS ( 0x000000ff \ |
| 83 | | CRAMFS_FLAG_HOLES \ | 85 | | CRAMFS_FLAG_HOLES \ |
| 84 | | CRAMFS_FLAG_WRONG_SIGNATURE \ | 86 | | CRAMFS_FLAG_WRONG_SIGNATURE \ |
| 85 | | CRAMFS_FLAG_SHIFTED_ROOT_OFFSET ) | 87 | | CRAMFS_FLAG_SHIFTED_ROOT_OFFSET \ |
| 88 | | CRAMFS_FLAG_EXT_BLOCK_POINTERS ) | ||
| 86 | 89 | ||
| 90 | /* | ||
| 91 | * Block pointer flags | ||
| 92 | * | ||
| 93 | * The maximum block offset that needs to be represented is roughly: | ||
| 94 | * | ||
| 95 | * (1 << CRAMFS_OFFSET_WIDTH) * 4 + | ||
| 96 | * (1 << CRAMFS_SIZE_WIDTH) / PAGE_SIZE * (4 + PAGE_SIZE) | ||
| 97 | * = 0x11004000 | ||
| 98 | * | ||
| 99 | * That leaves room for 3 flag bits in the block pointer table. | ||
| 100 | */ | ||
| 101 | #define CRAMFS_BLK_FLAG_UNCOMPRESSED (1 << 31) | ||
| 102 | #define CRAMFS_BLK_FLAG_DIRECT_PTR (1 << 30) | ||
| 103 | |||
| 104 | #define CRAMFS_BLK_FLAGS ( CRAMFS_BLK_FLAG_UNCOMPRESSED \ | ||
| 105 | | CRAMFS_BLK_FLAG_DIRECT_PTR ) | ||
| 106 | |||
| 107 | /* | ||
| 108 | * Direct blocks are at least 4-byte aligned. | ||
| 109 | * Pointers to direct blocks are shifted down by 2 bits. | ||
| 110 | */ | ||
| 111 | #define CRAMFS_BLK_DIRECT_PTR_SHIFT 2 | ||
| 87 | 112 | ||
| 88 | #endif /* _UAPI__CRAMFS_H */ | 113 | #endif /* _UAPI__CRAMFS_H */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Crypto user configuration API. | 3 | * Crypto user configuration API. |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Definitions for talking to the CUDA. The CUDA is a microcontroller | 3 | * Definitions for talking to the CUDA. The CUDA is a microcontroller |
| 3 | * which controls the ADB, system power, RTC, and various other things. | 4 | * which controls the ADB, system power, RTC, and various other things. |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* $Revision: 3.0 $$Date: 1998/11/02 14:20:59 $ | 2 | /* $Revision: 3.0 $$Date: 1998/11/02 14:20:59 $ |
| 2 | * linux/include/linux/cyclades.h | 3 | * linux/include/linux/cyclades.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * cycx_cfm.h Cyclom 2X WAN Link Driver. | 3 | * cycx_cfm.h Cyclom 2X WAN Link Driver. |
| 3 | * Definitions for the Cyclom 2X Firmware Module (CFM). | 4 | * Definitions for the Cyclom 2X Firmware Module (CFM). |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2008-2011, Intel Corporation. | 3 | * Copyright (c) 2008-2011, Intel Corporation. |
| 3 | * | 4 | * |
| @@ -205,6 +206,7 @@ struct cee_pfc { · 201 unmodified lines | |||
| 205 | #define IEEE_8021QAZ_APP_SEL_STREAM 2 | 206 | #define IEEE_8021QAZ_APP_SEL_STREAM 2 |
| 206 | #define IEEE_8021QAZ_APP_SEL_DGRAM 3 | 207 | #define IEEE_8021QAZ_APP_SEL_DGRAM 3 |
| 207 | #define IEEE_8021QAZ_APP_SEL_ANY 4 | 208 | #define IEEE_8021QAZ_APP_SEL_ANY 4 |
| 209 | #define IEEE_8021QAZ_APP_SEL_DSCP 5 | ||
| 208 | 210 | ||
| 209 | /* This structure contains the IEEE 802.1Qaz APP managed object. This | 211 | /* This structure contains the IEEE 802.1Qaz APP managed object. This |
| 210 | * object is also used for the CEE std as well. | 212 | * object is also used for the CEE std as well. |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_DCCP_H | 2 | #ifndef _UAPI_LINUX_DCCP_H |
| 2 | #define _UAPI_LINUX_DCCP_H | 3 | #define _UAPI_LINUX_DCCP_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * include/uapi/linux/devlink.h - Network physical device Netlink interface | 3 | * include/uapi/linux/devlink.h - Network physical device Netlink interface |
| 3 | * Copyright (c) 2016 Mellanox Technologies. All rights reserved. | 4 | * Copyright (c) 2016 Mellanox Technologies. All rights reserved. |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /****************************************************************************** | 2 | /****************************************************************************** |
| 2 | ******************************************************************************* | 3 | ******************************************************************************* |
| 3 | ** | 4 | ** |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /****************************************************************************** | 2 | /****************************************************************************** |
| 2 | ******************************************************************************* | 3 | ******************************************************************************* |
| 3 | ** | 4 | ** |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2007 Red Hat, Inc. All rights reserved. | 3 | * Copyright (C) 2007 Red Hat, Inc. All rights reserved. |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2005-2008 Red Hat, Inc. All rights reserved. | 3 | * Copyright (C) 2005-2008 Red Hat, Inc. All rights reserved. |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /****************************************************************************** | 2 | /****************************************************************************** |
| 2 | ******************************************************************************* | 3 | ******************************************************************************* |
| 3 | ** | 4 | ** |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: LGPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2001 - 2003 Sistina Software (UK) Limited. | 3 | * Copyright (C) 2001 - 2003 Sistina Software (UK) Limited. |
| 3 | * Copyright (C) 2004 - 2009 Red Hat, Inc. All rights reserved. | 4 | * Copyright (C) 2004 - 2009 Red Hat, Inc. All rights reserved. |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: LGPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2006-2009 Red Hat, Inc. | 3 | * Copyright (C) 2006-2009 Red Hat, Inc. |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Framework for buffer objects that can be shared across devices/subsystems. | 3 | * Framework for buffer objects that can be shared across devices/subsystems. |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _LINUX_DN_H | 2 | #ifndef _LINUX_DN_H |
| 2 | #define _LINUX_DN_H | 3 | #define _LINUX_DN_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 1995-2001,2004 Silicon Graphics, Inc. All Rights Reserved. | 3 | * Copyright (c) 1995-2001,2004 Silicon Graphics, Inc. All Rights Reserved. |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * audio.h | 3 | * audio.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * ca.h | 3 | * ca.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * dmx.h | 3 | * dmx.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * frontend.h | 3 | * frontend.h |
| 3 | * | 4 | * |
| @@ -830,7 +831,7 @@ struct dtv_fe_stats { · 826 unmodified lines | |||
| 830 | * @cmd: Digital TV command. | 831 | * @cmd: Digital TV command. |
| 831 | * @reserved: Not used. | 832 | * @reserved: Not used. |
| 832 | * @u: Union with the values for the command. | 833 | * @u: Union with the values for the command. |
| 833 | * @result: Result of the command set (currently unused). | 834 | * @result: Unused |
| 834 | * | 835 | * |
| 835 | * The @u union may have either one of the values below: | 836 | * The @u union may have either one of the values below: |
| 836 | * | 837 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * net.h | 3 | * net.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * osd.h | 3 | * osd.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * version.h | 3 | * version.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * video.h | 3 | * video.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * linux/include/linux/edd.h | 3 | * linux/include/linux/edd.h |
| 3 | * Copyright (C) 2002, 2003, 2004 Dell Inc. | 4 | * Copyright (C) 2002, 2003, 2004 Dell Inc. |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * efs_fs_sb.h | 3 | * efs_fs_sb.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _LINUX_ELF_EM_H | 2 | #ifndef _LINUX_ELF_EM_H |
| 2 | #define _LINUX_ELF_EM_H | 3 | #define _LINUX_ELF_EM_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* elf-fdpic.h: FDPIC ELF load map | 2 | /* elf-fdpic.h: FDPIC ELF load map |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2003 Red Hat, Inc. All Rights Reserved. | 4 | * Copyright (C) 2003 Red Hat, Inc. All Rights Reserved. |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_ELF_H | 2 | #ifndef _UAPI_LINUX_ELF_H |
| 2 | #define _UAPI_LINUX_ELF_H | 3 | #define _UAPI_LINUX_ELF_H |
| 3 | 4 | ||
| @@ -411,11 +412,13 @@ typedef struct elf64_shdr { · 407 unmodified lines | |||
| 411 | #define NT_S390_VXRS_HIGH 0x30a /* s390 vector registers 16-31 */ | 412 | #define NT_S390_VXRS_HIGH 0x30a /* s390 vector registers 16-31 */ |
| 412 | #define NT_S390_GS_CB 0x30b /* s390 guarded storage registers */ | 413 | #define NT_S390_GS_CB 0x30b /* s390 guarded storage registers */ |
| 413 | #define NT_S390_GS_BC 0x30c /* s390 guarded storage broadcast control block */ | 414 | #define NT_S390_GS_BC 0x30c /* s390 guarded storage broadcast control block */ |
| 415 | #define NT_S390_RI_CB 0x30d /* s390 runtime instrumentation */ | ||
| 414 | #define NT_ARM_VFP 0x400 /* ARM VFP/NEON registers */ | 416 | #define NT_ARM_VFP 0x400 /* ARM VFP/NEON registers */ |
| 415 | #define NT_ARM_TLS 0x401 /* ARM TLS register */ | 417 | #define NT_ARM_TLS 0x401 /* ARM TLS register */ |
| 416 | #define NT_ARM_HW_BREAK 0x402 /* ARM hardware breakpoint registers */ | 418 | #define NT_ARM_HW_BREAK 0x402 /* ARM hardware breakpoint registers */ |
| 417 | #define NT_ARM_HW_WATCH 0x403 /* ARM hardware watchpoint registers */ | 419 | #define NT_ARM_HW_WATCH 0x403 /* ARM hardware watchpoint registers */ |
| 418 | #define NT_ARM_SYSTEM_CALL 0x404 /* ARM system call number */ | 420 | #define NT_ARM_SYSTEM_CALL 0x404 /* ARM system call number */ |
| 421 | #define NT_ARM_SVE 0x405 /* ARM Scalable Vector Extension registers */ | ||
| 419 | #define NT_METAG_CBUF 0x500 /* Metag catch buffer registers */ | 422 | #define NT_METAG_CBUF 0x500 /* Metag catch buffer registers */ |
| 420 | #define NT_METAG_RPIPE 0x501 /* Metag read pipeline state */ | 423 | #define NT_METAG_RPIPE 0x501 /* Metag read pipeline state */ |
| 421 | #define NT_METAG_TLS 0x502 /* Metag TLS pointer */ | 424 | #define NT_METAG_TLS 0x502 /* Metag TLS pointer */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_ELFCORE_H | 2 | #ifndef _UAPI_LINUX_ELFCORE_H |
| 2 | #define _UAPI_LINUX_ELFCORE_H | 3 | #define _UAPI_LINUX_ELFCORE_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_ERRQUEUE_H | 2 | #ifndef _UAPI_LINUX_ERRQUEUE_H |
| 2 | #define _UAPI_LINUX_ERRQUEUE_H | 3 | #define _UAPI_LINUX_ERRQUEUE_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * ethtool.h: Defines for Linux ethtool. | 3 | * ethtool.h: Defines for Linux ethtool. |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * include/linux/eventpoll.h ( Efficient event polling implementation ) | 3 | * include/linux/eventpoll.h ( Efficient event polling implementation ) |
| 3 | * Copyright (C) 2001,...,2006 Davide Libenzi | 4 | * Copyright (C) 2001,...,2006 Davide Libenzi |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef FADVISE_H_INCLUDED | 2 | #ifndef FADVISE_H_INCLUDED |
| 2 | #define FADVISE_H_INCLUDED | 3 | #define FADVISE_H_INCLUDED |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_FALLOC_H_ | 2 | #ifndef _UAPI_FALLOC_H_ |
| 2 | #define _UAPI_FALLOC_H_ | 3 | #define _UAPI_FALLOC_H_ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_FANOTIFY_H | 2 | #ifndef _UAPI_LINUX_FANOTIFY_H |
| 2 | #define _UAPI_LINUX_FANOTIFY_H | 3 | #define _UAPI_LINUX_FANOTIFY_H |
| 3 | 4 | ||
| @@ -35,6 +36,7 @@ · 31 unmodified lines | |||
| 35 | 36 | ||
| 36 | #define FAN_UNLIMITED_QUEUE 0x00000010 | 37 | #define FAN_UNLIMITED_QUEUE 0x00000010 |
| 37 | #define FAN_UNLIMITED_MARKS 0x00000020 | 38 | #define FAN_UNLIMITED_MARKS 0x00000020 |
| 39 | #define FAN_ENABLE_AUDIT 0x00000040 | ||
| 38 | 40 | ||
| 39 | #define FAN_ALL_INIT_FLAGS (FAN_CLOEXEC | FAN_NONBLOCK | \ | 41 | #define FAN_ALL_INIT_FLAGS (FAN_CLOEXEC | FAN_NONBLOCK | \ |
| 40 | FAN_ALL_CLASS_BITS | FAN_UNLIMITED_QUEUE |\ | 42 | FAN_ALL_CLASS_BITS | FAN_UNLIMITED_QUEUE |\ |
| @@ -99,6 +101,8 @@ struct fanotify_response { · 58 unmodified lines | |||
| 99 | /* Legit userspace responses to a _PERM event */ | 101 | /* Legit userspace responses to a _PERM event */ |
| 100 | #define FAN_ALLOW 0x01 | 102 | #define FAN_ALLOW 0x01 |
| 101 | #define FAN_DENY 0x02 | 103 | #define FAN_DENY 0x02 |
| 104 | #define FAN_AUDIT 0x10 /* Bit mask to create audit record for result */ | ||
| 105 | |||
| 102 | /* No fd set in event */ | 106 | /* No fd set in event */ |
| 103 | #define FAN_NOFD -1 | 107 | #define FAN_NOFD -1 |
| 104 | 108 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_FB_H | 2 | #ifndef _UAPI_LINUX_FB_H |
| 2 | #define _UAPI_LINUX_FB_H | 3 | #define _UAPI_LINUX_FB_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_FCNTL_H | 2 | #ifndef _UAPI_LINUX_FCNTL_H |
| 2 | #define _UAPI_LINUX_FCNTL_H | 3 | #define _UAPI_LINUX_FCNTL_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_FD_H | 2 | #ifndef _UAPI_LINUX_FD_H |
| 2 | #define _UAPI_LINUX_FD_H | 3 | #define _UAPI_LINUX_FD_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _LINUX_FDREG_H | 2 | #ifndef _LINUX_FDREG_H |
| 2 | #define _LINUX_FDREG_H | 3 | #define _LINUX_FDREG_H |
| 3 | /* | 4 | /* |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_FIB_RULES_H | 2 | #ifndef __LINUX_FIB_RULES_H |
| 2 | #define __LINUX_FIB_RULES_H | 3 | #define __LINUX_FIB_RULES_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * FS_IOC_FIEMAP ioctl infrastructure. | 3 | * FS_IOC_FIEMAP ioctl infrastructure. |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Linux Socket Filter Data Structures | 3 | * Linux Socket Filter Data Structures |
| 3 | */ | 4 | */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2002-2003 David McCullough <davidm@snapgear.com> | 3 | * Copyright (C) 2002-2003 David McCullough <davidm@snapgear.com> |
| 3 | * Copyright (C) 1998 Kenneth Albanowski <kjahds@kjahds.com> | 4 | * Copyright (C) 1998 Kenneth Albanowski <kjahds@kjahds.com> |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* fou.h - FOU Interface */ | 2 | /* fou.h - FOU Interface */ |
| 2 | 3 | ||
| 3 | #ifndef _UAPI_LINUX_FOU_H | 4 | #ifndef _UAPI_LINUX_FOU_H |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_FS_H | 2 | #ifndef _UAPI_LINUX_FS_H |
| 2 | #define _UAPI_LINUX_FS_H | 3 | #define _UAPI_LINUX_FS_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: ((GPL-2.0+ WITH Linux-syscall-note) OR BSD-3-Clause) */ | ||
| 1 | /* | 2 | /* |
| 2 | * Freescale hypervisor ioctl and kernel interface | 3 | * Freescale hypervisor ioctl and kernel interface |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * FS_IOC_GETFSMAP ioctl infrastructure. | 3 | * FS_IOC_GETFSMAP ioctl infrastructure. |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) */ | ||
| 1 | /* | 2 | /* |
| 2 | This file defines the kernel interface of FUSE | 3 | This file defines the kernel interface of FUSE |
| 3 | Copyright (C) 2001-2008 Miklos Szeredi <miklos@szeredi.hu> | 4 | Copyright (C) 2001-2008 Miklos Szeredi <miklos@szeredi.hu> |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_FUTEX_H | 2 | #ifndef _UAPI_LINUX_FUTEX_H |
| 2 | #define _UAPI_LINUX_FUTEX_H | 3 | #define _UAPI_LINUX_FUTEX_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 1999-2002 Vojtech Pavlik | 3 | * Copyright (c) 1999-2002 Vojtech Pavlik |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_GEN_STATS_H | 2 | #ifndef __LINUX_GEN_STATS_H |
| 2 | #define __LINUX_GEN_STATS_H | 3 | #define __LINUX_GEN_STATS_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI__LINUX_GENERIC_NETLINK_H | 2 | #ifndef _UAPI__LINUX_GENERIC_NETLINK_H |
| 2 | #define _UAPI__LINUX_GENERIC_NETLINK_H | 3 | #define _UAPI__LINUX_GENERIC_NETLINK_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __GENWQE_CARD_H__ | 2 | #ifndef __GENWQE_CARD_H__ |
| 2 | #define __GENWQE_CARD_H__ | 3 | #define __GENWQE_CARD_H__ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. | 3 | * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. |
| 3 | * Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved. | 4 | * Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved. |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * interface to user space for the gigaset driver | 3 | * interface to user space for the gigaset driver |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * <linux/gpio.h> - userspace ABI for the GPIO character devices | 3 | * <linux/gpio.h> - userspace ABI for the GPIO character devices |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _LINUX_GSMMUX_H | 2 | #ifndef _LINUX_GSMMUX_H |
| 2 | #define _LINUX_GSMMUX_H | 3 | #define _LINUX_GSMMUX_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_GTP_H_ | 2 | #ifndef _UAPI_LINUX_GTP_H_ |
| 2 | #define _UAPI_LINUX_GTP_H_ | 3 | #define _UAPI_LINUX_GTP_H_ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Hash Info: Hash algorithms information | 3 | * Hash Info: Hash algorithms information |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Generic HDLC support routines for Linux | 3 | * Generic HDLC support routines for Linux |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __HDLC_IOCTL_H__ | 2 | #ifndef __HDLC_IOCTL_H__ |
| 2 | #define __HDLC_IOCTL_H__ | 3 | #define __HDLC_IOCTL_H__ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * hdlcdrv.h -- HDLC packet radio network driver. | 3 | * hdlcdrv.h -- HDLC packet radio network driver. |
| 3 | * The Linux soundcard driver for 1200 baud and 9600 baud packet radio | 4 | * The Linux soundcard driver for 1200 baud and 9600 baud packet radio |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _LINUX_HDREG_H | 2 | #ifndef _LINUX_HDREG_H |
| 2 | #define _LINUX_HDREG_H | 3 | #define _LINUX_HDREG_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 1999 Andreas Gal | 3 | * Copyright (c) 1999 Andreas Gal |
| 3 | * Copyright (c) 2000-2001 Vojtech Pavlik | 4 | * Copyright (c) 2000-2001 Vojtech Pavlik |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 1999-2000 Vojtech Pavlik | 3 | * Copyright (c) 1999-2000 Vojtech Pavlik |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2007 Jiri Kosina | 3 | * Copyright (c) 2007 Jiri Kosina |
| 3 | */ | 4 | */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI__HPET__ | 2 | #ifndef _UAPI__HPET__ |
| 2 | #define _UAPI__HPET__ | 3 | #define _UAPI__HPET__ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * cmt-speech interface definitions | 3 | * cmt-speech interface definitions |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Part of the HSI character device driver. | 3 | * Part of the HSI character device driver. |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2011-2013 Autronica Fire and Security AS | 3 | * Copyright 2011-2013 Autronica Fire and Security AS |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_HW_BREAKPOINT_H | 2 | #ifndef _UAPI_LINUX_HW_BREAKPOINT_H |
| 2 | #define _UAPI_LINUX_HW_BREAKPOINT_H | 3 | #define _UAPI_LINUX_HW_BREAKPOINT_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * | 3 | * |
| 3 | * Copyright (c) 2011, Microsoft Corporation. | 4 | * Copyright (c) 2011, Microsoft Corporation. |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* $Id: hysdn_if.h,v 1.1.8.3 2001/09/23 22:25:05 kai Exp $ | 2 | /* $Id: hysdn_if.h,v 1.1.8.3 2001/09/23 22:25:05 kai Exp $ |
| 2 | * | 3 | * |
| 3 | * Linux driver for HYSDN cards | 4 | * Linux driver for HYSDN cards |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | i2c-dev.h - i2c-bus driver, char device interface | 3 | i2c-dev.h - i2c-bus driver, char device interface |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* ------------------------------------------------------------------------- */ | 2 | /* ------------------------------------------------------------------------- */ |
| 2 | /* */ | 3 | /* */ |
| 3 | /* i2c.h - definitions for the i2c-bus interface */ | 4 | /* i2c.h - definitions for the i2c-bus interface */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * I2O user space accessible structures/APIs | 3 | * I2O user space accessible structures/APIs |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * i8k.h -- Linux driver for accessing the SMM BIOS on Dell laptops | 3 | * i8k.h -- Linux driver for accessing the SMM BIOS on Dell laptops |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * INET An implementation of the TCP/IP protocol suite for the LINUX | 3 | * INET An implementation of the TCP/IP protocol suite for the LINUX |
| 3 | * operating system. INET is implemented using the BSD Socket | 4 | * operating system. INET is implemented using the BSD Socket |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_ICMPV6_H | 2 | #ifndef _UAPI_LINUX_ICMPV6_H |
| 2 | #define _UAPI_LINUX_ICMPV6_H | 3 | #define _UAPI_LINUX_ICMPV6_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * INET An implementation of the TCP/IP protocol suite for the LINUX | 3 | * INET An implementation of the TCP/IP protocol suite for the LINUX |
| 3 | * operating system. INET is implemented using the BSD Socket | 4 | * operating system. INET is implemented using the BSD Socket |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_IF_ADDR_H | 2 | #ifndef __LINUX_IF_ADDR_H |
| 2 | #define __LINUX_IF_ADDR_H | 3 | #define __LINUX_IF_ADDR_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * if_addrlabel.h - netlink interface for address labels | 3 | * if_addrlabel.h - netlink interface for address labels |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * if_alg: User-space algorithm interface | 3 | * if_alg: User-space algorithm interface |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * INET An implementation of the TCP/IP protocol suite for the LINUX | 3 | * INET An implementation of the TCP/IP protocol suite for the LINUX |
| 3 | * operating system. INET is implemented using the BSD Socket | 4 | * operating system. INET is implemented using the BSD Socket |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * INET An implementation of the TCP/IP protocol suite for the LINUX | 3 | * INET An implementation of the TCP/IP protocol suite for the LINUX |
| 3 | * operating system. INET is implemented using the BSD Socket | 4 | * operating system. INET is implemented using the BSD Socket |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Bond several ethernet interfaces into a Cisco, running 'Etherchannel'. | 3 | * Bond several ethernet interfaces into a Cisco, running 'Etherchannel'. |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Linux ethernet bridge | 3 | * Linux ethernet bridge |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | #ifndef _LINUX_CABLEMODEM_H_ | 2 | #ifndef _LINUX_CABLEMODEM_H_ |
| 2 | #define _LINUX_CABLEMODEM_H_ | 3 | #define _LINUX_CABLEMODEM_H_ |
| 3 | /* | 4 | /* |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Equalizer Load-balancer for serial network interfaces. | 3 | * Equalizer Load-balancer for serial network interfaces. |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * INET An implementation of the TCP/IP protocol suite for the LINUX | 3 | * INET An implementation of the TCP/IP protocol suite for the LINUX |
| 3 | * operating system. INET is implemented using the BSD Socket | 4 | * operating system. INET is implemented using the BSD Socket |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * INET An implementation of the TCP/IP protocol suite for the LINUX | 3 | * INET An implementation of the TCP/IP protocol suite for the LINUX |
| 3 | * operating system. INET is implemented using the BSD Socket | 4 | * operating system. INET is implemented using the BSD Socket |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * INET An implementation of the TCP/IP protocol suite for the LINUX | 3 | * INET An implementation of the TCP/IP protocol suite for the LINUX |
| 3 | * operating system. INET is implemented using the BSD Socket | 4 | * operating system. INET is implemented using the BSD Socket |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * DLCI/FRAD Definitions for Frame Relay Access Devices. DLCI devices are | 3 | * DLCI/FRAD Definitions for Frame Relay Access Devices. DLCI devices are |
| 3 | * created for each DLCI associated with a FRAD. The FRAD driver | 4 | * created for each DLCI associated with a FRAD. The FRAD driver |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * INET An implementation of the TCP/IP protocol suite for the LINUX | 3 | * INET An implementation of the TCP/IP protocol suite for the LINUX |
| 3 | * operating system. INET is implemented using the BSD Socket | 4 | * operating system. INET is implemented using the BSD Socket |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */ | ||
| 1 | /* | 2 | /* |
| 2 | * This software is available to you under a choice of one of two | 3 | * This software is available to you under a choice of one of two |
| 3 | * licenses. You may choose to be licensed under the terms of the GNU | 4 | * licenses. You may choose to be licensed under the terms of the GNU |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_IF_LINK_H | 2 | #ifndef _UAPI_LINUX_IF_LINK_H |
| 2 | #define _UAPI_LINUX_IF_LINK_H | 3 | #define _UAPI_LINUX_IF_LINK_H |
| 3 | 4 | ||
| @@ -158,6 +159,8 @@ enum { · 154 unmodified lines | |||
| 158 | IFLA_PAD, | 159 | IFLA_PAD, |
| 159 | IFLA_XDP, | 160 | IFLA_XDP, |
| 160 | IFLA_EVENT, | 161 | IFLA_EVENT, |
| 162 | IFLA_NEW_NETNSID, | ||
| 163 | IFLA_IF_NETNSID, | ||
| 161 | __IFLA_MAX | 164 | __IFLA_MAX |
| 162 | }; | 165 | }; |
| 163 | 166 | ||
| @@ -325,6 +328,8 @@ enum { · 161 unmodified lines | |||
| 325 | IFLA_BRPORT_MCAST_TO_UCAST, | 328 | IFLA_BRPORT_MCAST_TO_UCAST, |
| 326 | IFLA_BRPORT_VLAN_TUNNEL, | 329 | IFLA_BRPORT_VLAN_TUNNEL, |
| 327 | IFLA_BRPORT_BCAST_FLOOD, | 330 | IFLA_BRPORT_BCAST_FLOOD, |
| 331 | IFLA_BRPORT_GROUP_FWD_MASK, | ||
| 332 | IFLA_BRPORT_NEIGH_SUPPRESS, | ||
| 328 | __IFLA_BRPORT_MAX | 333 | __IFLA_BRPORT_MAX |
| 329 | }; | 334 | }; |
| 330 | #define IFLA_BRPORT_MAX (__IFLA_BRPORT_MAX - 1) | 335 | #define IFLA_BRPORT_MAX (__IFLA_BRPORT_MAX - 1) |
| @@ -462,6 +467,7 @@ enum macsec_validation_type { · 131 unmodified lines | |||
| 462 | enum { | 467 | enum { |
| 463 | IFLA_IPVLAN_UNSPEC, | 468 | IFLA_IPVLAN_UNSPEC, |
| 464 | IFLA_IPVLAN_MODE, | 469 | IFLA_IPVLAN_MODE, |
| 470 | IFLA_IPVLAN_FLAGS, | ||
| 465 | __IFLA_IPVLAN_MAX | 471 | __IFLA_IPVLAN_MAX |
| 466 | }; | 472 | }; |
| 467 | 473 | ||
| @@ -474,6 +480,9 @@ enum ipvlan_mode { · 6 unmodified lines | |||
| 474 | IPVLAN_MODE_MAX | 480 | IPVLAN_MODE_MAX |
| 475 | }; | 481 | }; |
| 476 | 482 | ||
| 483 | #define IPVLAN_F_PRIVATE 0x01 | ||
| 484 | #define IPVLAN_F_VEPA 0x02 | ||
| 485 | |||
| 477 | /* VXLAN section */ | 486 | /* VXLAN section */ |
| 478 | enum { | 487 | enum { |
| 479 | IFLA_VXLAN_UNSPEC, | 488 | IFLA_VXLAN_UNSPEC, |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI__LINUX_LTALK_H | 2 | #ifndef _UAPI__LINUX_LTALK_H |
| 2 | #define _UAPI__LINUX_LTALK_H | 3 | #define _UAPI__LINUX_LTALK_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * include/uapi/linux/if_macsec.h - MACsec device | 3 | * include/uapi/linux/if_macsec.h - MACsec device |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_IF_PACKET_H | 2 | #ifndef __LINUX_IF_PACKET_H |
| 2 | #define __LINUX_IF_PACKET_H | 3 | #define __LINUX_IF_PACKET_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * File: if_phonet.h | 3 | * File: if_phonet.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * NET3 PLIP tuning facilities for the new Niibe PLIP. | 3 | * NET3 PLIP tuning facilities for the new Niibe PLIP. |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /*************************************************************************** | 2 | /*************************************************************************** |
| 2 | * Linux PPP over L2TP (PPPoL2TP) Socket Implementation (RFC 2661) | 3 | * Linux PPP over L2TP (PPPoL2TP) Socket Implementation (RFC 2661) |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /*************************************************************************** | 2 | /*************************************************************************** |
| 2 | * Linux PPP over X - Generic PPP transport layer sockets | 3 | * Linux PPP over X - Generic PPP transport layer sockets |
| 3 | * Linux PPP over Ethernet (PPPoE) Socket Implementation (RFC 2516) | 4 | * Linux PPP over Ethernet (PPPoE) Socket Implementation (RFC 2516) |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Swansea University Computer Society NET3 | 3 | * Swansea University Computer Society NET3 |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * include/linux/if_team.h - Network team device driver header | 3 | * include/linux/if_team.h - Network team device driver header |
| 3 | * Copyright (c) 2011 Jiri Pirko <jpirko@redhat.com> | 4 | * Copyright (c) 2011 Jiri Pirko <jpirko@redhat.com> |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Universal TUN/TAP device driver. | 3 | * Universal TUN/TAP device driver. |
| 3 | * Copyright (C) 1999-2000 Maxim Krasnyansky <max_mk@yahoo.com> | 4 | * Copyright (C) 1999-2000 Maxim Krasnyansky <max_mk@yahoo.com> |
| @@ -60,6 +61,8 @@ · 56 unmodified lines | |||
| 60 | /* TUNSETIFF ifr flags */ | 61 | /* TUNSETIFF ifr flags */ |
| 61 | #define IFF_TUN 0x0001 | 62 | #define IFF_TUN 0x0001 |
| 62 | #define IFF_TAP 0x0002 | 63 | #define IFF_TAP 0x0002 |
| 64 | #define IFF_NAPI 0x0010 | ||
| 65 | #define IFF_NAPI_FRAGS 0x0020 | ||
| 63 | #define IFF_NO_PI 0x1000 | 66 | #define IFF_NO_PI 0x1000 |
| 64 | /* This flag has no real effect */ | 67 | /* This flag has no real effect */ |
| 65 | #define IFF_ONE_QUEUE 0x2000 | 68 | #define IFF_ONE_QUEUE 0x2000 |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_IF_TUNNEL_H_ | 2 | #ifndef _UAPI_IF_TUNNEL_H_ |
| 2 | #define _UAPI_IF_TUNNEL_H_ | 3 | #define _UAPI_IF_TUNNEL_H_ |
| 3 | 4 | ||
| @@ -84,6 +85,7 @@ enum tunnel_encap_types { · 80 unmodified lines | |||
| 84 | TUNNEL_ENCAP_NONE, | 85 | TUNNEL_ENCAP_NONE, |
| 85 | TUNNEL_ENCAP_FOU, | 86 | TUNNEL_ENCAP_FOU, |
| 86 | TUNNEL_ENCAP_GUE, | 87 | TUNNEL_ENCAP_GUE, |
| 88 | TUNNEL_ENCAP_MPLS, | ||
| 87 | }; | 89 | }; |
| 88 | 90 | ||
| 89 | #define TUNNEL_ENCAP_FLAG_CSUM (1<<0) | 91 | #define TUNNEL_ENCAP_FLAG_CSUM (1<<0) |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * VLAN An implementation of 802.1Q VLAN tagging. | 3 | * VLAN An implementation of 802.1Q VLAN tagging. |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Linux X.25 packet to device interface | 3 | * Linux X.25 packet to device interface |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __UAPI_IFE_H | 2 | #ifndef __UAPI_IFE_H |
| 2 | #define __UAPI_IFE_H | 3 | #define __UAPI_IFE_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Linux NET3: Internet Group Management Protocol [IGMP] | 3 | * Linux NET3: Internet Group Management Protocol [IGMP] |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* The industrial I/O - event passing to userspace | 2 | /* The industrial I/O - event passing to userspace |
| 2 | * | 3 | * |
| 3 | * Copyright (c) 2008-2011 Jonathan Cameron | 4 | * Copyright (c) 2008-2011 Jonathan Cameron |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* industrial I/O data types needed both in and out of kernel | 2 | /* industrial I/O data types needed both in and out of kernel |
| 2 | * | 3 | * |
| 3 | * Copyright (c) 2008 Jonathan Cameron | 4 | * Copyright (c) 2008 Jonathan Cameron |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* ila.h - ILA Interface */ | 2 | /* ila.h - ILA Interface */ |
| 2 | 3 | ||
| 3 | #ifndef _UAPI_LINUX_ILA_H | 4 | #ifndef _UAPI_LINUX_ILA_H |
| @@ -16,6 +17,8 @@ enum { · 12 unmodified lines | |||
| 16 | ILA_ATTR_DIR, /* u32 */ | 17 | ILA_ATTR_DIR, /* u32 */ |
| 17 | ILA_ATTR_PAD, | 18 | ILA_ATTR_PAD, |
| 18 | ILA_ATTR_CSUM_MODE, /* u8 */ | 19 | ILA_ATTR_CSUM_MODE, /* u8 */ |
| 20 | ILA_ATTR_IDENT_TYPE, /* u8 */ | ||
| 21 | ILA_ATTR_HOOK_TYPE, /* u8 */ | ||
| 19 | 22 | ||
| 20 | __ILA_ATTR_MAX, | 23 | __ILA_ATTR_MAX, |
| 21 | }; | 24 | }; |
| @@ -40,6 +43,25 @@ enum { · 18 unmodified lines | |||
| 40 | ILA_CSUM_ADJUST_TRANSPORT, | 43 | ILA_CSUM_ADJUST_TRANSPORT, |
| 41 | ILA_CSUM_NEUTRAL_MAP, | 44 | ILA_CSUM_NEUTRAL_MAP, |
| 42 | ILA_CSUM_NO_ACTION, | 45 | ILA_CSUM_NO_ACTION, |
| 46 | ILA_CSUM_NEUTRAL_MAP_AUTO, | ||
| 47 | }; | ||
| 48 | |||
| 49 | enum { | ||
| 50 | ILA_ATYPE_IID = 0, | ||
| 51 | ILA_ATYPE_LUID, | ||
| 52 | ILA_ATYPE_VIRT_V4, | ||
| 53 | ILA_ATYPE_VIRT_UNI_V6, | ||
| 54 | ILA_ATYPE_VIRT_MULTI_V6, | ||
| 55 | ILA_ATYPE_NONLOCAL_ADDR, | ||
| 56 | ILA_ATYPE_RSVD_1, | ||
| 57 | ILA_ATYPE_RSVD_2, | ||
| 58 | |||
| 59 | ILA_ATYPE_USE_FORMAT = 32, /* Get type from type field in identifier */ | ||
| 60 | }; | ||
| 61 | |||
| 62 | enum { | ||
| 63 | ILA_HOOK_ROUTE_OUTPUT, | ||
| 64 | ILA_HOOK_ROUTE_INPUT, | ||
| 43 | }; | 65 | }; |
| 44 | 66 | ||
| 45 | #endif /* _UAPI_LINUX_ILA_H */ | 67 | #endif /* _UAPI_LINUX_ILA_H */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * INET An implementation of the TCP/IP protocol suite for the LINUX | 3 | * INET An implementation of the TCP/IP protocol suite for the LINUX |
| 3 | * operating system. INET is implemented using the BSD Socket | 4 | * operating system. INET is implemented using the BSD Socket |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Types and definitions for AF_INET6 | 3 | * Types and definitions for AF_INET6 |
| 3 | * Linux INET6 implementation | 4 | * Linux INET6 implementation |
| @@ -284,6 +285,7 @@ struct in6_flowlabel_req { · 280 unmodified lines | |||
| 284 | #define IPV6_TRANSPARENT 75 | 285 | #define IPV6_TRANSPARENT 75 |
| 285 | #define IPV6_UNICAST_IF 76 | 286 | #define IPV6_UNICAST_IF 76 |
| 286 | #define IPV6_RECVFRAGSIZE 77 | 287 | #define IPV6_RECVFRAGSIZE 77 |
| 288 | #define IPV6_FREEBIND 78 | ||
| 287 | 289 | ||
| 288 | /* | 290 | /* |
| 289 | * Multicast Routing: | 291 | * Multicast Routing: |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _LINUX_IN_ROUTE_H | 2 | #ifndef _LINUX_IN_ROUTE_H |
| 2 | #define _LINUX_IN_ROUTE_H | 3 | #define _LINUX_IN_ROUTE_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_INET_DIAG_H_ | 2 | #ifndef _UAPI_INET_DIAG_H_ |
| 2 | #define _UAPI_INET_DIAG_H_ | 3 | #define _UAPI_INET_DIAG_H_ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Inode based directory notification for Linux | 3 | * Inode based directory notification for Linux |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Input event codes | 3 | * Input event codes |
| 3 | * | 4 | * |
| @@ -406,6 +407,7 @@ · 402 unmodified lines | |||
| 406 | #define BTN_TOOL_MOUSE 0x146 | 407 | #define BTN_TOOL_MOUSE 0x146 |
| 407 | #define BTN_TOOL_LENS 0x147 | 408 | #define BTN_TOOL_LENS 0x147 |
| 408 | #define BTN_TOOL_QUINTTAP 0x148 /* Five fingers on trackpad */ | 409 | #define BTN_TOOL_QUINTTAP 0x148 /* Five fingers on trackpad */ |
| 410 | #define BTN_STYLUS3 0x149 | ||
| 409 | #define BTN_TOUCH 0x14a | 411 | #define BTN_TOUCH 0x14a |
| 410 | #define BTN_STYLUS 0x14b | 412 | #define BTN_STYLUS 0x14b |
| 411 | #define BTN_STYLUS2 0x14c | 413 | #define BTN_STYLUS2 0x14c |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 1999-2002 Vojtech Pavlik | 3 | * Copyright (c) 1999-2002 Vojtech Pavlik |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _LINUX_IOCTL_H | 2 | #ifndef _LINUX_IOCTL_H |
| 2 | #define _LINUX_IOCTL_H | 3 | #define _LINUX_IOCTL_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * INET An implementation of the TCP/IP protocol suite for the LINUX | 3 | * INET An implementation of the TCP/IP protocol suite for the LINUX |
| 3 | * operating system. INET is implemented using the BSD Socket | 4 | * operating system. INET is implemented using the BSD Socket |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _IP6_TUNNEL_H | 2 | #ifndef _IP6_TUNNEL_H |
| 2 | #define _IP6_TUNNEL_H | 3 | #define _IP6_TUNNEL_H |
| 3 | 4 | ||
| @@ -20,6 +21,8 @@ · 16 unmodified lines | |||
| 20 | #define IP6_TNL_F_RCV_DSCP_COPY 0x10 | 21 | #define IP6_TNL_F_RCV_DSCP_COPY 0x10 |
| 21 | /* copy fwmark from inner packet */ | 22 | /* copy fwmark from inner packet */ |
| 22 | #define IP6_TNL_F_USE_ORIG_FWMARK 0x20 | 23 | #define IP6_TNL_F_USE_ORIG_FWMARK 0x20 |
| 24 | /* allow remote endpoint on the local node */ | ||
| 25 | #define IP6_TNL_F_ALLOW_LOCAL_REMOTE 0x40 | ||
| 23 | 26 | ||
| 24 | struct ip6_tnl_parm { | 27 | struct ip6_tnl_parm { |
| 25 | char name[IFNAMSIZ]; /* name of tunnel device */ | 28 | char name[IFNAMSIZ]; /* name of tunnel device */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * IP Virtual Server | 3 | * IP Virtual Server |
| 3 | * data structure and functionality definitions | 4 | * data structure and functionality definitions |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_IPC_H | 2 | #ifndef _UAPI_LINUX_IPC_H |
| 2 | #define _UAPI_LINUX_IPC_H | 3 | #define _UAPI_LINUX_IPC_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * ipmi.h | 3 | * ipmi.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * ipmi_smi.h | 3 | * ipmi_smi.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _LINUX_IPSEC_H | 2 | #ifndef _LINUX_IPSEC_H |
| 2 | #define _LINUX_IPSEC_H | 3 | #define _LINUX_IPSEC_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_IPV6_H | 2 | #ifndef _UAPI_IPV6_H |
| 2 | #define _UAPI_IPV6_H | 3 | #define _UAPI_IPV6_H |
| 3 | 4 | ||
| @@ -185,6 +186,7 @@ enum { · 181 unmodified lines | |||
| 185 | DEVCONF_ADDR_GEN_MODE, | 186 | DEVCONF_ADDR_GEN_MODE, |
| 186 | DEVCONF_DISABLE_POLICY, | 187 | DEVCONF_DISABLE_POLICY, |
| 187 | DEVCONF_ACCEPT_RA_RT_INFO_MIN_PLEN, | 188 | DEVCONF_ACCEPT_RA_RT_INFO_MIN_PLEN, |
| 189 | DEVCONF_NDISC_TCLASS, | ||
| 188 | DEVCONF_MAX | 190 | DEVCONF_MAX |
| 189 | }; | 191 | }; |
| 190 | 192 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Linux INET6 implementation | 3 | * Linux INET6 implementation |
| 3 | * | 4 | * |
| @@ -28,7 +29,7 @@ · 24 unmodified lines | |||
| 28 | 29 | ||
| 29 | #define RTF_ROUTEINFO 0x00800000 /* route information - RA */ | 30 | #define RTF_ROUTEINFO 0x00800000 /* route information - RA */ |
| 30 | 31 | ||
| 31 | #define RTF_CACHE 0x01000000 /* cache entry */ | 32 | #define RTF_CACHE 0x01000000 /* read-only: can not be set by user */ |
| 32 | #define RTF_FLOW 0x02000000 /* flow significant route */ | 33 | #define RTF_FLOW 0x02000000 /* flow significant route */ |
| 33 | #define RTF_POLICY 0x04000000 /* policy route */ | 34 | #define RTF_POLICY 0x04000000 /* policy route */ |
| 34 | 35 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _IPX_H_ | 2 | #ifndef _IPX_H_ |
| 2 | #define _IPX_H_ | 3 | #define _IPX_H_ |
| 3 | #include <linux/libc-compat.h> /* for compatibility with glibc netipx/ipx.h */ | 4 | #include <linux/libc-compat.h> /* for compatibility with glibc netipx/ipx.h */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /********************************************************************* | 2 | /********************************************************************* |
| 2 | * | 3 | * |
| 3 | * Filename: irda.h | 4 | * Filename: irda.h |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* $Id: isdn.h,v 1.125.2.3 2004/02/10 01:07:14 keil Exp $ | 2 | /* $Id: isdn.h,v 1.125.2.3 2004/02/10 01:07:14 keil Exp $ |
| 2 | * | 3 | * |
| 3 | * Main header for the Linux ISDN subsystem (linklevel). | 4 | * Main header for the Linux ISDN subsystem (linklevel). |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* $Id: capicmd.h,v 1.2.6.2 2001/09/23 22:24:33 kai Exp $ | 2 | /* $Id: capicmd.h,v 1.2.6.2 2001/09/23 22:24:33 kai Exp $ |
| 2 | * | 3 | * |
| 3 | * CAPI 2.0 Interface for Linux | 4 | * CAPI 2.0 Interface for Linux |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* $Id: isdn_divertif.h,v 1.4.6.1 2001/09/23 22:25:05 kai Exp $ | 2 | /* $Id: isdn_divertif.h,v 1.4.6.1 2001/09/23 22:25:05 kai Exp $ |
| 2 | * | 3 | * |
| 3 | * Header for the diversion supplementary interface for i4l. | 4 | * Header for the diversion supplementary interface for i4l. |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */ | ||
| 1 | /* Linux ISDN subsystem, sync PPP, interface to ipppd | 2 | /* Linux ISDN subsystem, sync PPP, interface to ipppd |
| 2 | * | 3 | * |
| 3 | * Copyright 1994-1999 by Fritz Elfert (fritz@isdn4linux.de) | 4 | * Copyright 1994-1999 by Fritz Elfert (fritz@isdn4linux.de) |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */ | ||
| 1 | /* $Id: isdnif.h,v 1.43.2.2 2004/01/12 23:08:35 keil Exp $ | 2 | /* $Id: isdnif.h,v 1.43.2.2 2004/01/12 23:08:35 keil Exp $ |
| 2 | * | 3 | * |
| 3 | * Linux ISDN subsystem | 4 | * Linux ISDN subsystem |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _ISOFS_FS_H | 2 | #ifndef _ISOFS_FS_H |
| 2 | #define _ISOFS_FS_H | 3 | #define _ISOFS_FS_H |
| 3 | 4 | ||
| @@ -12,10 +13,10 @@ · 8 unmodified lines | |||
| 12 | #define ISODCL(from, to) (to - from + 1) | 13 | #define ISODCL(from, to) (to - from + 1) |
| 13 | 14 | ||
| 14 | struct iso_volume_descriptor { | 15 | struct iso_volume_descriptor { |
| 15 | char type[ISODCL(1,1)]; /* 711 */ | 16 | __u8 type[ISODCL(1,1)]; /* 711 */ |
| 16 | char id[ISODCL(2,6)]; | 17 | char id[ISODCL(2,6)]; |
| 17 | char version[ISODCL(7,7)]; | 18 | __u8 version[ISODCL(7,7)]; |
| 18 | char data[ISODCL(8,2048)]; | 19 | __u8 data[ISODCL(8,2048)]; |
| 19 | }; | 20 | }; |
| 20 | 21 | ||
| 21 | /* volume descriptor types */ | 22 | /* volume descriptor types */ |
| @@ -26,24 +27,24 @@ struct iso_volume_descriptor { · 4 unmodified lines | |||
| 26 | #define ISO_STANDARD_ID "CD001" | 27 | #define ISO_STANDARD_ID "CD001" |
| 27 | 28 | ||
| 28 | struct iso_primary_descriptor { | 29 | struct iso_primary_descriptor { |
| 29 | char type [ISODCL ( 1, 1)]; /* 711 */ | 30 | __u8 type [ISODCL ( 1, 1)]; /* 711 */ |
| 30 | char id [ISODCL ( 2, 6)]; | 31 | char id [ISODCL ( 2, 6)]; |
| 31 | char version [ISODCL ( 7, 7)]; /* 711 */ | 32 | __u8 version [ISODCL ( 7, 7)]; /* 711 */ |
| 32 | char unused1 [ISODCL ( 8, 8)]; | 33 | __u8 unused1 [ISODCL ( 8, 8)]; |
| 33 | char system_id [ISODCL ( 9, 40)]; /* achars */ | 34 | char system_id [ISODCL ( 9, 40)]; /* achars */ |
| 34 | char volume_id [ISODCL ( 41, 72)]; /* dchars */ | 35 | char volume_id [ISODCL ( 41, 72)]; /* dchars */ |
| 35 | char unused2 [ISODCL ( 73, 80)]; | 36 | __u8 unused2 [ISODCL ( 73, 80)]; |
| 36 | char volume_space_size [ISODCL ( 81, 88)]; /* 733 */ | 37 | __u8 volume_space_size [ISODCL ( 81, 88)]; /* 733 */ |
| 37 | char unused3 [ISODCL ( 89, 120)]; | 38 | __u8 unused3 [ISODCL ( 89, 120)]; |
| 38 | char volume_set_size [ISODCL (121, 124)]; /* 723 */ | 39 | __u8 volume_set_size [ISODCL (121, 124)]; /* 723 */ |
| 39 | char volume_sequence_number [ISODCL (125, 128)]; /* 723 */ | 40 | __u8 volume_sequence_number [ISODCL (125, 128)]; /* 723 */ |
| 40 | char logical_block_size [ISODCL (129, 132)]; /* 723 */ | 41 | __u8 logical_block_size [ISODCL (129, 132)]; /* 723 */ |
| 41 | char path_table_size [ISODCL (133, 140)]; /* 733 */ | 42 | __u8 path_table_size [ISODCL (133, 140)]; /* 733 */ |
| 42 | char type_l_path_table [ISODCL (141, 144)]; /* 731 */ | 43 | __u8 type_l_path_table [ISODCL (141, 144)]; /* 731 */ |
| 43 | char opt_type_l_path_table [ISODCL (145, 148)]; /* 731 */ | 44 | __u8 opt_type_l_path_table [ISODCL (145, 148)]; /* 731 */ |
| 44 | char type_m_path_table [ISODCL (149, 152)]; /* 732 */ | 45 | __u8 type_m_path_table [ISODCL (149, 152)]; /* 732 */ |
| 45 | char opt_type_m_path_table [ISODCL (153, 156)]; /* 732 */ | 46 | __u8 opt_type_m_path_table [ISODCL (153, 156)]; /* 732 */ |
| 46 | char root_directory_record [ISODCL (157, 190)]; /* 9.1 */ | 47 | __u8 root_directory_record [ISODCL (157, 190)]; /* 9.1 */ |
| 47 | char volume_set_id [ISODCL (191, 318)]; /* dchars */ | 48 | char volume_set_id [ISODCL (191, 318)]; /* dchars */ |
| 48 | char publisher_id [ISODCL (319, 446)]; /* achars */ | 49 | char publisher_id [ISODCL (319, 446)]; /* achars */ |
| 49 | char preparer_id [ISODCL (447, 574)]; /* achars */ | 50 | char preparer_id [ISODCL (447, 574)]; /* achars */ |
| @@ -51,36 +52,36 @@ struct iso_primary_descriptor { · 1 unmodified line | |||
| 51 | char copyright_file_id [ISODCL (703, 739)]; /* 7.5 dchars */ | 52 | char copyright_file_id [ISODCL (703, 739)]; /* 7.5 dchars */ |
| 52 | char abstract_file_id [ISODCL (740, 776)]; /* 7.5 dchars */ | 53 | char abstract_file_id [ISODCL (740, 776)]; /* 7.5 dchars */ |
| 53 | char bibliographic_file_id [ISODCL (777, 813)]; /* 7.5 dchars */ | 54 | char bibliographic_file_id [ISODCL (777, 813)]; /* 7.5 dchars */ |
| 54 | char creation_date [ISODCL (814, 830)]; /* 8.4.26.1 */ | 55 | __u8 creation_date [ISODCL (814, 830)]; /* 8.4.26.1 */ |
| 55 | char modification_date [ISODCL (831, 847)]; /* 8.4.26.1 */ | 56 | __u8 modification_date [ISODCL (831, 847)]; /* 8.4.26.1 */ |
| 56 | char expiration_date [ISODCL (848, 864)]; /* 8.4.26.1 */ | 57 | __u8 expiration_date [ISODCL (848, 864)]; /* 8.4.26.1 */ |
| 57 | char effective_date [ISODCL (865, 881)]; /* 8.4.26.1 */ | 58 | __u8 effective_date [ISODCL (865, 881)]; /* 8.4.26.1 */ |
| 58 | char file_structure_version [ISODCL (882, 882)]; /* 711 */ | 59 | __u8 file_structure_version [ISODCL (882, 882)]; /* 711 */ |
| 59 | char unused4 [ISODCL (883, 883)]; | 60 | __u8 unused4 [ISODCL (883, 883)]; |
| 60 | char application_data [ISODCL (884, 1395)]; | 61 | __u8 application_data [ISODCL (884, 1395)]; |
| 61 | char unused5 [ISODCL (1396, 2048)]; | 62 | __u8 unused5 [ISODCL (1396, 2048)]; |
| 62 | }; | 63 | }; |
| 63 | 64 | ||
| 64 | /* Almost the same as the primary descriptor but two fields are specified */ | 65 | /* Almost the same as the primary descriptor but two fields are specified */ |
| 65 | struct iso_supplementary_descriptor { | 66 | struct iso_supplementary_descriptor { |
| 66 | char type [ISODCL ( 1, 1)]; /* 711 */ | 67 | __u8 type [ISODCL ( 1, 1)]; /* 711 */ |
| 67 | char id [ISODCL ( 2, 6)]; | 68 | char id [ISODCL ( 2, 6)]; |
| 68 | char version [ISODCL ( 7, 7)]; /* 711 */ | 69 | __u8 version [ISODCL ( 7, 7)]; /* 711 */ |
| 69 | char flags [ISODCL ( 8, 8)]; /* 853 */ | 70 | __u8 flags [ISODCL ( 8, 8)]; /* 853 */ |
| 70 | char system_id [ISODCL ( 9, 40)]; /* achars */ | 71 | char system_id [ISODCL ( 9, 40)]; /* achars */ |
| 71 | char volume_id [ISODCL ( 41, 72)]; /* dchars */ | 72 | char volume_id [ISODCL ( 41, 72)]; /* dchars */ |
| 72 | char unused2 [ISODCL ( 73, 80)]; | 73 | __u8 unused2 [ISODCL ( 73, 80)]; |
| 73 | char volume_space_size [ISODCL ( 81, 88)]; /* 733 */ | 74 | __u8 volume_space_size [ISODCL ( 81, 88)]; /* 733 */ |
| 74 | char escape [ISODCL ( 89, 120)]; /* 856 */ | 75 | __u8 escape [ISODCL ( 89, 120)]; /* 856 */ |
| 75 | char volume_set_size [ISODCL (121, 124)]; /* 723 */ | 76 | __u8 volume_set_size [ISODCL (121, 124)]; /* 723 */ |
| 76 | char volume_sequence_number [ISODCL (125, 128)]; /* 723 */ | 77 | __u8 volume_sequence_number [ISODCL (125, 128)]; /* 723 */ |
| 77 | char logical_block_size [ISODCL (129, 132)]; /* 723 */ | 78 | __u8 logical_block_size [ISODCL (129, 132)]; /* 723 */ |
| 78 | char path_table_size [ISODCL (133, 140)]; /* 733 */ | 79 | __u8 path_table_size [ISODCL (133, 140)]; /* 733 */ |
| 79 | char type_l_path_table [ISODCL (141, 144)]; /* 731 */ | 80 | __u8 type_l_path_table [ISODCL (141, 144)]; /* 731 */ |
| 80 | char opt_type_l_path_table [ISODCL (145, 148)]; /* 731 */ | 81 | __u8 opt_type_l_path_table [ISODCL (145, 148)]; /* 731 */ |
| 81 | char type_m_path_table [ISODCL (149, 152)]; /* 732 */ | 82 | __u8 type_m_path_table [ISODCL (149, 152)]; /* 732 */ |
| 82 | char opt_type_m_path_table [ISODCL (153, 156)]; /* 732 */ | 83 | __u8 opt_type_m_path_table [ISODCL (153, 156)]; /* 732 */ |
| 83 | char root_directory_record [ISODCL (157, 190)]; /* 9.1 */ | 84 | __u8 root_directory_record [ISODCL (157, 190)]; /* 9.1 */ |
| 84 | char volume_set_id [ISODCL (191, 318)]; /* dchars */ | 85 | char volume_set_id [ISODCL (191, 318)]; /* dchars */ |
| 85 | char publisher_id [ISODCL (319, 446)]; /* achars */ | 86 | char publisher_id [ISODCL (319, 446)]; /* achars */ |
| 86 | char preparer_id [ISODCL (447, 574)]; /* achars */ | 87 | char preparer_id [ISODCL (447, 574)]; /* achars */ |
| @@ -88,54 +89,54 @@ struct iso_supplementary_descriptor { · 1 unmodified line | |||
| 88 | char copyright_file_id [ISODCL (703, 739)]; /* 7.5 dchars */ | 89 | char copyright_file_id [ISODCL (703, 739)]; /* 7.5 dchars */ |
| 89 | char abstract_file_id [ISODCL (740, 776)]; /* 7.5 dchars */ | 90 | char abstract_file_id [ISODCL (740, 776)]; /* 7.5 dchars */ |
| 90 | char bibliographic_file_id [ISODCL (777, 813)]; /* 7.5 dchars */ | 91 | char bibliographic_file_id [ISODCL (777, 813)]; /* 7.5 dchars */ |
| 91 | char creation_date [ISODCL (814, 830)]; /* 8.4.26.1 */ | 92 | __u8 creation_date [ISODCL (814, 830)]; /* 8.4.26.1 */ |
| 92 | char modification_date [ISODCL (831, 847)]; /* 8.4.26.1 */ | 93 | __u8 modification_date [ISODCL (831, 847)]; /* 8.4.26.1 */ |
| 93 | char expiration_date [ISODCL (848, 864)]; /* 8.4.26.1 */ | 94 | __u8 expiration_date [ISODCL (848, 864)]; /* 8.4.26.1 */ |
| 94 | char effective_date [ISODCL (865, 881)]; /* 8.4.26.1 */ | 95 | __u8 effective_date [ISODCL (865, 881)]; /* 8.4.26.1 */ |
| 95 | char file_structure_version [ISODCL (882, 882)]; /* 711 */ | 96 | __u8 file_structure_version [ISODCL (882, 882)]; /* 711 */ |
| 96 | char unused4 [ISODCL (883, 883)]; | 97 | __u8 unused4 [ISODCL (883, 883)]; |
| 97 | char application_data [ISODCL (884, 1395)]; | 98 | __u8 application_data [ISODCL (884, 1395)]; |
| 98 | char unused5 [ISODCL (1396, 2048)]; | 99 | __u8 unused5 [ISODCL (1396, 2048)]; |
| 99 | }; | 100 | }; |
| 100 | 101 | ||
| 101 | 102 | ||
| 102 | #define HS_STANDARD_ID "CDROM" | 103 | #define HS_STANDARD_ID "CDROM" |
| 103 | 104 | ||
| 104 | struct hs_volume_descriptor { | 105 | struct hs_volume_descriptor { |
| 105 | char foo [ISODCL ( 1, 8)]; /* 733 */ | 106 | __u8 foo [ISODCL ( 1, 8)]; /* 733 */ |
| 106 | char type [ISODCL ( 9, 9)]; /* 711 */ | 107 | __u8 type [ISODCL ( 9, 9)]; /* 711 */ |
| 107 | char id [ISODCL ( 10, 14)]; | 108 | char id [ISODCL ( 10, 14)]; |
| 108 | char version [ISODCL ( 15, 15)]; /* 711 */ | 109 | __u8 version [ISODCL ( 15, 15)]; /* 711 */ |
| 109 | char data[ISODCL(16,2048)]; | 110 | __u8 data[ISODCL(16,2048)]; |
| 110 | }; | 111 | }; |
| 111 | 112 | ||
| 112 | 113 | ||
| 113 | struct hs_primary_descriptor { | 114 | struct hs_primary_descriptor { |
| 114 | char foo [ISODCL ( 1, 8)]; /* 733 */ | 115 | __u8 foo [ISODCL ( 1, 8)]; /* 733 */ |
| 115 | char type [ISODCL ( 9, 9)]; /* 711 */ | 116 | __u8 type [ISODCL ( 9, 9)]; /* 711 */ |
| 116 | char id [ISODCL ( 10, 14)]; | 117 | __u8 id [ISODCL ( 10, 14)]; |
| 117 | char version [ISODCL ( 15, 15)]; /* 711 */ | 118 | __u8 version [ISODCL ( 15, 15)]; /* 711 */ |
| 118 | char unused1 [ISODCL ( 16, 16)]; /* 711 */ | 119 | __u8 unused1 [ISODCL ( 16, 16)]; /* 711 */ |
| 119 | char system_id [ISODCL ( 17, 48)]; /* achars */ | 120 | char system_id [ISODCL ( 17, 48)]; /* achars */ |
| 120 | char volume_id [ISODCL ( 49, 80)]; /* dchars */ | 121 | char volume_id [ISODCL ( 49, 80)]; /* dchars */ |
| 121 | char unused2 [ISODCL ( 81, 88)]; /* 733 */ | 122 | __u8 unused2 [ISODCL ( 81, 88)]; /* 733 */ |
| 122 | char volume_space_size [ISODCL ( 89, 96)]; /* 733 */ | 123 | __u8 volume_space_size [ISODCL ( 89, 96)]; /* 733 */ |
| 123 | char unused3 [ISODCL ( 97, 128)]; /* 733 */ | 124 | __u8 unused3 [ISODCL ( 97, 128)]; /* 733 */ |
| 124 | char volume_set_size [ISODCL (129, 132)]; /* 723 */ | 125 | __u8 volume_set_size [ISODCL (129, 132)]; /* 723 */ |
| 125 | char volume_sequence_number [ISODCL (133, 136)]; /* 723 */ | 126 | __u8 volume_sequence_number [ISODCL (133, 136)]; /* 723 */ |
| 126 | char logical_block_size [ISODCL (137, 140)]; /* 723 */ | 127 | __u8 logical_block_size [ISODCL (137, 140)]; /* 723 */ |
| 127 | char path_table_size [ISODCL (141, 148)]; /* 733 */ | 128 | __u8 path_table_size [ISODCL (141, 148)]; /* 733 */ |
| 128 | char type_l_path_table [ISODCL (149, 152)]; /* 731 */ | 129 | __u8 type_l_path_table [ISODCL (149, 152)]; /* 731 */ |
| 129 | char unused4 [ISODCL (153, 180)]; /* 733 */ | 130 | __u8 unused4 [ISODCL (153, 180)]; /* 733 */ |
| 130 | char root_directory_record [ISODCL (181, 214)]; /* 9.1 */ | 131 | __u8 root_directory_record [ISODCL (181, 214)]; /* 9.1 */ |
| 131 | }; | 132 | }; |
| 132 | 133 | ||
| 133 | /* We use this to help us look up the parent inode numbers. */ | 134 | /* We use this to help us look up the parent inode numbers. */ |
| 134 | 135 | ||
| 135 | struct iso_path_table{ | 136 | struct iso_path_table{ |
| 136 | unsigned char name_len[2]; /* 721 */ | 137 | __u8 name_len[2]; /* 721 */ |
| 137 | char extent[4]; /* 731 */ | 138 | __u8 extent[4]; /* 731 */ |
| 138 | char parent[2]; /* 721 */ | 139 | __u8 parent[2]; /* 721 */ |
| 139 | char name[0]; | 140 | char name[0]; |
| 140 | } __attribute__((packed)); | 141 | } __attribute__((packed)); |
| 141 | 142 | ||
| @@ -143,16 +144,16 @@ struct iso_path_table{ · 1 unmodified line | |||
| 143 | there is an extra reserved byte after the flags */ | 144 | there is an extra reserved byte after the flags */ |
| 144 | 145 | ||
| 145 | struct iso_directory_record { | 146 | struct iso_directory_record { |
| 146 | char length [ISODCL (1, 1)]; /* 711 */ | 147 | __u8 length [ISODCL (1, 1)]; /* 711 */ |
| 147 | char ext_attr_length [ISODCL (2, 2)]; /* 711 */ | 148 | __u8 ext_attr_length [ISODCL (2, 2)]; /* 711 */ |
| 148 | char extent [ISODCL (3, 10)]; /* 733 */ | 149 | __u8 extent [ISODCL (3, 10)]; /* 733 */ |
| 149 | char size [ISODCL (11, 18)]; /* 733 */ | 150 | __u8 size [ISODCL (11, 18)]; /* 733 */ |
| 150 | char date [ISODCL (19, 25)]; /* 7 by 711 */ | 151 | __u8 date [ISODCL (19, 25)]; /* 7 by 711 */ |
| 151 | char flags [ISODCL (26, 26)]; | 152 | __u8 flags [ISODCL (26, 26)]; |
| 152 | char file_unit_size [ISODCL (27, 27)]; /* 711 */ | 153 | __u8 file_unit_size [ISODCL (27, 27)]; /* 711 */ |
| 153 | char interleave [ISODCL (28, 28)]; /* 711 */ | 154 | __u8 interleave [ISODCL (28, 28)]; /* 711 */ |
| 154 | char volume_sequence_number [ISODCL (29, 32)]; /* 723 */ | 155 | __u8 volume_sequence_number [ISODCL (29, 32)]; /* 723 */ |
| 155 | unsigned char name_len [ISODCL (33, 33)]; /* 711 */ | 156 | __u8 name_len [ISODCL (33, 33)]; /* 711 */ |
| 156 | char name [0]; | 157 | char name [0]; |
| 157 | } __attribute__((packed)); | 158 | } __attribute__((packed)); |
| 158 | 159 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | Public ivtv API header | 3 | Public ivtv API header |
| 3 | Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com> | 4 | Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com> |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | On Screen Display cx23415 Framebuffer driver | 3 | On Screen Display cx23415 Framebuffer driver |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_IXJUSER_H | 2 | #ifndef __LINUX_IXJUSER_H |
| 2 | #define __LINUX_IXJUSER_H | 3 | #define __LINUX_IXJUSER_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 1996-2000 Vojtech Pavlik | 3 | * Copyright (C) 1996-2000 Vojtech Pavlik |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Kernel Connection Multiplexor | 3 | * Kernel Connection Multiplexor |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_KCMP_H | 2 | #ifndef _UAPI_LINUX_KCMP_H |
| 2 | #define _UAPI_LINUX_KCMP_H | 3 | #define _UAPI_LINUX_KCMP_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _LINUX_KCOV_IOCTLS_H | 2 | #ifndef _LINUX_KCOV_IOCTLS_H |
| 2 | #define _LINUX_KCOV_IOCTLS_H | 3 | #define _LINUX_KCOV_IOCTLS_H |
| 3 | 4 | ||
| @@ -7,4 +8,28 @@ · 3 unmodified lines | |||
| 7 | #define KCOV_ENABLE _IO('c', 100) | 8 | #define KCOV_ENABLE _IO('c', 100) |
| 8 | #define KCOV_DISABLE _IO('c', 101) | 9 | #define KCOV_DISABLE _IO('c', 101) |
| 9 | 10 | ||
| 11 | enum { | ||
| 12 | /* | ||
| 13 | * Tracing coverage collection mode. | ||
| 14 | * Covered PCs are collected in a per-task buffer. | ||
| 15 | * In new KCOV version the mode is chosen by calling | ||
| 16 | * ioctl(fd, KCOV_ENABLE, mode). In older versions the mode argument | ||
| 17 | * was supposed to be 0 in such a call. So, for reasons of backward | ||
| 18 | * compatibility, we have chosen the value KCOV_TRACE_PC to be 0. | ||
| 19 | */ | ||
| 20 | KCOV_TRACE_PC = 0, | ||
| 21 | /* Collecting comparison operands mode. */ | ||
| 22 | KCOV_TRACE_CMP = 1, | ||
| 23 | }; | ||
| 24 | |||
| 25 | /* | ||
| 26 | * The format for the types of collected comparisons. | ||
| 27 | * | ||
| 28 | * Bit 0 shows whether one of the arguments is a compile-time constant. | ||
| 29 | * Bits 1 & 2 contain log2 of the argument size, up to 8 bytes. | ||
| 30 | */ | ||
| 31 | #define KCOV_CMP_CONST (1 << 0) | ||
| 32 | #define KCOV_CMP_SIZE(n) ((n) << 1) | ||
| 33 | #define KCOV_CMP_MASK KCOV_CMP_SIZE(3) | ||
| 34 | |||
| 10 | #endif /* _LINUX_KCOV_IOCTLS_H */ | 35 | #endif /* _LINUX_KCOV_IOCTLS_H */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_KD_H | 2 | #ifndef _UAPI_LINUX_KD_H |
| 2 | #define _UAPI_LINUX_KD_H | 3 | #define _UAPI_LINUX_KD_H |
| 3 | #include <linux/types.h> | 4 | #include <linux/types.h> |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_KDEV_T_H | 2 | #ifndef _UAPI_LINUX_KDEV_T_H |
| 2 | #define _UAPI_LINUX_KDEV_T_H | 3 | #define _UAPI_LINUX_KDEV_T_H |
| 3 | #ifndef __KERNEL__ | 4 | #ifndef __KERNEL__ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPILINUX_KERNEL_PAGE_FLAGS_H | 2 | #ifndef _UAPILINUX_KERNEL_PAGE_FLAGS_H |
| 2 | #define _UAPILINUX_KERNEL_PAGE_FLAGS_H | 3 | #define _UAPILINUX_KERNEL_PAGE_FLAGS_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_KERNEL_H | 2 | #ifndef _UAPI_LINUX_KERNEL_H |
| 2 | #define _UAPI_LINUX_KERNEL_H | 3 | #define _UAPI_LINUX_KERNEL_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * $Id: kernelcapi.h,v 1.8.6.2 2001/02/07 11:31:31 kai Exp $ | 3 | * $Id: kernelcapi.h,v 1.8.6.2 2001/02/07 11:31:31 kai Exp $ |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPILINUX_KEXEC_H | 2 | #ifndef _UAPILINUX_KEXEC_H |
| 2 | #define _UAPILINUX_KEXEC_H | 3 | #define _UAPILINUX_KEXEC_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI__LINUX_KEYBOARD_H | 2 | #ifndef _UAPI__LINUX_KEYBOARD_H |
| 2 | #define _UAPI__LINUX_KEYBOARD_H | 3 | #define _UAPI__LINUX_KEYBOARD_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* keyctl.h: keyctl command IDs | 2 | /* keyctl.h: keyctl command IDs |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2004, 2008 Red Hat, Inc. All Rights Reserved. | 4 | * Copyright (C) 2004, 2008 Red Hat, Inc. All Rights Reserved. |
| @@ -233,29 +233,29 @@ struct kfd_ioctl_wait_events_args { · 232 unmodified lines | |||
| 233 | }; | 233 | }; |
| 234 | 234 | ||
| 235 | struct kfd_ioctl_set_scratch_backing_va_args { | 235 | struct kfd_ioctl_set_scratch_backing_va_args { |
| 236 | uint64_t va_addr; /* to KFD */ | 236 | __u64 va_addr; /* to KFD */ |
| 237 | uint32_t gpu_id; /* to KFD */ | 237 | __u32 gpu_id; /* to KFD */ |
| 238 | uint32_t pad; | 238 | __u32 pad; |
| 239 | }; | 239 | }; |
| 240 | 240 | ||
| 241 | struct kfd_ioctl_get_tile_config_args { | 241 | struct kfd_ioctl_get_tile_config_args { |
| 242 | /* to KFD: pointer to tile array */ | 242 | /* to KFD: pointer to tile array */ |
| 243 | uint64_t tile_config_ptr; | 243 | __u64 tile_config_ptr; |
| 244 | /* to KFD: pointer to macro tile array */ | 244 | /* to KFD: pointer to macro tile array */ |
| 245 | uint64_t macro_tile_config_ptr; | 245 | __u64 macro_tile_config_ptr; |
| 246 | /* to KFD: array size allocated by user mode | 246 | /* to KFD: array size allocated by user mode |
| 247 | * from KFD: array size filled by kernel | 247 | * from KFD: array size filled by kernel |
| 248 | */ | 248 | */ |
| 249 | uint32_t num_tile_configs; | 249 | __u32 num_tile_configs; |
| 250 | /* to KFD: array size allocated by user mode | 250 | /* to KFD: array size allocated by user mode |
| 251 | * from KFD: array size filled by kernel | 251 | * from KFD: array size filled by kernel |
| 252 | */ | 252 | */ |
| 253 | uint32_t num_macro_tile_configs; | 253 | __u32 num_macro_tile_configs; |
| 254 | 254 | ||
| 255 | uint32_t gpu_id; /* to KFD */ | 255 | __u32 gpu_id; /* to KFD */ |
| 256 | uint32_t gb_addr_config; /* from KFD */ | 256 | __u32 gb_addr_config; /* from KFD */ |
| 257 | uint32_t num_banks; /* from KFD */ | 257 | __u32 num_banks; /* from KFD */ |
| 258 | uint32_t num_ranks; /* from KFD */ | 258 | __u32 num_ranks; /* from KFD */ |
| 259 | /* struct size can be extended later if needed | 259 | /* struct size can be extended later if needed |
| 260 | * without breaking ABI compatibility | 260 | * without breaking ABI compatibility |
| 261 | */ | 261 | */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_KVM_H | 2 | #ifndef __LINUX_KVM_H |
| 2 | #define __LINUX_KVM_H | 3 | #define __LINUX_KVM_H |
| 3 | 4 | ||
| @@ -930,6 +931,7 @@ struct kvm_ppc_resize_hpt { · 926 unmodified lines | |||
| 930 | #define KVM_CAP_PPC_SMT_POSSIBLE 147 | 931 | #define KVM_CAP_PPC_SMT_POSSIBLE 147 |
| 931 | #define KVM_CAP_HYPERV_SYNIC2 148 | 932 | #define KVM_CAP_HYPERV_SYNIC2 148 |
| 932 | #define KVM_CAP_HYPERV_VP_INDEX 149 | 933 | #define KVM_CAP_HYPERV_VP_INDEX 149 |
| 934 | #define KVM_CAP_S390_AIS_MIGRATION 150 | ||
| 933 | 935 | ||
| 934 | #ifdef KVM_CAP_IRQ_ROUTING | 936 | #ifdef KVM_CAP_IRQ_ROUTING |
| 935 | 937 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI__LINUX_KVM_PARA_H | 2 | #ifndef _UAPI__LINUX_KVM_PARA_H |
| 2 | #define _UAPI__LINUX_KVM_PARA_H | 3 | #define _UAPI__LINUX_KVM_PARA_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * L2TP-over-IP socket for L2TPv3. | 3 | * L2TP-over-IP socket for L2TPv3. |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Compatibility interface for userspace libc header coordination: | 3 | * Compatibility interface for userspace libc header coordination: |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2015 CNEX Labs. All rights reserved. | 3 | * Copyright (C) 2015 CNEX Labs. All rights reserved. |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _LINUX_LIMITS_H | 2 | #ifndef _LINUX_LIMITS_H |
| 2 | #define _LINUX_LIMITS_H | 3 | #define _LINUX_LIMITS_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * lirc.h - linux infrared remote control header file | 3 | * lirc.h - linux infrared remote control header file |
| 3 | * last modified 2010/07/13 by Jarod Wilson | 4 | * last modified 2010/07/13 by Jarod Wilson |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * IEEE 802.2 User Interface SAPs for Linux, data structures and indicators. | 3 | * IEEE 802.2 User Interface SAPs for Linux, data structures and indicators. |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * include/linux/loop.h | 3 | * include/linux/loop.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * usr/include/linux/lp.h c.1991-1992 James Wiegand | 3 | * usr/include/linux/lp.h c.1991-1992 James Wiegand |
| 3 | * many modifications copyright (C) 1992 Michael K. Johnson | 4 | * many modifications copyright (C) 1992 Michael K. Johnson |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LWTUNNEL_H_ | 2 | #ifndef _UAPI_LWTUNNEL_H_ |
| 2 | #define _UAPI_LWTUNNEL_H_ | 3 | #define _UAPI_LWTUNNEL_H_ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_MAGIC_H__ | 2 | #ifndef __LINUX_MAGIC_H__ |
| 2 | #define __LINUX_MAGIC_H__ | 3 | #define __LINUX_MAGIC_H__ |
| 3 | 4 | ||
| @@ -46,6 +47,7 @@ · 42 unmodified lines | |||
| 46 | #define OPENPROM_SUPER_MAGIC 0x9fa1 | 47 | #define OPENPROM_SUPER_MAGIC 0x9fa1 |
| 47 | #define QNX4_SUPER_MAGIC 0x002f /* qnx4 fs detection */ | 48 | #define QNX4_SUPER_MAGIC 0x002f /* qnx4 fs detection */ |
| 48 | #define QNX6_SUPER_MAGIC 0x68191122 /* qnx6 fs detection */ | 49 | #define QNX6_SUPER_MAGIC 0x68191122 /* qnx6 fs detection */ |
| 50 | #define AFS_FS_MAGIC 0x6B414653 | ||
| 49 | 51 | ||
| 50 | #define REISERFS_SUPER_MAGIC 0x52654973 /* used by gcc */ | 52 | #define REISERFS_SUPER_MAGIC 0x52654973 /* used by gcc */ |
| 51 | /* used by file system utilities that | 53 | /* used by file system utilities that |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _LINUX_MAJOR_H | 2 | #ifndef _LINUX_MAJOR_H |
| 2 | #define _LINUX_MAJOR_H | 3 | #define _LINUX_MAJOR_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2005 Henk Vergonet <Henk.Vergonet@gmail.com> | 3 | * Copyright (c) 2005 Henk Vergonet <Henk.Vergonet@gmail.com> |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_MATROXFB_H__ | 2 | #ifndef __LINUX_MATROXFB_H__ |
| 2 | #define __LINUX_MATROXFB_H__ | 3 | #define __LINUX_MATROXFB_H__ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * max2175.h | 3 | * max2175.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * linux/mdio.h: definitions for MDIO (clause 45) transceivers | 3 | * linux/mdio.h: definitions for MDIO (clause 45) transceivers |
| 3 | * Copyright 2006-2009 Solarflare Communications Inc. | 4 | * Copyright 2006-2009 Solarflare Communications Inc. |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Media Bus API header | 3 | * Media Bus API header |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Multimedia device API | 3 | * Multimedia device API |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */ | ||
| 1 | /****************************************************************************** | 2 | /****************************************************************************** |
| 2 | * Intel Management Engine Interface (Intel MEI) Linux driver | 3 | * Intel Management Engine Interface (Intel MEI) Linux driver |
| 3 | * Intel MEI Interface Header | 4 | * Intel MEI Interface Header |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_MEMFD_H | 2 | #ifndef _UAPI_LINUX_MEMFD_H |
| 2 | #define _UAPI_LINUX_MEMFD_H | 3 | #define _UAPI_LINUX_MEMFD_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * NUMA memory policies for Linux. | 3 | * NUMA memory policies for Linux. |
| 3 | * Copyright 2003,2004 Andi Kleen SuSE Labs | 4 | * Copyright 2003,2004 Andi Kleen SuSE Labs |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Motion Eye video4linux driver for Sony Vaio PictureBook | 3 | * Motion Eye video4linux driver for Sony Vaio PictureBook |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Intel MIC Platform Software Stack (MPSS) | 3 | * Intel MIC Platform Software Stack (MPSS) |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Intel MIC Platform Software Stack (MPSS) | 3 | * Intel MIC Platform Software Stack (MPSS) |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * linux/mii.h: definitions for MII-compatible transceivers | 3 | * linux/mii.h: definitions for MII-compatible transceivers |
| 3 | * Originally drivers/net/sunhme.h. | 4 | * Originally drivers/net/sunhme.h. |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _LINUX_MINIX_FS_H | 2 | #ifndef _LINUX_MINIX_FS_H |
| 2 | #define _LINUX_MINIX_FS_H | 3 | #define _LINUX_MINIX_FS_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_MMAN_H | 2 | #ifndef _UAPI_LINUX_MMAN_H |
| 2 | #define _UAPI_LINUX_MMAN_H | 3 | #define _UAPI_LINUX_MMAN_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef LINUX_MMC_IOCTL_H | 2 | #ifndef LINUX_MMC_IOCTL_H |
| 2 | #define LINUX_MMC_IOCTL_H | 3 | #define LINUX_MMC_IOCTL_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Intel Multimedia Timer device interface | 3 | * Intel Multimedia Timer device interface |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_MODULE_H | 2 | #ifndef _UAPI_LINUX_MODULE_H |
| 2 | #define _UAPI_LINUX_MODULE_H | 3 | #define _UAPI_LINUX_MODULE_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_MPLS_H | 2 | #ifndef _UAPI_MPLS_H |
| 2 | #define _UAPI_MPLS_H | 3 | #define _UAPI_MPLS_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * mpls tunnel api | 3 | * mpls tunnel api |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */ | ||
| 1 | /* Copyright (C) 2003 Krzysztof Benedyczak & Michal Wronski | 2 | /* Copyright (C) 2003 Krzysztof Benedyczak & Michal Wronski |
| 2 | 3 | ||
| 3 | This program is free software; you can redistribute it and/or | 4 | This program is free software; you can redistribute it and/or |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI__LINUX_MROUTE_H | 2 | #ifndef _UAPI__LINUX_MROUTE_H |
| 2 | #define _UAPI__LINUX_MROUTE_H | 3 | #define _UAPI__LINUX_MROUTE_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI__LINUX_MROUTE6_H | 2 | #ifndef _UAPI__LINUX_MROUTE6_H |
| 2 | #define _UAPI__LINUX_MROUTE6_H | 3 | #define _UAPI__LINUX_MROUTE6_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_MSDOS_FS_H | 2 | #ifndef _UAPI_LINUX_MSDOS_FS_H |
| 2 | #define _UAPI_LINUX_MSDOS_FS_H | 3 | #define _UAPI_LINUX_MSDOS_FS_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_MSG_H | 2 | #ifndef _UAPI_LINUX_MSG_H |
| 2 | #define _UAPI_LINUX_MSG_H | 3 | #define _UAPI_LINUX_MSG_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * linux/mtio.h header file for Linux. Written by H. Bergman | 3 | * linux/mtio.h header file for Linux. Written by H. Bergman |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */ | ||
| 1 | /* r3964 linediscipline for linux | 2 | /* r3964 linediscipline for linux |
| 2 | * | 3 | * |
| 3 | * ----------------------------------------------------------- | 4 | * ----------------------------------------------------------- |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2017 Facebook. All rights reserved. | 3 | * Copyright (C) 2017 Facebook. All rights reserved. |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * 1999 Copyright (C) Pavel Machek, pavel@ucw.cz. This code is GPL. | 3 | * 1999 Copyright (C) Pavel Machek, pavel@ucw.cz. This code is GPL. |
| 3 | * 1999/11/04 Copyright (C) 1999 VMware, Inc. (Regis "HPReg" Duchesne) | 4 | * 1999/11/04 Copyright (C) 1999 VMware, Inc. (Regis "HPReg" Duchesne) |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * ncp.h | 3 | * ncp.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * ncp_fs.h | 3 | * ncp_fs.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * ncp_mount.h | 3 | * ncp_mount.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _NCP_NO | 2 | #ifndef _NCP_NO |
| 2 | #define _NCP_NO | 3 | #define _NCP_NO |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_NEIGHBOUR_H | 2 | #ifndef __LINUX_NEIGHBOUR_H |
| 2 | #define __LINUX_NEIGHBOUR_H | 3 | #define __LINUX_NEIGHBOUR_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * NET An implementation of the SOCKET network access protocol. | 3 | * NET An implementation of the SOCKET network access protocol. |
| 3 | * This is the master header file for the Linux NET layer, | 4 | * This is the master header file for the Linux NET layer, |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __NET_DROPMON_H | 2 | #ifndef __NET_DROPMON_H |
| 2 | #define __NET_DROPMON_H | 3 | #define __NET_DROPMON_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* Copyright (c) 2015 6WIND S.A. | 2 | /* Copyright (c) 2015 6WIND S.A. |
| 2 | * Author: Nicolas Dichtel <nicolas.dichtel@6wind.com> | 3 | * Author: Nicolas Dichtel <nicolas.dichtel@6wind.com> |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Userspace API for hardware time stamping of network packets | 3 | * Userspace API for hardware time stamping of network packets |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_NETCONF_H_ | 2 | #ifndef _UAPI_LINUX_NETCONF_H_ |
| 2 | #define _UAPI_LINUX_NETCONF_H_ | 3 | #define _UAPI_LINUX_NETCONF_H_ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * INET An implementation of the TCP/IP protocol suite for the LINUX | 3 | * INET An implementation of the TCP/IP protocol suite for the LINUX |
| 3 | * operating system. INET is implemented using the BSD Socket | 4 | * operating system. INET is implemented using the BSD Socket |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI__LINUX_NETFILTER_H | 2 | #ifndef _UAPI__LINUX_NETFILTER_H |
| 2 | #define _UAPI__LINUX_NETFILTER_H | 3 | #define _UAPI__LINUX_NETFILTER_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* Copyright (C) 2000-2002 Joakim Axelsson <gozem@linux.nu> | 2 | /* Copyright (C) 2000-2002 Joakim Axelsson <gozem@linux.nu> |
| 2 | * Patrick Schaaf <bof@bof.de> | 3 | * Patrick Schaaf <bof@bof.de> |
| 3 | * Martin Josefsson <gandalf@wlug.westbo.se> | 4 | * Martin Josefsson <gandalf@wlug.westbo.se> |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI__IP_SET_BITMAP_H | 2 | #ifndef _UAPI__IP_SET_BITMAP_H |
| 2 | #define _UAPI__IP_SET_BITMAP_H | 3 | #define _UAPI__IP_SET_BITMAP_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI__IP_SET_HASH_H | 2 | #ifndef _UAPI__IP_SET_HASH_H |
| 2 | #define _UAPI__IP_SET_HASH_H | 3 | #define _UAPI__IP_SET_HASH_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI__IP_SET_LIST_H | 2 | #ifndef _UAPI__IP_SET_LIST_H |
| 2 | #define _UAPI__IP_SET_LIST_H | 3 | #define _UAPI__IP_SET_LIST_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_NF_CONNTRACK_COMMON_H | 2 | #ifndef _UAPI_NF_CONNTRACK_COMMON_H |
| 2 | #define _UAPI_NF_CONNTRACK_COMMON_H | 3 | #define _UAPI_NF_CONNTRACK_COMMON_H |
| 3 | /* Connection state tracking for netfilter. This is separated from, | 4 | /* Connection state tracking for netfilter. This is separated from, |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_NF_CONNTRACK_FTP_H | 2 | #ifndef _UAPI_NF_CONNTRACK_FTP_H |
| 2 | #define _UAPI_NF_CONNTRACK_FTP_H | 3 | #define _UAPI_NF_CONNTRACK_FTP_H |
| 3 | /* FTP tracking. */ | 4 | /* FTP tracking. */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_NF_CONNTRACK_SCTP_H | 2 | #ifndef _UAPI_NF_CONNTRACK_SCTP_H |
| 2 | #define _UAPI_NF_CONNTRACK_SCTP_H | 3 | #define _UAPI_NF_CONNTRACK_SCTP_H |
| 3 | /* SCTP tracking. */ | 4 | /* SCTP tracking. */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_NF_CONNTRACK_TCP_H | 2 | #ifndef _UAPI_NF_CONNTRACK_TCP_H |
| 2 | #define _UAPI_NF_CONNTRACK_TCP_H | 3 | #define _UAPI_NF_CONNTRACK_TCP_H |
| 3 | /* TCP tracking. */ | 4 | /* TCP tracking. */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _NF_CONNTRACK_TUPLE_COMMON_H | 2 | #ifndef _NF_CONNTRACK_TUPLE_COMMON_H |
| 2 | #define _NF_CONNTRACK_TUPLE_COMMON_H | 3 | #define _NF_CONNTRACK_TUPLE_COMMON_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _NETFILTER_NF_LOG_H | 2 | #ifndef _NETFILTER_NF_LOG_H |
| 2 | #define _NETFILTER_NF_LOG_H | 3 | #define _NETFILTER_NF_LOG_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _NETFILTER_NF_NAT_H | 2 | #ifndef _NETFILTER_NF_NAT_H |
| 2 | #define _NETFILTER_NF_NAT_H | 3 | #define _NETFILTER_NF_NAT_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _LINUX_NF_TABLES_H | 2 | #ifndef _LINUX_NF_TABLES_H |
| 2 | #define _LINUX_NF_TABLES_H | 3 | #define _LINUX_NF_TABLES_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _NFT_COMPAT_NFNETLINK_H_ | 2 | #ifndef _NFT_COMPAT_NFNETLINK_H_ |
| 2 | #define _NFT_COMPAT_NFNETLINK_H_ | 3 | #define _NFT_COMPAT_NFNETLINK_H_ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_NFNETLINK_H | 2 | #ifndef _UAPI_NFNETLINK_H |
| 2 | #define _UAPI_NFNETLINK_H | 3 | #define _UAPI_NFNETLINK_H |
| 3 | #include <linux/types.h> | 4 | #include <linux/types.h> |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_NFNL_ACCT_H_ | 2 | #ifndef _UAPI_NFNL_ACCT_H_ |
| 2 | #define _UAPI_NFNL_ACCT_H_ | 3 | #define _UAPI_NFNL_ACCT_H_ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _NFNETLINK_COMPAT_H | 2 | #ifndef _NFNETLINK_COMPAT_H |
| 2 | #define _NFNETLINK_COMPAT_H | 3 | #define _NFNETLINK_COMPAT_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _IPCONNTRACK_NETLINK_H | 2 | #ifndef _IPCONNTRACK_NETLINK_H |
| 2 | #define _IPCONNTRACK_NETLINK_H | 3 | #define _IPCONNTRACK_NETLINK_H |
| 3 | #include <linux/netfilter/nfnetlink.h> | 4 | #include <linux/netfilter/nfnetlink.h> |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _NFNL_CTHELPER_H_ | 2 | #ifndef _NFNL_CTHELPER_H_ |
| 2 | #define _NFNL_CTHELPER_H_ | 3 | #define _NFNL_CTHELPER_H_ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _CTTIMEOUT_NETLINK_H | 2 | #ifndef _CTTIMEOUT_NETLINK_H |
| 2 | #define _CTTIMEOUT_NETLINK_H | 3 | #define _CTTIMEOUT_NETLINK_H |
| 3 | #include <linux/netfilter/nfnetlink.h> | 4 | #include <linux/netfilter/nfnetlink.h> |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _NFNETLINK_LOG_H | 2 | #ifndef _NFNETLINK_LOG_H |
| 2 | #define _NFNETLINK_LOG_H | 3 | #define _NFNETLINK_LOG_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _NFNETLINK_QUEUE_H | 2 | #ifndef _NFNETLINK_QUEUE_H |
| 2 | #define _NFNETLINK_QUEUE_H | 3 | #define _NFNETLINK_QUEUE_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_X_TABLES_H | 2 | #ifndef _UAPI_X_TABLES_H |
| 2 | #define _UAPI_X_TABLES_H | 3 | #define _UAPI_X_TABLES_H |
| 3 | #include <linux/kernel.h> | 4 | #include <linux/kernel.h> |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Header file for iptables xt_AUDIT target | 3 | * Header file for iptables xt_AUDIT target |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* Header file for iptables ipt_CHECKSUM target | 2 | /* Header file for iptables ipt_CHECKSUM target |
| 2 | * | 3 | * |
| 3 | * (C) 2002 by Harald Welte <laforge@gnumonks.org> | 4 | * (C) 2002 by Harald Welte <laforge@gnumonks.org> |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_CLASSIFY_H | 2 | #ifndef _XT_CLASSIFY_H |
| 2 | #define _XT_CLASSIFY_H | 3 | #define _XT_CLASSIFY_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_CONNMARK_H_target | 2 | #ifndef _XT_CONNMARK_H_target |
| 2 | #define _XT_CONNMARK_H_target | 3 | #define _XT_CONNMARK_H_target |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_CONNSECMARK_H_target | 2 | #ifndef _XT_CONNSECMARK_H_target |
| 2 | #define _XT_CONNSECMARK_H_target | 3 | #define _XT_CONNSECMARK_H_target |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_CT_H | 2 | #ifndef _XT_CT_H |
| 2 | #define _XT_CT_H | 3 | #define _XT_CT_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* x_tables module for setting the IPv4/IPv6 DSCP field | 2 | /* x_tables module for setting the IPv4/IPv6 DSCP field |
| 2 | * | 3 | * |
| 3 | * (C) 2002 Harald Welte <laforge@gnumonks.org> | 4 | * (C) 2002 Harald Welte <laforge@gnumonks.org> |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef XT_HMARK_H_ | 2 | #ifndef XT_HMARK_H_ |
| 2 | #define XT_HMARK_H_ | 3 | #define XT_HMARK_H_ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * linux/include/linux/netfilter/xt_IDLETIMER.h | 3 | * linux/include/linux/netfilter/xt_IDLETIMER.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_LED_H | 2 | #ifndef _XT_LED_H |
| 2 | #define _XT_LED_H | 3 | #define _XT_LED_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_LOG_H | 2 | #ifndef _XT_LOG_H |
| 2 | #define _XT_LOG_H | 3 | #define _XT_LOG_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_MARK_H_target | 2 | #ifndef _XT_MARK_H_target |
| 2 | #define _XT_MARK_H_target | 3 | #define _XT_MARK_H_target |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_NFLOG_TARGET | 2 | #ifndef _XT_NFLOG_TARGET |
| 2 | #define _XT_NFLOG_TARGET | 3 | #define _XT_NFLOG_TARGET |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* iptables module for using NFQUEUE mechanism | 2 | /* iptables module for using NFQUEUE mechanism |
| 2 | * | 3 | * |
| 3 | * (C) 2005 Harald Welte <laforge@netfilter.org> | 4 | * (C) 2005 Harald Welte <laforge@netfilter.org> |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_RATEEST_TARGET_H | 2 | #ifndef _XT_RATEEST_TARGET_H |
| 2 | #define _XT_RATEEST_TARGET_H | 3 | #define _XT_RATEEST_TARGET_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_SECMARK_H_target | 2 | #ifndef _XT_SECMARK_H_target |
| 2 | #define _XT_SECMARK_H_target | 3 | #define _XT_SECMARK_H_target |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_SYNPROXY_H | 2 | #ifndef _XT_SYNPROXY_H |
| 2 | #define _XT_SYNPROXY_H | 3 | #define _XT_SYNPROXY_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_TCPMSS_H | 2 | #ifndef _XT_TCPMSS_H |
| 2 | #define _XT_TCPMSS_H | 3 | #define _XT_TCPMSS_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_TCPOPTSTRIP_H | 2 | #ifndef _XT_TCPOPTSTRIP_H |
| 2 | #define _XT_TCPOPTSTRIP_H | 3 | #define _XT_TCPOPTSTRIP_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_TEE_TARGET_H | 2 | #ifndef _XT_TEE_TARGET_H |
| 2 | #define _XT_TEE_TARGET_H | 3 | #define _XT_TEE_TARGET_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_TPROXY_H | 2 | #ifndef _XT_TPROXY_H |
| 2 | #define _XT_TPROXY_H | 3 | #define _XT_TPROXY_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_ADDRTYPE_H | 2 | #ifndef _XT_ADDRTYPE_H |
| 2 | #define _XT_ADDRTYPE_H | 3 | #define _XT_ADDRTYPE_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_BPF_H | 2 | #ifndef _XT_BPF_H |
| 2 | #define _XT_BPF_H | 3 | #define _XT_BPF_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_XT_CGROUP_H | 2 | #ifndef _UAPI_XT_CGROUP_H |
| 2 | #define _UAPI_XT_CGROUP_H | 3 | #define _UAPI_XT_CGROUP_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_CLUSTER_MATCH_H | 2 | #ifndef _XT_CLUSTER_MATCH_H |
| 2 | #define _XT_CLUSTER_MATCH_H | 3 | #define _XT_CLUSTER_MATCH_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_COMMENT_H | 2 | #ifndef _XT_COMMENT_H |
| 2 | #define _XT_COMMENT_H | 3 | #define _XT_COMMENT_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_CONNBYTES_H | 2 | #ifndef _XT_CONNBYTES_H |
| 2 | #define _XT_CONNBYTES_H | 3 | #define _XT_CONNBYTES_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #include <linux/types.h> | 2 | #include <linux/types.h> |
| 2 | 3 | ||
| 3 | #define XT_CONNLABEL_MAXBIT 127 | 4 | #define XT_CONNLABEL_MAXBIT 127 |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_CONNLIMIT_H | 2 | #ifndef _XT_CONNLIMIT_H |
| 2 | #define _XT_CONNLIMIT_H | 3 | #define _XT_CONNLIMIT_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_CONNMARK_H | 2 | #ifndef _XT_CONNMARK_H |
| 2 | #define _XT_CONNMARK_H | 3 | #define _XT_CONNMARK_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */ | ||
| 1 | /* Header file for kernel module to match connection tracking information. | 2 | /* Header file for kernel module to match connection tracking information. |
| 2 | * GPL (C) 2001 Marc Boucher (marc@mbsi.ca). | 3 | * GPL (C) 2001 Marc Boucher (marc@mbsi.ca). |
| 3 | */ | 4 | */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_CPU_H | 2 | #ifndef _XT_CPU_H |
| 2 | #define _XT_CPU_H | 3 | #define _XT_CPU_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_DCCP_H_ | 2 | #ifndef _XT_DCCP_H_ |
| 2 | #define _XT_DCCP_H_ | 3 | #define _XT_DCCP_H_ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_DEVGROUP_H | 2 | #ifndef _XT_DEVGROUP_H |
| 2 | #define _XT_DEVGROUP_H | 3 | #define _XT_DEVGROUP_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* x_tables module for matching the IPv4/IPv6 DSCP field | 2 | /* x_tables module for matching the IPv4/IPv6 DSCP field |
| 2 | * | 3 | * |
| 3 | * (C) 2002 Harald Welte <laforge@gnumonks.org> | 4 | * (C) 2002 Harald Welte <laforge@gnumonks.org> |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* iptables module for matching the ECN header in IPv4 and TCP header | 2 | /* iptables module for matching the ECN header in IPv4 and TCP header |
| 2 | * | 3 | * |
| 3 | * (C) 2002 Harald Welte <laforge@gnumonks.org> | 4 | * (C) 2002 Harald Welte <laforge@gnumonks.org> |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_ESP_H | 2 | #ifndef _XT_ESP_H |
| 2 | #define _XT_ESP_H | 3 | #define _XT_ESP_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_XT_HASHLIMIT_H | 2 | #ifndef _UAPI_XT_HASHLIMIT_H |
| 2 | #define _UAPI_XT_HASHLIMIT_H | 3 | #define _UAPI_XT_HASHLIMIT_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_HELPER_H | 2 | #ifndef _XT_HELPER_H |
| 2 | #define _XT_HELPER_H | 3 | #define _XT_HELPER_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_IPCOMP_H | 2 | #ifndef _XT_IPCOMP_H |
| 2 | #define _XT_IPCOMP_H | 3 | #define _XT_IPCOMP_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _LINUX_NETFILTER_XT_IPRANGE_H | 2 | #ifndef _LINUX_NETFILTER_XT_IPRANGE_H |
| 2 | #define _LINUX_NETFILTER_XT_IPRANGE_H 1 | 3 | #define _LINUX_NETFILTER_XT_IPRANGE_H 1 |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_IPVS_H | 2 | #ifndef _XT_IPVS_H |
| 2 | #define _XT_IPVS_H | 3 | #define _XT_IPVS_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _LINUX_NETFILTER_XT_L2TP_H | 2 | #ifndef _LINUX_NETFILTER_XT_L2TP_H |
| 2 | #define _LINUX_NETFILTER_XT_L2TP_H | 3 | #define _LINUX_NETFILTER_XT_L2TP_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_LENGTH_H | 2 | #ifndef _XT_LENGTH_H |
| 2 | #define _XT_LENGTH_H | 3 | #define _XT_LENGTH_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_RATE_H | 2 | #ifndef _XT_RATE_H |
| 2 | #define _XT_RATE_H | 3 | #define _XT_RATE_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_MAC_H | 2 | #ifndef _XT_MAC_H |
| 2 | #define _XT_MAC_H | 3 | #define _XT_MAC_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_MARK_H | 2 | #ifndef _XT_MARK_H |
| 2 | #define _XT_MARK_H | 3 | #define _XT_MARK_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_MULTIPORT_H | 2 | #ifndef _XT_MULTIPORT_H |
| 2 | #define _XT_MULTIPORT_H | 3 | #define _XT_MULTIPORT_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_NFACCT_MATCH_H | 2 | #ifndef _XT_NFACCT_MATCH_H |
| 2 | #define _XT_NFACCT_MATCH_H | 3 | #define _XT_NFACCT_MATCH_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2003+ Evgeniy Polyakov <johnpol@2ka.mxt.ru> | 3 | * Copyright (c) 2003+ Evgeniy Polyakov <johnpol@2ka.mxt.ru> |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_OWNER_MATCH_H | 2 | #ifndef _XT_OWNER_MATCH_H |
| 2 | #define _XT_OWNER_MATCH_H | 3 | #define _XT_OWNER_MATCH_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_XT_PHYSDEV_H | 2 | #ifndef _UAPI_XT_PHYSDEV_H |
| 2 | #define _UAPI_XT_PHYSDEV_H | 3 | #define _UAPI_XT_PHYSDEV_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_PKTTYPE_H | 2 | #ifndef _XT_PKTTYPE_H |
| 2 | #define _XT_PKTTYPE_H | 3 | #define _XT_PKTTYPE_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_POLICY_H | 2 | #ifndef _XT_POLICY_H |
| 2 | #define _XT_POLICY_H | 3 | #define _XT_POLICY_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_QUOTA_H | 2 | #ifndef _XT_QUOTA_H |
| 2 | #define _XT_QUOTA_H | 3 | #define _XT_QUOTA_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_RATEEST_MATCH_H | 2 | #ifndef _XT_RATEEST_MATCH_H |
| 2 | #define _XT_RATEEST_MATCH_H | 3 | #define _XT_RATEEST_MATCH_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_REALM_H | 2 | #ifndef _XT_REALM_H |
| 2 | #define _XT_REALM_H | 3 | #define _XT_REALM_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _LINUX_NETFILTER_XT_RECENT_H | 2 | #ifndef _LINUX_NETFILTER_XT_RECENT_H |
| 2 | #define _LINUX_NETFILTER_XT_RECENT_H 1 | 3 | #define _LINUX_NETFILTER_XT_RECENT_H 1 |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_RPATH_H | 2 | #ifndef _XT_RPATH_H |
| 2 | #define _XT_RPATH_H | 3 | #define _XT_RPATH_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_SCTP_H_ | 2 | #ifndef _XT_SCTP_H_ |
| 2 | #define _XT_SCTP_H_ | 3 | #define _XT_SCTP_H_ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_SET_H | 2 | #ifndef _XT_SET_H |
| 2 | #define _XT_SET_H | 3 | #define _XT_SET_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_SOCKET_H | 2 | #ifndef _XT_SOCKET_H |
| 2 | #define _XT_SOCKET_H | 3 | #define _XT_SOCKET_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_STATE_H | 2 | #ifndef _XT_STATE_H |
| 2 | #define _XT_STATE_H | 3 | #define _XT_STATE_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_STATISTIC_H | 2 | #ifndef _XT_STATISTIC_H |
| 2 | #define _XT_STATISTIC_H | 3 | #define _XT_STATISTIC_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_STRING_H | 2 | #ifndef _XT_STRING_H |
| 2 | #define _XT_STRING_H | 3 | #define _XT_STRING_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_TCPMSS_MATCH_H | 2 | #ifndef _XT_TCPMSS_MATCH_H |
| 2 | #define _XT_TCPMSS_MATCH_H | 3 | #define _XT_TCPMSS_MATCH_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_TCPUDP_H | 2 | #ifndef _XT_TCPUDP_H |
| 2 | #define _XT_TCPUDP_H | 3 | #define _XT_TCPUDP_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_TIME_H | 2 | #ifndef _XT_TIME_H |
| 2 | #define _XT_TIME_H 1 | 3 | #define _XT_TIME_H 1 |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _XT_U32_H | 2 | #ifndef _XT_U32_H |
| 2 | #define _XT_U32_H 1 | 3 | #define _XT_U32_H 1 |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_ARP_NETFILTER_H | 2 | #ifndef __LINUX_ARP_NETFILTER_H |
| 2 | #define __LINUX_ARP_NETFILTER_H | 3 | #define __LINUX_ARP_NETFILTER_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Format of an ARP firewall descriptor | 3 | * Format of an ARP firewall descriptor |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _ARPT_MANGLE_H | 2 | #ifndef _ARPT_MANGLE_H |
| 2 | #define _ARPT_MANGLE_H | 3 | #define _ARPT_MANGLE_H |
| 3 | #include <linux/netfilter_arp/arp_tables.h> | 4 | #include <linux/netfilter_arp/arp_tables.h> |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI__LINUX_BRIDGE_NETFILTER_H | 2 | #ifndef _UAPI__LINUX_BRIDGE_NETFILTER_H |
| 2 | #define _UAPI__LINUX_BRIDGE_NETFILTER_H | 3 | #define _UAPI__LINUX_BRIDGE_NETFILTER_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI__LINUX_BRIDGE_EBT_802_3_H | 2 | #ifndef _UAPI__LINUX_BRIDGE_EBT_802_3_H |
| 2 | #define _UAPI__LINUX_BRIDGE_EBT_802_3_H | 3 | #define _UAPI__LINUX_BRIDGE_EBT_802_3_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_BRIDGE_EBT_AMONG_H | 2 | #ifndef __LINUX_BRIDGE_EBT_AMONG_H |
| 2 | #define __LINUX_BRIDGE_EBT_AMONG_H | 3 | #define __LINUX_BRIDGE_EBT_AMONG_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_BRIDGE_EBT_ARP_H | 2 | #ifndef __LINUX_BRIDGE_EBT_ARP_H |
| 2 | #define __LINUX_BRIDGE_EBT_ARP_H | 3 | #define __LINUX_BRIDGE_EBT_ARP_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_BRIDGE_EBT_ARPREPLY_H | 2 | #ifndef __LINUX_BRIDGE_EBT_ARPREPLY_H |
| 2 | #define __LINUX_BRIDGE_EBT_ARPREPLY_H | 3 | #define __LINUX_BRIDGE_EBT_ARPREPLY_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * ebt_ip | 3 | * ebt_ip |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * ebt_ip6 | 3 | * ebt_ip6 |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_BRIDGE_EBT_LIMIT_H | 2 | #ifndef __LINUX_BRIDGE_EBT_LIMIT_H |
| 2 | #define __LINUX_BRIDGE_EBT_LIMIT_H | 3 | #define __LINUX_BRIDGE_EBT_LIMIT_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_BRIDGE_EBT_LOG_H | 2 | #ifndef __LINUX_BRIDGE_EBT_LOG_H |
| 2 | #define __LINUX_BRIDGE_EBT_LOG_H | 3 | #define __LINUX_BRIDGE_EBT_LOG_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_BRIDGE_EBT_MARK_M_H | 2 | #ifndef __LINUX_BRIDGE_EBT_MARK_M_H |
| 2 | #define __LINUX_BRIDGE_EBT_MARK_M_H | 3 | #define __LINUX_BRIDGE_EBT_MARK_M_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_BRIDGE_EBT_MARK_T_H | 2 | #ifndef __LINUX_BRIDGE_EBT_MARK_T_H |
| 2 | #define __LINUX_BRIDGE_EBT_MARK_T_H | 3 | #define __LINUX_BRIDGE_EBT_MARK_T_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_BRIDGE_EBT_NAT_H | 2 | #ifndef __LINUX_BRIDGE_EBT_NAT_H |
| 2 | #define __LINUX_BRIDGE_EBT_NAT_H | 3 | #define __LINUX_BRIDGE_EBT_NAT_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_BRIDGE_EBT_NFLOG_H | 2 | #ifndef __LINUX_BRIDGE_EBT_NFLOG_H |
| 2 | #define __LINUX_BRIDGE_EBT_NFLOG_H | 3 | #define __LINUX_BRIDGE_EBT_NFLOG_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_BRIDGE_EBT_PKTTYPE_H | 2 | #ifndef __LINUX_BRIDGE_EBT_PKTTYPE_H |
| 2 | #define __LINUX_BRIDGE_EBT_PKTTYPE_H | 3 | #define __LINUX_BRIDGE_EBT_PKTTYPE_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_BRIDGE_EBT_REDIRECT_H | 2 | #ifndef __LINUX_BRIDGE_EBT_REDIRECT_H |
| 2 | #define __LINUX_BRIDGE_EBT_REDIRECT_H | 3 | #define __LINUX_BRIDGE_EBT_REDIRECT_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_BRIDGE_EBT_STP_H | 2 | #ifndef __LINUX_BRIDGE_EBT_STP_H |
| 2 | #define __LINUX_BRIDGE_EBT_STP_H | 3 | #define __LINUX_BRIDGE_EBT_STP_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_BRIDGE_EBT_VLAN_H | 2 | #ifndef __LINUX_BRIDGE_EBT_VLAN_H |
| 2 | #define __LINUX_BRIDGE_EBT_VLAN_H | 3 | #define __LINUX_BRIDGE_EBT_VLAN_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * ebtables | 3 | * ebtables |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_DECNET_NETFILTER_H | 2 | #ifndef __LINUX_DECNET_NETFILTER_H |
| 2 | #define __LINUX_DECNET_NETFILTER_H | 3 | #define __LINUX_DECNET_NETFILTER_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* IPv4-specific defines for netfilter. | 2 | /* IPv4-specific defines for netfilter. |
| 2 | * (C)1998 Rusty Russell -- This code is GPL. | 3 | * (C)1998 Rusty Russell -- This code is GPL. |
| 3 | */ | 4 | */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * 25-Jul-1998 Major changes to allow for ip chain table | 3 | * 25-Jul-1998 Major changes to allow for ip chain table |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _IPT_CLUSTERIP_H_target | 2 | #ifndef _IPT_CLUSTERIP_H_target |
| 2 | #define _IPT_CLUSTERIP_H_target | 3 | #define _IPT_CLUSTERIP_H_target |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* Header file for iptables ipt_ECN target | 2 | /* Header file for iptables ipt_ECN target |
| 2 | * | 3 | * |
| 3 | * (C) 2002 by Harald Welte <laforge@gnumonks.org> | 4 | * (C) 2002 by Harald Welte <laforge@gnumonks.org> |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _IPT_LOG_H | 2 | #ifndef _IPT_LOG_H |
| 2 | #define _IPT_LOG_H | 3 | #define _IPT_LOG_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _IPT_REJECT_H | 2 | #ifndef _IPT_REJECT_H |
| 2 | #define _IPT_REJECT_H | 3 | #define _IPT_REJECT_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* TTL modification module for IP tables | 2 | /* TTL modification module for IP tables |
| 2 | * (C) 2000 by Harald Welte <laforge@netfilter.org> */ | 3 | * (C) 2000 by Harald Welte <laforge@netfilter.org> */ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _IPT_AH_H | 2 | #ifndef _IPT_AH_H |
| 2 | #define _IPT_AH_H | 3 | #define _IPT_AH_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _IPT_ECN_H | 2 | #ifndef _IPT_ECN_H |
| 2 | #define _IPT_ECN_H | 3 | #define _IPT_ECN_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* IP tables module for matching the value of the TTL | 2 | /* IP tables module for matching the value of the TTL |
| 2 | * (C) 2000 by Harald Welte <laforge@gnumonks.org> */ | 3 | * (C) 2000 by Harald Welte <laforge@gnumonks.org> */ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* IPv6-specific defines for netfilter. | 2 | /* IPv6-specific defines for netfilter. |
| 2 | * (C)1998 Rusty Russell -- This code is GPL. | 3 | * (C)1998 Rusty Russell -- This code is GPL. |
| 3 | * (C)1999 David Jeffery | 4 | * (C)1999 David Jeffery |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * 25-Jul-1998 Major changes to allow for ip chain table | 3 | * 25-Jul-1998 Major changes to allow for ip chain table |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* Hop Limit modification module for ip6tables | 2 | /* Hop Limit modification module for ip6tables |
| 2 | * Maciej Soltysiak <solt@dns.toxicfilms.tv> | 3 | * Maciej Soltysiak <solt@dns.toxicfilms.tv> |
| 3 | * Based on HW's TTL module */ | 4 | * Based on HW's TTL module */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _IP6T_LOG_H | 2 | #ifndef _IP6T_LOG_H |
| 2 | #define _IP6T_LOG_H | 3 | #define _IP6T_LOG_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __NETFILTER_IP6T_NPT | 2 | #ifndef __NETFILTER_IP6T_NPT |
| 2 | #define __NETFILTER_IP6T_NPT | 3 | #define __NETFILTER_IP6T_NPT |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _IP6T_REJECT_H | 2 | #ifndef _IP6T_REJECT_H |
| 2 | #define _IP6T_REJECT_H | 3 | #define _IP6T_REJECT_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _IP6T_AH_H | 2 | #ifndef _IP6T_AH_H |
| 2 | #define _IP6T_AH_H | 3 | #define _IP6T_AH_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _IP6T_FRAG_H | 2 | #ifndef _IP6T_FRAG_H |
| 2 | #define _IP6T_FRAG_H | 3 | #define _IP6T_FRAG_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* ip6tables module for matching the Hop Limit value | 2 | /* ip6tables module for matching the Hop Limit value |
| 2 | * Maciej Soltysiak <solt@dns.toxicfilms.tv> | 3 | * Maciej Soltysiak <solt@dns.toxicfilms.tv> |
| 3 | * Based on HW's ttl module */ | 4 | * Based on HW's ttl module */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* ipv6header match - matches IPv6 packets based | 2 | /* ipv6header match - matches IPv6 packets based |
| 2 | on whether they contain certain headers */ | 3 | on whether they contain certain headers */ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _IP6T_MH_H | 2 | #ifndef _IP6T_MH_H |
| 2 | #define _IP6T_MH_H | 3 | #define _IP6T_MH_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _IP6T_OPTS_H | 2 | #ifndef _IP6T_OPTS_H |
| 2 | #define _IP6T_OPTS_H | 3 | #define _IP6T_OPTS_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _IP6T_RT_H | 2 | #ifndef _IP6T_RT_H |
| 2 | #define _IP6T_RT_H | 3 | #define _IP6T_RT_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI__LINUX_NETLINK_H | 2 | #ifndef _UAPI__LINUX_NETLINK_H |
| 2 | #define _UAPI__LINUX_NETLINK_H | 3 | #define _UAPI__LINUX_NETLINK_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __NETLINK_DIAG_H__ | 2 | #ifndef __NETLINK_DIAG_H__ |
| 2 | #define __NETLINK_DIAG_H__ | 3 | #define __NETLINK_DIAG_H__ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * These are the public elements of the Linux kernel NET/ROM implementation. | 3 | * These are the public elements of the Linux kernel NET/ROM implementation. |
| 3 | * For kernel AX.25 see the file ax25.h. This file requires ax25.h for the | 4 | * For kernel AX.25 see the file ax25.h. This file requires ax25.h for the |
| @@ -89,6 +89,7 @@ · 88 unmodified lines | |||
| 89 | * @NFC_CMD_ACTIVATE_TARGET: Request NFC controller to reactivate target. | 89 | * @NFC_CMD_ACTIVATE_TARGET: Request NFC controller to reactivate target. |
| 90 | * @NFC_CMD_VENDOR: Vendor specific command, to be implemented directly | 90 | * @NFC_CMD_VENDOR: Vendor specific command, to be implemented directly |
| 91 | * from the driver in order to support hardware specific operations. | 91 | * from the driver in order to support hardware specific operations. |
| 92 | * @NFC_CMD_DEACTIVATE_TARGET: Request NFC controller to deactivate target. | ||
| 92 | */ | 93 | */ |
| 93 | enum nfc_commands { | 94 | enum nfc_commands { |
| 94 | NFC_CMD_UNSPEC, | 95 | NFC_CMD_UNSPEC, |
| @@ -121,6 +122,7 @@ enum nfc_commands { · 26 unmodified lines | |||
| 121 | NFC_CMD_SE_IO, | 122 | NFC_CMD_SE_IO, |
| 122 | NFC_CMD_ACTIVATE_TARGET, | 123 | NFC_CMD_ACTIVATE_TARGET, |
| 123 | NFC_CMD_VENDOR, | 124 | NFC_CMD_VENDOR, |
| 125 | NFC_CMD_DEACTIVATE_TARGET, | ||
| 124 | /* private: internal use only */ | 126 | /* private: internal use only */ |
| 125 | __NFC_CMD_AFTER_LAST | 127 | __NFC_CMD_AFTER_LAST |
| 126 | }; | 128 | }; |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * NFS protocol definitions | 3 | * NFS protocol definitions |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * NFS protocol definitions | 3 | * NFS protocol definitions |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * NFSv3 protocol definitions | 3 | * NFSv3 protocol definitions |
| 3 | */ | 4 | */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * include/linux/nfs4.h | 3 | * include/linux/nfs4.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _LINUX_NFS4_MOUNT_H | 2 | #ifndef _LINUX_NFS4_MOUNT_H |
| 2 | #define _LINUX_NFS4_MOUNT_H | 3 | #define _LINUX_NFS4_MOUNT_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * linux/include/linux/nfs_fs.h | 3 | * linux/include/linux/nfs_fs.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _LINUX_NFS_MOUNT_H | 2 | #ifndef _LINUX_NFS_MOUNT_H |
| 2 | #define _LINUX_NFS_MOUNT_H | 3 | #define _LINUX_NFS_MOUNT_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * File: linux/nfsacl.h | 3 | * File: linux/nfsacl.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Upcall description for nfsdcld communication | 3 | * Upcall description for nfsdcld communication |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * linux/include/linux/nfsd/debug.h | 3 | * linux/include/linux/nfsd/debug.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * include/linux/nfsd/export.h | 3 | * include/linux/nfsd/export.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * This file describes the layout of the file handles as passed | 3 | * This file describes the layout of the file handles as passed |
| 3 | * over the wire. | 4 | * over the wire. |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * linux/include/linux/nfsd/stats.h | 3 | * linux/include/linux/nfsd/stats.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * nilfs2_api.h - NILFS2 user space API | 3 | * nilfs2_api.h - NILFS2 user space API |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * nilfs2_ondisk.h - NILFS2 on-disk structures | 3 | * nilfs2_ondisk.h - NILFS2 on-disk structures |
| 3 | * | 4 | * |
| @@ -569,13 +569,14 @@ · 568 unmodified lines | |||
| 569 | * authentication/association or not receiving a response from the AP. | 569 | * authentication/association or not receiving a response from the AP. |
| 570 | * Non-zero %NL80211_ATTR_STATUS_CODE value is indicated in that case as | 570 | * Non-zero %NL80211_ATTR_STATUS_CODE value is indicated in that case as |
| 571 | * well to remain backwards compatible. | 571 | * well to remain backwards compatible. |
| 572 | * @NL80211_CMD_ROAM: notifcation indicating the card/driver roamed by itself. | 572 | * When establishing a security association, drivers that support 4 way |
| 573 | * When the driver roamed in a network that requires 802.1X authentication, | 573 | * handshake offload should send %NL80211_CMD_PORT_AUTHORIZED event when |
| 574 | * %NL80211_ATTR_PORT_AUTHORIZED should be set if the 802.1X authentication | 574 | * the 4 way handshake is completed successfully. |
| 575 | * was done by the driver or if roaming was done using Fast Transition | 575 | * @NL80211_CMD_ROAM: Notification indicating the card/driver roamed by itself. |
| 576 | * protocol (in which case 802.1X authentication is not needed). If | 576 | * When a security association was established with the new AP (e.g. if |
| 577 | * %NL80211_ATTR_PORT_AUTHORIZED is not set, user space is responsible for | 577 | * the FT protocol was used for roaming or the driver completed the 4 way |
| 578 | * the 802.1X authentication. | 578 | * handshake), this event should be followed by an |
| 579 | * %NL80211_CMD_PORT_AUTHORIZED event. | ||
| 579 | * @NL80211_CMD_DISCONNECT: drop a given connection; also used to notify | 580 | * @NL80211_CMD_DISCONNECT: drop a given connection; also used to notify |
| 580 | * userspace that a connection was dropped by the AP or due to other | 581 | * userspace that a connection was dropped by the AP or due to other |
| 581 | * reasons, for this the %NL80211_ATTR_DISCONNECTED_BY_AP and | 582 | * reasons, for this the %NL80211_ATTR_DISCONNECTED_BY_AP and |
| @@ -982,6 +983,14 @@ · 400 unmodified lines | |||
| 982 | * @NL80211_CMD_DEL_PMK: For offloaded 4-Way handshake, delete the previously | 983 | * @NL80211_CMD_DEL_PMK: For offloaded 4-Way handshake, delete the previously |
| 983 | * configured PMK for the authenticator address identified by | 984 | * configured PMK for the authenticator address identified by |
| 984 | * &NL80211_ATTR_MAC. | 985 | * &NL80211_ATTR_MAC. |
| 986 | * @NL80211_CMD_PORT_AUTHORIZED: An event that indicates that the 4 way | ||
| 987 | * handshake was completed successfully by the driver. The BSSID is | ||
| 988 | * specified with &NL80211_ATTR_MAC. Drivers that support 4 way handshake | ||
| 989 | * offload should send this event after indicating 802.11 association with | ||
| 990 | * &NL80211_CMD_CONNECT or &NL80211_CMD_ROAM. If the 4 way handshake failed | ||
| 991 | * &NL80211_CMD_DISCONNECT should be indicated instead. | ||
| 992 | * | ||
| 993 | * @NL80211_CMD_RELOAD_REGDB: Request that the regdb firmware file is reloaded. | ||
| 985 | * | 994 | * |
| 986 | * @NL80211_CMD_MAX: highest used command number | 995 | * @NL80211_CMD_MAX: highest used command number |
| 987 | * @__NL80211_CMD_AFTER_LAST: internal use | 996 | * @__NL80211_CMD_AFTER_LAST: internal use |
| @@ -1185,6 +1194,10 @@ enum nl80211_commands { · 197 unmodified lines | |||
| 1185 | NL80211_CMD_SET_PMK, | 1194 | NL80211_CMD_SET_PMK, |
| 1186 | NL80211_CMD_DEL_PMK, | 1195 | NL80211_CMD_DEL_PMK, |
| 1187 | 1196 | ||
| 1197 | NL80211_CMD_PORT_AUTHORIZED, | ||
| 1198 | |||
| 1199 | NL80211_CMD_RELOAD_REGDB, | ||
| 1200 | |||
| 1188 | /* add new commands above here */ | 1201 | /* add new commands above here */ |
| 1189 | 1202 | ||
| 1190 | /* used to define NL80211_CMD_MAX below */ | 1203 | /* used to define NL80211_CMD_MAX below */ |
| @@ -1407,8 +1420,12 @@ enum nl80211_commands { · 216 unmodified lines | |||
| 1407 | * | 1420 | * |
| 1408 | * @NL80211_ATTR_USE_MFP: Whether management frame protection (IEEE 802.11w) is | 1421 | * @NL80211_ATTR_USE_MFP: Whether management frame protection (IEEE 802.11w) is |
| 1409 | * used for the association (&enum nl80211_mfp, represented as a u32); | 1422 | * used for the association (&enum nl80211_mfp, represented as a u32); |
| 1410 | * this attribute can be used | 1423 | * this attribute can be used with %NL80211_CMD_ASSOCIATE and |
| 1411 | * with %NL80211_CMD_ASSOCIATE and %NL80211_CMD_CONNECT requests | 1424 | * %NL80211_CMD_CONNECT requests. %NL80211_MFP_OPTIONAL is not allowed for |
| 1425 | * %NL80211_CMD_ASSOCIATE since user space SME is expected and hence, it | ||
| 1426 | * must have decided whether to use management frame protection or not. | ||
| 1427 | * Setting %NL80211_MFP_OPTIONAL with a %NL80211_CMD_CONNECT request will | ||
| 1428 | * let the driver (or the firmware) decide whether to use MFP or not. | ||
| 1412 | * | 1429 | * |
| 1413 | * @NL80211_ATTR_STA_FLAGS2: Attribute containing a | 1430 | * @NL80211_ATTR_STA_FLAGS2: Attribute containing a |
| 1414 | * &struct nl80211_sta_flag_update. | 1431 | * &struct nl80211_sta_flag_update. |
| @@ -2134,10 +2151,7 @@ enum nl80211_commands { · 719 unmodified lines | |||
| 2134 | * in %NL80211_CMD_CONNECT to indicate that for 802.1X authentication it | 2151 | * in %NL80211_CMD_CONNECT to indicate that for 802.1X authentication it |
| 2135 | * wants to use the supported offload of the 4-way handshake. | 2152 | * wants to use the supported offload of the 4-way handshake. |
| 2136 | * @NL80211_ATTR_PMKR0_NAME: PMK-R0 Name for offloaded FT. | 2153 | * @NL80211_ATTR_PMKR0_NAME: PMK-R0 Name for offloaded FT. |
| 2137 | * @NL80211_ATTR_PORT_AUTHORIZED: flag attribute used in %NL80211_CMD_ROAMED | 2154 | * @NL80211_ATTR_PORT_AUTHORIZED: (reserved) |
| 2138 | * notification indicating that that 802.1X authentication was done by | ||
| 2139 | * the driver or is not needed (because roaming used the Fast Transition | ||
| 2140 | * protocol). | ||
| 2141 | * | 2155 | * |
| 2142 | * @NUM_NL80211_ATTR: total number of nl80211_attrs available | 2156 | * @NUM_NL80211_ATTR: total number of nl80211_attrs available |
| 2143 | * @NL80211_ATTR_MAX: highest attribute number currently defined | 2157 | * @NL80211_ATTR_MAX: highest attribute number currently defined |
| @@ -3947,10 +3961,12 @@ enum nl80211_key_type { · 1803 unmodified lines | |||
| 3947 | * enum nl80211_mfp - Management frame protection state | 3961 | * enum nl80211_mfp - Management frame protection state |
| 3948 | * @NL80211_MFP_NO: Management frame protection not used | 3962 | * @NL80211_MFP_NO: Management frame protection not used |
| 3949 | * @NL80211_MFP_REQUIRED: Management frame protection required | 3963 | * @NL80211_MFP_REQUIRED: Management frame protection required |
| 3964 | * @NL80211_MFP_OPTIONAL: Management frame protection is optional | ||
| 3950 | */ | 3965 | */ |
| 3951 | enum nl80211_mfp { | 3966 | enum nl80211_mfp { |
| 3952 | NL80211_MFP_NO, | 3967 | NL80211_MFP_NO, |
| 3953 | NL80211_MFP_REQUIRED, | 3968 | NL80211_MFP_REQUIRED, |
| 3969 | NL80211_MFP_OPTIONAL, | ||
| 3954 | }; | 3970 | }; |
| 3955 | 3971 | ||
| 3956 | enum nl80211_wpa_versions { | 3972 | enum nl80211_wpa_versions { |
| @@ -4914,6 +4930,17 @@ enum nl80211_feature_flags { · 957 unmodified lines | |||
| 4914 | * handshake with 802.1X in station mode (will pass EAP frames to the host | 4930 | * handshake with 802.1X in station mode (will pass EAP frames to the host |
| 4915 | * and accept the set_pmk/del_pmk commands), doing it in the host might not | 4931 | * and accept the set_pmk/del_pmk commands), doing it in the host might not |
| 4916 | * be supported. | 4932 | * be supported. |
| 4933 | * @NL80211_EXT_FEATURE_FILS_MAX_CHANNEL_TIME: Driver is capable of overriding | ||
| 4934 | * the max channel attribute in the FILS request params IE with the | ||
| 4935 | * actual dwell time. | ||
| 4936 | * @NL80211_EXT_FEATURE_ACCEPT_BCAST_PROBE_RESP: Driver accepts broadcast probe | ||
| 4937 | * response | ||
| 4938 | * @NL80211_EXT_FEATURE_OCE_PROBE_REQ_HIGH_TX_RATE: Driver supports sending | ||
| 4939 | * the first probe request in each channel at rate of at least 5.5Mbps. | ||
| 4940 | * @NL80211_EXT_FEATURE_OCE_PROBE_REQ_DEFERRAL_SUPPRESSION: Driver supports | ||
| 4941 | * probe request tx deferral and suppression | ||
| 4942 | * @NL80211_EXT_FEATURE_MFP_OPTIONAL: Driver supports the %NL80211_MFP_OPTIONAL | ||
| 4943 | * value in %NL80211_ATTR_USE_MFP. | ||
| 4917 | * | 4944 | * |
| 4918 | * @NUM_NL80211_EXT_FEATURES: number of extended features. | 4945 | * @NUM_NL80211_EXT_FEATURES: number of extended features. |
| 4919 | * @MAX_NL80211_EXT_FEATURES: highest extended feature index. | 4946 | * @MAX_NL80211_EXT_FEATURES: highest extended feature index. |
| @@ -4936,6 +4963,11 @@ enum nl80211_ext_feature_index { · 16 unmodified lines | |||
| 4936 | NL80211_EXT_FEATURE_FILS_SK_OFFLOAD, | 4963 | NL80211_EXT_FEATURE_FILS_SK_OFFLOAD, |
| 4937 | NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_PSK, | 4964 | NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_PSK, |
| 4938 | NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_1X, | 4965 | NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_1X, |
| 4966 | NL80211_EXT_FEATURE_FILS_MAX_CHANNEL_TIME, | ||
| 4967 | NL80211_EXT_FEATURE_ACCEPT_BCAST_PROBE_RESP, | ||
| 4968 | NL80211_EXT_FEATURE_OCE_PROBE_REQ_HIGH_TX_RATE, | ||
| 4969 | NL80211_EXT_FEATURE_OCE_PROBE_REQ_DEFERRAL_SUPPRESSION, | ||
| 4970 | NL80211_EXT_FEATURE_MFP_OPTIONAL, | ||
| 4939 | 4971 | ||
| 4940 | /* add new features before the definition below */ | 4972 | /* add new features before the definition below */ |
| 4941 | NUM_NL80211_EXT_FEATURES, | 4973 | NUM_NL80211_EXT_FEATURES, |
| @@ -5012,12 +5044,28 @@ enum nl80211_timeout_reason { · 70 unmodified lines | |||
| 5012 | * locally administered 1, multicast 0) is assumed. | 5044 | * locally administered 1, multicast 0) is assumed. |
| 5013 | * This flag must not be requested when the feature isn't supported, check | 5045 | * This flag must not be requested when the feature isn't supported, check |
| 5014 | * the nl80211 feature flags for the device. | 5046 | * the nl80211 feature flags for the device. |
| 5047 | * @NL80211_SCAN_FLAG_FILS_MAX_CHANNEL_TIME: fill the dwell time in the FILS | ||
| 5048 | * request parameters IE in the probe request | ||
| 5049 | * @NL80211_SCAN_FLAG_ACCEPT_BCAST_PROBE_RESP: accept broadcast probe responses | ||
| 5050 | * @NL80211_SCAN_FLAG_OCE_PROBE_REQ_HIGH_TX_RATE: send probe request frames at | ||
| 5051 | * rate of at least 5.5M. In case non OCE AP is dicovered in the channel, | ||
| 5052 | * only the first probe req in the channel will be sent in high rate. | ||
| 5053 | * @NL80211_SCAN_FLAG_OCE_PROBE_REQ_DEFERRAL_SUPPRESSION: allow probe request | ||
| 5054 | * tx deferral (dot11FILSProbeDelay shall be set to 15ms) | ||
| 5055 | * and suppression (if it has received a broadcast Probe Response frame, | ||
| 5056 | * Beacon frame or FILS Discovery frame from an AP that the STA considers | ||
| 5057 | * a suitable candidate for (re-)association - suitable in terms of | ||
| 5058 | * SSID and/or RSSI | ||
| 5015 | */ | 5059 | */ |
| 5016 | enum nl80211_scan_flags { | 5060 | enum nl80211_scan_flags { |
| 5017 | NL80211_SCAN_FLAG_LOW_PRIORITY = 1<<0, | 5061 | NL80211_SCAN_FLAG_LOW_PRIORITY = 1<<0, |
| 5018 | NL80211_SCAN_FLAG_FLUSH = 1<<1, | 5062 | NL80211_SCAN_FLAG_FLUSH = 1<<1, |
| 5019 | NL80211_SCAN_FLAG_AP = 1<<2, | 5063 | NL80211_SCAN_FLAG_AP = 1<<2, |
| 5020 | NL80211_SCAN_FLAG_RANDOM_ADDR = 1<<3, | 5064 | NL80211_SCAN_FLAG_RANDOM_ADDR = 1<<3, |
| 5065 | NL80211_SCAN_FLAG_FILS_MAX_CHANNEL_TIME = 1<<4, | ||
| 5066 | NL80211_SCAN_FLAG_ACCEPT_BCAST_PROBE_RESP = 1<<5, | ||
| 5067 | NL80211_SCAN_FLAG_OCE_PROBE_REQ_HIGH_TX_RATE = 1<<6, | ||
| 5068 | NL80211_SCAN_FLAG_OCE_PROBE_REQ_DEFERRAL_SUPPRESSION = 1<<7, | ||
| 5021 | }; | 5069 | }; |
| 5022 | 5070 | ||
| 5023 | /** | 5071 | /** |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_NSFS_H | 2 | #ifndef __LINUX_NSFS_H |
| 2 | #define __LINUX_NSFS_H | 3 | #define __LINUX_NSFS_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | nubus.h: various definitions and prototypes for NuBus drivers to use. | 3 | nubus.h: various definitions and prototypes for NuBus drivers to use. |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Definitions for the NVM Express ioctl interface | 3 | * Definitions for the NVM Express ioctl interface |
| 3 | * Copyright (c) 2011-2014, Intel Corporation. | 4 | * Copyright (c) 2011-2014, Intel Corporation. |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_NVRAM_H | 2 | #ifndef _UAPI_LINUX_NVRAM_H |
| 2 | #define _UAPI_LINUX_NVRAM_H | 3 | #define _UAPI_LINUX_NVRAM_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * omap3isp.h | 3 | * omap3isp.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * File: include/linux/omapfb.h | 3 | * File: include/linux/omapfb.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI__INCLUDE_LINUX_OOM_H | 2 | #ifndef _UAPI__INCLUDE_LINUX_OOM_H |
| 2 | #define _UAPI__INCLUDE_LINUX_OOM_H | 3 | #define _UAPI__INCLUDE_LINUX_OOM_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | 2 | ||
| 2 | /* | 3 | /* |
| 3 | * Copyright (c) 2007-2017 Nicira, Inc. | 4 | * Copyright (c) 2007-2017 Nicira, Inc. |
| @@ -257,6 +258,8 @@ enum ovs_vport_attr { · 253 unmodified lines | |||
| 257 | /* receiving upcalls */ | 258 | /* receiving upcalls */ |
| 258 | OVS_VPORT_ATTR_STATS, /* struct ovs_vport_stats */ | 259 | OVS_VPORT_ATTR_STATS, /* struct ovs_vport_stats */ |
| 259 | OVS_VPORT_ATTR_PAD, | 260 | OVS_VPORT_ATTR_PAD, |
| 261 | OVS_VPORT_ATTR_IFINDEX, | ||
| 262 | OVS_VPORT_ATTR_NETNSID, | ||
| 260 | __OVS_VPORT_ATTR_MAX | 263 | __OVS_VPORT_ATTR_MAX |
| 261 | }; | 264 | }; |
| 262 | 265 | ||
| @@ -333,6 +336,7 @@ enum ovs_key_attr { · 70 unmodified lines | |||
| 333 | OVS_KEY_ATTR_CT_LABELS, /* 16-octet connection tracking label */ | 336 | OVS_KEY_ATTR_CT_LABELS, /* 16-octet connection tracking label */ |
| 334 | OVS_KEY_ATTR_CT_ORIG_TUPLE_IPV4, /* struct ovs_key_ct_tuple_ipv4 */ | 337 | OVS_KEY_ATTR_CT_ORIG_TUPLE_IPV4, /* struct ovs_key_ct_tuple_ipv4 */ |
| 335 | OVS_KEY_ATTR_CT_ORIG_TUPLE_IPV6, /* struct ovs_key_ct_tuple_ipv6 */ | 338 | OVS_KEY_ATTR_CT_ORIG_TUPLE_IPV6, /* struct ovs_key_ct_tuple_ipv6 */ |
| 339 | OVS_KEY_ATTR_NSH, /* Nested set of ovs_nsh_key_* */ | ||
| 336 | 340 | ||
| 337 | #ifdef __KERNEL__ | 341 | #ifdef __KERNEL__ |
| 338 | OVS_KEY_ATTR_TUNNEL_INFO, /* struct ip_tunnel_info */ | 342 | OVS_KEY_ATTR_TUNNEL_INFO, /* struct ip_tunnel_info */ |
| @@ -359,6 +363,7 @@ enum ovs_tunnel_key_attr { · 20 unmodified lines | |||
| 359 | OVS_TUNNEL_KEY_ATTR_IPV6_SRC, /* struct in6_addr src IPv6 address. */ | 363 | OVS_TUNNEL_KEY_ATTR_IPV6_SRC, /* struct in6_addr src IPv6 address. */ |
| 360 | OVS_TUNNEL_KEY_ATTR_IPV6_DST, /* struct in6_addr dst IPv6 address. */ | 364 | OVS_TUNNEL_KEY_ATTR_IPV6_DST, /* struct in6_addr dst IPv6 address. */ |
| 361 | OVS_TUNNEL_KEY_ATTR_PAD, | 365 | OVS_TUNNEL_KEY_ATTR_PAD, |
| 366 | OVS_TUNNEL_KEY_ATTR_ERSPAN_OPTS, /* be32 ERSPAN index. */ | ||
| 362 | __OVS_TUNNEL_KEY_ATTR_MAX | 367 | __OVS_TUNNEL_KEY_ATTR_MAX |
| 363 | }; | 368 | }; |
| 364 | 369 | ||
| @@ -491,6 +496,30 @@ struct ovs_key_ct_tuple_ipv6 { · 126 unmodified lines | |||
| 491 | __u8 ipv6_proto; | 496 | __u8 ipv6_proto; |
| 492 | }; | 497 | }; |
| 493 | 498 | ||
| 499 | enum ovs_nsh_key_attr { | ||
| 500 | OVS_NSH_KEY_ATTR_UNSPEC, | ||
| 501 | OVS_NSH_KEY_ATTR_BASE, /* struct ovs_nsh_key_base. */ | ||
| 502 | OVS_NSH_KEY_ATTR_MD1, /* struct ovs_nsh_key_md1. */ | ||
| 503 | OVS_NSH_KEY_ATTR_MD2, /* variable-length octets for MD type 2. */ | ||
| 504 | __OVS_NSH_KEY_ATTR_MAX | ||
| 505 | }; | ||
| 506 | |||
| 507 | #define OVS_NSH_KEY_ATTR_MAX (__OVS_NSH_KEY_ATTR_MAX - 1) | ||
| 508 | |||
| 509 | struct ovs_nsh_key_base { | ||
| 510 | __u8 flags; | ||
| 511 | __u8 ttl; | ||
| 512 | __u8 mdtype; | ||
| 513 | __u8 np; | ||
| 514 | __be32 path_hdr; | ||
| 515 | }; | ||
| 516 | |||
| 517 | #define NSH_MD1_CONTEXT_SIZE 4 | ||
| 518 | |||
| 519 | struct ovs_nsh_key_md1 { | ||
| 520 | __be32 context[NSH_MD1_CONTEXT_SIZE]; | ||
| 521 | }; | ||
| 522 | |||
| 494 | /** | 523 | /** |
| 495 | * enum ovs_flow_attr - attributes for %OVS_FLOW_* commands. | 524 | * enum ovs_flow_attr - attributes for %OVS_FLOW_* commands. |
| 496 | * @OVS_FLOW_ATTR_KEY: Nested %OVS_KEY_ATTR_* attributes specifying the flow | 525 | * @OVS_FLOW_ATTR_KEY: Nested %OVS_KEY_ATTR_* attributes specifying the flow |
| @@ -806,6 +835,11 @@ struct ovs_action_push_eth { · 309 unmodified lines | |||
| 806 | * packet. | 835 | * packet. |
| 807 | * @OVS_ACTION_ATTR_POP_ETH: Pop the outermost Ethernet header off the | 836 | * @OVS_ACTION_ATTR_POP_ETH: Pop the outermost Ethernet header off the |
| 808 | * packet. | 837 | * packet. |
| 838 | * @OVS_ACTION_ATTR_CT_CLEAR: Clear conntrack state from the packet. | ||
| 839 | * @OVS_ACTION_ATTR_PUSH_NSH: push NSH header to the packet. | ||
| 840 | * @OVS_ACTION_ATTR_POP_NSH: pop the outermost NSH header off the packet. | ||
| 841 | * @OVS_ACTION_ATTR_METER: Run packet through a meter, which may drop the | ||
| 842 | * packet, or modify the packet (e.g., change the DSCP field). | ||
| 809 | * | 843 | * |
| 810 | * Only a single header can be set with a single %OVS_ACTION_ATTR_SET. Not all | 844 | * Only a single header can be set with a single %OVS_ACTION_ATTR_SET. Not all |
| 811 | * fields within a header are modifiable, e.g. the IPv4 protocol and fragment | 845 | * fields within a header are modifiable, e.g. the IPv4 protocol and fragment |
| @@ -835,6 +869,10 @@ enum ovs_action_attr { · 23 unmodified lines | |||
| 835 | OVS_ACTION_ATTR_TRUNC, /* u32 struct ovs_action_trunc. */ | 869 | OVS_ACTION_ATTR_TRUNC, /* u32 struct ovs_action_trunc. */ |
| 836 | OVS_ACTION_ATTR_PUSH_ETH, /* struct ovs_action_push_eth. */ | 870 | OVS_ACTION_ATTR_PUSH_ETH, /* struct ovs_action_push_eth. */ |
| 837 | OVS_ACTION_ATTR_POP_ETH, /* No argument. */ | 871 | OVS_ACTION_ATTR_POP_ETH, /* No argument. */ |
| 872 | OVS_ACTION_ATTR_CT_CLEAR, /* No argument. */ | ||
| 873 | OVS_ACTION_ATTR_PUSH_NSH, /* Nested OVS_NSH_KEY_ATTR_*. */ | ||
| 874 | OVS_ACTION_ATTR_POP_NSH, /* No argument. */ | ||
| 875 | OVS_ACTION_ATTR_METER, /* u32 meter ID. */ | ||
| 838 | 876 | ||
| 839 | __OVS_ACTION_ATTR_MAX, /* Nothing past this will be accepted | 877 | __OVS_ACTION_ATTR_MAX, /* Nothing past this will be accepted |
| 840 | * from userspace. */ | 878 | * from userspace. */ |
| @@ -848,4 +886,55 @@ enum ovs_action_attr { · 7 unmodified lines | |||
| 848 | 886 | ||
| 849 | #define OVS_ACTION_ATTR_MAX (__OVS_ACTION_ATTR_MAX - 1) | 887 | #define OVS_ACTION_ATTR_MAX (__OVS_ACTION_ATTR_MAX - 1) |
| 850 | 888 | ||
| 889 | /* Meters. */ | ||
| 890 | #define OVS_METER_FAMILY "ovs_meter" | ||
| 891 | #define OVS_METER_MCGROUP "ovs_meter" | ||
| 892 | #define OVS_METER_VERSION 0x1 | ||
| 893 | |||
| 894 | enum ovs_meter_cmd { | ||
| 895 | OVS_METER_CMD_UNSPEC, | ||
| 896 | OVS_METER_CMD_FEATURES, /* Get features supported by the datapath. */ | ||
| 897 | OVS_METER_CMD_SET, /* Add or modify a meter. */ | ||
| 898 | OVS_METER_CMD_DEL, /* Delete a meter. */ | ||
| 899 | OVS_METER_CMD_GET /* Get meter stats. */ | ||
| 900 | }; | ||
| 901 | |||
| 902 | enum ovs_meter_attr { | ||
| 903 | OVS_METER_ATTR_UNSPEC, | ||
| 904 | OVS_METER_ATTR_ID, /* u32 meter ID within datapath. */ | ||
| 905 | OVS_METER_ATTR_KBPS, /* No argument. If set, units in kilobits | ||
| 906 | * per second. Otherwise, units in | ||
| 907 | * packets per second. | ||
| 908 | */ | ||
| 909 | OVS_METER_ATTR_STATS, /* struct ovs_flow_stats for the meter. */ | ||
| 910 | OVS_METER_ATTR_BANDS, /* Nested attributes for meter bands. */ | ||
| 911 | OVS_METER_ATTR_USED, /* u64 msecs last used in monotonic time. */ | ||
| 912 | OVS_METER_ATTR_CLEAR, /* Flag to clear stats, used. */ | ||
| 913 | OVS_METER_ATTR_MAX_METERS, /* u32 number of meters supported. */ | ||
| 914 | OVS_METER_ATTR_MAX_BANDS, /* u32 max number of bands per meter. */ | ||
| 915 | OVS_METER_ATTR_PAD, | ||
| 916 | __OVS_METER_ATTR_MAX | ||
| 917 | }; | ||
| 918 | |||
| 919 | #define OVS_METER_ATTR_MAX (__OVS_METER_ATTR_MAX - 1) | ||
| 920 | |||
| 921 | enum ovs_band_attr { | ||
| 922 | OVS_BAND_ATTR_UNSPEC, | ||
| 923 | OVS_BAND_ATTR_TYPE, /* u32 OVS_METER_BAND_TYPE_* constant. */ | ||
| 924 | OVS_BAND_ATTR_RATE, /* u32 band rate in meter units (see above). */ | ||
| 925 | OVS_BAND_ATTR_BURST, /* u32 burst size in meter units. */ | ||
| 926 | OVS_BAND_ATTR_STATS, /* struct ovs_flow_stats for the band. */ | ||
| 927 | __OVS_BAND_ATTR_MAX | ||
| 928 | }; | ||
| 929 | |||
| 930 | #define OVS_BAND_ATTR_MAX (__OVS_BAND_ATTR_MAX - 1) | ||
| 931 | |||
| 932 | enum ovs_meter_band_type { | ||
| 933 | OVS_METER_BAND_TYPE_UNSPEC, | ||
| 934 | OVS_METER_BAND_TYPE_DROP, /* Drop exceeding packets. */ | ||
| 935 | __OVS_METER_BAND_TYPE_MAX | ||
| 936 | }; | ||
| 937 | |||
| 938 | #define OVS_METER_BAND_TYPE_MAX (__OVS_METER_BAND_TYPE_MAX - 1) | ||
| 939 | |||
| 851 | #endif /* _LINUX_OPENVSWITCH_H */ | 940 | #endif /* _LINUX_OPENVSWITCH_H */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __PACKET_DIAG_H__ | 2 | #ifndef __PACKET_DIAG_H__ |
| 2 | #define __PACKET_DIAG_H__ | 3 | #define __PACKET_DIAG_H__ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _LINUX_PARAM_H | 2 | #ifndef _LINUX_PARAM_H |
| 2 | #define _LINUX_PARAM_H | 3 | #define _LINUX_PARAM_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * <linux/patchkey.h> -- definition of _PATCHKEY macro | 3 | * <linux/patchkey.h> -- definition of _PATCHKEY macro |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * pci.h | 3 | * pci.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * pci_regs.h | 3 | * pci_regs.h |
| 3 | * | 4 | * |
| @@ -746,6 +747,7 @@ · 742 unmodified lines | |||
| 746 | #define PCI_ERR_ROOT_FIRST_FATAL 0x00000010 /* First UNC is Fatal */ | 747 | #define PCI_ERR_ROOT_FIRST_FATAL 0x00000010 /* First UNC is Fatal */ |
| 747 | #define PCI_ERR_ROOT_NONFATAL_RCV 0x00000020 /* Non-Fatal Received */ | 748 | #define PCI_ERR_ROOT_NONFATAL_RCV 0x00000020 /* Non-Fatal Received */ |
| 748 | #define PCI_ERR_ROOT_FATAL_RCV 0x00000040 /* Fatal Received */ | 749 | #define PCI_ERR_ROOT_FATAL_RCV 0x00000040 /* Fatal Received */ |
| 750 | #define PCI_ERR_ROOT_AER_IRQ 0xf8000000 /* Advanced Error Interrupt Message Number */ | ||
| 749 | #define PCI_ERR_ROOT_ERR_SRC 52 /* Error Source Identification */ | 751 | #define PCI_ERR_ROOT_ERR_SRC 52 /* Error Source Identification */ |
| 750 | 752 | ||
| 751 | /* Virtual Channel */ | 753 | /* Virtual Channel */ |
| @@ -939,9 +941,13 @@ · 187 unmodified lines | |||
| 939 | #define PCI_SATA_SIZEOF_LONG 16 | 941 | #define PCI_SATA_SIZEOF_LONG 16 |
| 940 | 942 | ||
| 941 | /* Resizable BARs */ | 943 | /* Resizable BARs */ |
| 944 | #define PCI_REBAR_CAP 4 /* capability register */ | ||
| 945 | #define PCI_REBAR_CAP_SIZES 0x00FFFFF0 /* supported BAR sizes */ | ||
| 942 | #define PCI_REBAR_CTRL 8 /* control register */ | 946 | #define PCI_REBAR_CTRL 8 /* control register */ |
| 943 | #define PCI_REBAR_CTRL_NBAR_MASK (7 << 5) /* mask for # bars */ | 947 | #define PCI_REBAR_CTRL_BAR_IDX 0x00000007 /* BAR index */ |
| 944 | #define PCI_REBAR_CTRL_NBAR_SHIFT 5 /* shift for # bars */ | 948 | #define PCI_REBAR_CTRL_NBAR_MASK 0x000000E0 /* # of resizable BARs */ |
| 949 | #define PCI_REBAR_CTRL_NBAR_SHIFT 5 /* shift for # of BARs */ | ||
| 950 | #define PCI_REBAR_CTRL_BAR_SIZE 0x00001F00 /* BAR size */ | ||
| 945 | 951 | ||
| 946 | /* Dynamic Power Allocation */ | 952 | /* Dynamic Power Allocation */ |
| 947 | #define PCI_DPA_CAP 4 /* capability register */ | 953 | #define PCI_DPA_CAP 4 /* capability register */ |
| @@ -960,6 +966,7 @@ · 12 unmodified lines | |||
| 960 | 966 | ||
| 961 | /* Downstream Port Containment */ | 967 | /* Downstream Port Containment */ |
| 962 | #define PCI_EXP_DPC_CAP 4 /* DPC Capability */ | 968 | #define PCI_EXP_DPC_CAP 4 /* DPC Capability */ |
| 969 | #define PCI_EXP_DPC_IRQ 0x1f /* DPC Interrupt Message Number */ | ||
| 963 | #define PCI_EXP_DPC_CAP_RP_EXT 0x20 /* Root Port Extensions for DPC */ | 970 | #define PCI_EXP_DPC_CAP_RP_EXT 0x20 /* Root Port Extensions for DPC */ |
| 964 | #define PCI_EXP_DPC_CAP_POISONED_TLP 0x40 /* Poisoned TLP Egress Blocking Supported */ | 971 | #define PCI_EXP_DPC_CAP_POISONED_TLP 0x40 /* Poisoned TLP Egress Blocking Supported */ |
| 965 | #define PCI_EXP_DPC_CAP_SW_TRIGGER 0x80 /* Software Triggering Supported */ | 972 | #define PCI_EXP_DPC_CAP_SW_TRIGGER 0x80 /* Software Triggering Supported */ |
| @@ -995,19 +1002,25 @@ · 29 unmodified lines | |||
| 995 | #define PCI_PTM_CTRL_ENABLE 0x00000001 /* PTM enable */ | 1002 | #define PCI_PTM_CTRL_ENABLE 0x00000001 /* PTM enable */ |
| 996 | #define PCI_PTM_CTRL_ROOT 0x00000002 /* Root select */ | 1003 | #define PCI_PTM_CTRL_ROOT 0x00000002 /* Root select */ |
| 997 | 1004 | ||
| 998 | /* L1 PM Substates */ | 1005 | /* ASPM L1 PM Substates */ |
| 999 | #define PCI_L1SS_CAP 4 /* capability register */ | 1006 | #define PCI_L1SS_CAP 0x04 /* Capabilities Register */ |
| 1000 | #define PCI_L1SS_CAP_PCIPM_L1_2 1 /* PCI PM L1.2 Support */ | 1007 | #define PCI_L1SS_CAP_PCIPM_L1_2 0x00000001 /* PCI-PM L1.2 Supported */ |
| 1001 | #define PCI_L1SS_CAP_PCIPM_L1_1 2 /* PCI PM L1.1 Support */ | 1008 | #define PCI_L1SS_CAP_PCIPM_L1_1 0x00000002 /* PCI-PM L1.1 Supported */ |
| 1002 | #define PCI_L1SS_CAP_ASPM_L1_2 4 /* ASPM L1.2 Support */ | 1009 | #define PCI_L1SS_CAP_ASPM_L1_2 0x00000004 /* ASPM L1.2 Supported */ |
| 1003 | #define PCI_L1SS_CAP_ASPM_L1_1 8 /* ASPM L1.1 Support */ | 1010 | #define PCI_L1SS_CAP_ASPM_L1_1 0x00000008 /* ASPM L1.1 Supported */ |
| 1004 | #define PCI_L1SS_CAP_L1_PM_SS 16 /* L1 PM Substates Support */ | 1011 | #define PCI_L1SS_CAP_L1_PM_SS 0x00000010 /* L1 PM Substates Supported */ |
| 1005 | #define PCI_L1SS_CTL1 8 /* Control Register 1 */ | 1012 | #define PCI_L1SS_CAP_CM_RESTORE_TIME 0x0000ff00 /* Port Common_Mode_Restore_Time */ |
| 1006 | #define PCI_L1SS_CTL1_PCIPM_L1_2 1 /* PCI PM L1.2 Enable */ | 1013 | #define PCI_L1SS_CAP_P_PWR_ON_SCALE 0x00030000 /* Port T_POWER_ON scale */ |
| 1007 | #define PCI_L1SS_CTL1_PCIPM_L1_1 2 /* PCI PM L1.1 Support */ | 1014 | #define PCI_L1SS_CAP_P_PWR_ON_VALUE 0x00f80000 /* Port T_POWER_ON value */ |
| 1008 | #define PCI_L1SS_CTL1_ASPM_L1_2 4 /* ASPM L1.2 Support */ | 1015 | #define PCI_L1SS_CTL1 0x08 /* Control 1 Register */ |
| 1009 | #define PCI_L1SS_CTL1_ASPM_L1_1 8 /* ASPM L1.1 Support */ | 1016 | #define PCI_L1SS_CTL1_PCIPM_L1_2 0x00000001 /* PCI-PM L1.2 Enable */ |
| 1010 | #define PCI_L1SS_CTL1_L1SS_MASK 0x0000000F | 1017 | #define PCI_L1SS_CTL1_PCIPM_L1_1 0x00000002 /* PCI-PM L1.1 Enable */ |
| 1011 | #define PCI_L1SS_CTL2 0xC /* Control Register 2 */ | 1018 | #define PCI_L1SS_CTL1_ASPM_L1_2 0x00000004 /* ASPM L1.2 Enable */ |
| 1019 | #define PCI_L1SS_CTL1_ASPM_L1_1 0x00000008 /* ASPM L1.1 Enable */ | ||
| 1020 | #define PCI_L1SS_CTL1_L1SS_MASK 0x0000000f | ||
| 1021 | #define PCI_L1SS_CTL1_CM_RESTORE_TIME 0x0000ff00 /* Common_Mode_Restore_Time */ | ||
| 1022 | #define PCI_L1SS_CTL1_LTR_L12_TH_VALUE 0x03ff0000 /* LTR_L1.2_THRESHOLD_Value */ | ||
| 1023 | #define PCI_L1SS_CTL1_LTR_L12_TH_SCALE 0xe0000000 /* LTR_L1.2_THRESHOLD_Scale */ | ||
| 1024 | #define PCI_L1SS_CTL2 0x0c /* Control 2 Register */ | ||
| 1012 | 1025 | ||
| 1013 | #endif /* LINUX_PCI_REGS_H */ | 1026 | #endif /* LINUX_PCI_REGS_H */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /** | 2 | /** |
| 2 | * pcitest.h - PCI test uapi defines | 3 | * pcitest.h - PCI test uapi defines |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Performance events: | 3 | * Performance events: |
| 3 | * | 4 | * |
| @@ -941,6 +942,7 @@ enum perf_callchain_context { · 937 unmodified lines | |||
| 941 | #define PERF_AUX_FLAG_TRUNCATED 0x01 /* record was truncated to fit */ | 942 | #define PERF_AUX_FLAG_TRUNCATED 0x01 /* record was truncated to fit */ |
| 942 | #define PERF_AUX_FLAG_OVERWRITE 0x02 /* snapshot from overwrite mode */ | 943 | #define PERF_AUX_FLAG_OVERWRITE 0x02 /* snapshot from overwrite mode */ |
| 943 | #define PERF_AUX_FLAG_PARTIAL 0x04 /* record contains gaps */ | 944 | #define PERF_AUX_FLAG_PARTIAL 0x04 /* record contains gaps */ |
| 945 | #define PERF_AUX_FLAG_COLLISION 0x08 /* sample collided with another */ | ||
| 944 | 946 | ||
| 945 | #define PERF_FLAG_FD_NO_GROUP (1UL << 0) | 947 | #define PERF_FLAG_FD_NO_GROUP (1UL << 0) |
| 946 | #define PERF_FLAG_FD_OUTPUT (1UL << 1) | 948 | #define PERF_FLAG_FD_OUTPUT (1UL << 1) |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_PERSONALITY_H | 2 | #ifndef _UAPI_LINUX_PERSONALITY_H |
| 2 | #define _UAPI_LINUX_PERSONALITY_H | 3 | #define _UAPI_LINUX_PERSONALITY_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* PF_KEY user interface, this is defined by rfc2367 so | 2 | /* PF_KEY user interface, this is defined by rfc2367 so |
| 2 | * do not make arbitrary modifications or else this header | 3 | * do not make arbitrary modifications or else this header |
| 3 | * file will not be compliant. | 4 | * file will not be compliant. |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */ | ||
| 1 | /* pg.h (c) 1998 Grant R. Guenther <grant@torque.net> | 2 | /* pg.h (c) 1998 Grant R. Guenther <grant@torque.net> |
| 2 | Under the terms of the GNU General Public License | 3 | Under the terms of the GNU General Public License |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2005-2007 Jiri Slaby <jirislaby@gmail.com> | 3 | * Copyright (C) 2005-2007 Jiri Slaby <jirislaby@gmail.com> |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /** | 2 | /** |
| 2 | * file phonet.h | 3 | * file phonet.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_PKT_CLS_H | 2 | #ifndef __LINUX_PKT_CLS_H |
| 2 | #define __LINUX_PKT_CLS_H | 3 | #define __LINUX_PKT_CLS_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_PKT_SCHED_H | 2 | #ifndef __LINUX_PKT_SCHED_H |
| 2 | #define __LINUX_PKT_SCHED_H | 3 | #define __LINUX_PKT_SCHED_H |
| 3 | 4 | ||
| @@ -74,6 +75,7 @@ struct tc_estimator { · 70 unmodified lines | |||
| 74 | #define TC_H_INGRESS (0xFFFFFFF1U) | 75 | #define TC_H_INGRESS (0xFFFFFFF1U) |
| 75 | #define TC_H_CLSACT TC_H_INGRESS | 76 | #define TC_H_CLSACT TC_H_INGRESS |
| 76 | 77 | ||
| 78 | #define TC_H_MIN_PRIORITY 0xFFE0U | ||
| 77 | #define TC_H_MIN_INGRESS 0xFFF2U | 79 | #define TC_H_MIN_INGRESS 0xFFF2U |
| 78 | #define TC_H_MIN_EGRESS 0xFFF3U | 80 | #define TC_H_MIN_EGRESS 0xFFF3U |
| 79 | 81 | ||
| @@ -254,6 +256,7 @@ struct tc_red_qopt { · 174 unmodified lines | |||
| 254 | #define TC_RED_ECN 1 | 256 | #define TC_RED_ECN 1 |
| 255 | #define TC_RED_HARDDROP 2 | 257 | #define TC_RED_HARDDROP 2 |
| 256 | #define TC_RED_ADAPTATIVE 4 | 258 | #define TC_RED_ADAPTATIVE 4 |
| 259 | #define TC_RED_OFFLOADED 8 | ||
| 257 | }; | 260 | }; |
| 258 | 261 | ||
| 259 | struct tc_red_xstats { | 262 | struct tc_red_xstats { |
| @@ -534,6 +537,9 @@ enum { · 274 unmodified lines | |||
| 534 | TCA_NETEM_ECN, | 537 | TCA_NETEM_ECN, |
| 535 | TCA_NETEM_RATE64, | 538 | TCA_NETEM_RATE64, |
| 536 | TCA_NETEM_PAD, | 539 | TCA_NETEM_PAD, |
| 540 | TCA_NETEM_LATENCY64, | ||
| 541 | TCA_NETEM_JITTER64, | ||
| 542 | TCA_NETEM_SLOT, | ||
| 537 | __TCA_NETEM_MAX, | 543 | __TCA_NETEM_MAX, |
| 538 | }; | 544 | }; |
| 539 | 545 | ||
| @@ -571,6 +577,13 @@ struct tc_netem_rate { · 31 unmodified lines | |||
| 571 | __s32 cell_overhead; | 577 | __s32 cell_overhead; |
| 572 | }; | 578 | }; |
| 573 | 579 | ||
| 580 | struct tc_netem_slot { | ||
| 581 | __s64 min_delay; /* nsec */ | ||
| 582 | __s64 max_delay; | ||
| 583 | __s32 max_packets; | ||
| 584 | __s32 max_bytes; | ||
| 585 | }; | ||
| 586 | |||
| 574 | enum { | 587 | enum { |
| 575 | NETEM_LOSS_UNSPEC, | 588 | NETEM_LOSS_UNSPEC, |
| 576 | NETEM_LOSS_GI, /* General Intuitive - 4 state model */ | 589 | NETEM_LOSS_GI, /* General Intuitive - 4 state model */ |
| @@ -625,6 +638,22 @@ enum { · 48 unmodified lines | |||
| 625 | 638 | ||
| 626 | #define TC_MQPRIO_HW_OFFLOAD_MAX (__TC_MQPRIO_HW_OFFLOAD_MAX - 1) | 639 | #define TC_MQPRIO_HW_OFFLOAD_MAX (__TC_MQPRIO_HW_OFFLOAD_MAX - 1) |
| 627 | 640 | ||
| 641 | enum { | ||
| 642 | TC_MQPRIO_MODE_DCB, | ||
| 643 | TC_MQPRIO_MODE_CHANNEL, | ||
| 644 | __TC_MQPRIO_MODE_MAX | ||
| 645 | }; | ||
| 646 | |||
| 647 | #define __TC_MQPRIO_MODE_MAX (__TC_MQPRIO_MODE_MAX - 1) | ||
| 648 | |||
| 649 | enum { | ||
| 650 | TC_MQPRIO_SHAPER_DCB, | ||
| 651 | TC_MQPRIO_SHAPER_BW_RATE, /* Add new shapers below */ | ||
| 652 | __TC_MQPRIO_SHAPER_MAX | ||
| 653 | }; | ||
| 654 | |||
| 655 | #define __TC_MQPRIO_SHAPER_MAX (__TC_MQPRIO_SHAPER_MAX - 1) | ||
| 656 | |||
| 628 | struct tc_mqprio_qopt { | 657 | struct tc_mqprio_qopt { |
| 629 | __u8 num_tc; | 658 | __u8 num_tc; |
| 630 | __u8 prio_tc_map[TC_QOPT_BITMASK + 1]; | 659 | __u8 prio_tc_map[TC_QOPT_BITMASK + 1]; |
| @@ -633,6 +662,22 @@ struct tc_mqprio_qopt { · 2 unmodified lines | |||
| 633 | __u16 offset[TC_QOPT_MAX_QUEUE]; | 662 | __u16 offset[TC_QOPT_MAX_QUEUE]; |
| 634 | }; | 663 | }; |
| 635 | 664 | ||
| 665 | #define TC_MQPRIO_F_MODE 0x1 | ||
| 666 | #define TC_MQPRIO_F_SHAPER 0x2 | ||
| 667 | #define TC_MQPRIO_F_MIN_RATE 0x4 | ||
| 668 | #define TC_MQPRIO_F_MAX_RATE 0x8 | ||
| 669 | |||
| 670 | enum { | ||
| 671 | TCA_MQPRIO_UNSPEC, | ||
| 672 | TCA_MQPRIO_MODE, | ||
| 673 | TCA_MQPRIO_SHAPER, | ||
| 674 | TCA_MQPRIO_MIN_RATE64, | ||
| 675 | TCA_MQPRIO_MAX_RATE64, | ||
| 676 | __TCA_MQPRIO_MAX, | ||
| 677 | }; | ||
| 678 | |||
| 679 | #define TCA_MQPRIO_MAX (__TCA_MQPRIO_MAX - 1) | ||
| 680 | |||
| 636 | /* SFB */ | 681 | /* SFB */ |
| 637 | 682 | ||
| 638 | enum { | 683 | enum { |
| @@ -871,4 +916,23 @@ struct tc_pie_xstats { · 232 unmodified lines | |||
| 871 | __u32 maxq; /* maximum queue size */ | 916 | __u32 maxq; /* maximum queue size */ |
| 872 | __u32 ecn_mark; /* packets marked with ecn*/ | 917 | __u32 ecn_mark; /* packets marked with ecn*/ |
| 873 | }; | 918 | }; |
| 919 | |||
| 920 | /* CBS */ | ||
| 921 | struct tc_cbs_qopt { | ||
| 922 | __u8 offload; | ||
| 923 | __u8 _pad[3]; | ||
| 924 | __s32 hicredit; | ||
| 925 | __s32 locredit; | ||
| 926 | __s32 idleslope; | ||
| 927 | __s32 sendslope; | ||
| 928 | }; | ||
| 929 | |||
| 930 | enum { | ||
| 931 | TCA_CBS_UNSPEC, | ||
| 932 | TCA_CBS_PARMS, | ||
| 933 | __TCA_CBS_MAX, | ||
| 934 | }; | ||
| 935 | |||
| 936 | #define TCA_CBS_MAX (__TCA_CBS_MAX - 1) | ||
| 937 | |||
| 874 | #endif | 938 | #endif |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2000 Jens Axboe <axboe@suse.de> | 3 | * Copyright (C) 2000 Jens Axboe <axboe@suse.de> |
| 3 | * Copyright (C) 2001-2004 Peter Osterlund <petero2@telia.com> | 4 | * Copyright (C) 2001-2004 Peter Osterlund <petero2@telia.com> |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Definitions for talking to the PMU. The PMU is a microcontroller | 3 | * Definitions for talking to the PMU. The PMU is a microcontroller |
| 3 | * which controls battery charging and system power on PowerBook 3400 | 4 | * which controls battery charging and system power on PowerBook 3400 |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2002 Andreas Gruenbacher <a.gruenbacher@computer.org> | 3 | * Copyright (C) 2002 Andreas Gruenbacher <a.gruenbacher@computer.org> |
| 3 | * Copyright (C) 2016 Red Hat, Inc. | 4 | * Copyright (C) 2016 Red Hat, Inc. |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2002 Andreas Gruenbacher <a.gruenbacher@computer.org> | 3 | * Copyright (C) 2002 Andreas Gruenbacher <a.gruenbacher@computer.org> |
| 3 | * Copyright (C) 2016 Red Hat, Inc. | 4 | * Copyright (C) 2016 Red Hat, Inc. |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _LINUX_POSIX_TYPES_H | 2 | #ifndef _LINUX_POSIX_TYPES_H |
| 2 | #define _LINUX_POSIX_TYPES_H | 3 | #define _LINUX_POSIX_TYPES_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * linux/include/linux/ppdev.h | 3 | * linux/include/linux/ppdev.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * ppp-comp.h - Definitions for doing PPP packet compression. | 3 | * ppp-comp.h - Definitions for doing PPP packet compression. |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * ppp-ioctl.h - PPP ioctl definitions. | 3 | * ppp-ioctl.h - PPP ioctl definitions. |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * ppp_defs.h - PPP definitions. | 3 | * ppp_defs.h - PPP definitions. |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * PPS API header | 3 | * PPS API header |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_PR_H | 2 | #ifndef _UAPI_PR_H |
| 2 | #define _UAPI_PR_H | 3 | #define _UAPI_PR_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _LINUX_PRCTL_H | 2 | #ifndef _LINUX_PRCTL_H |
| 2 | #define _LINUX_PRCTL_H | 3 | #define _LINUX_PRCTL_H |
| 3 | 4 | ||
| @@ -197,4 +198,13 @@ struct prctl_mm_map { · 193 unmodified lines | |||
| 197 | # define PR_CAP_AMBIENT_LOWER 3 | 198 | # define PR_CAP_AMBIENT_LOWER 3 |
| 198 | # define PR_CAP_AMBIENT_CLEAR_ALL 4 | 199 | # define PR_CAP_AMBIENT_CLEAR_ALL 4 |
| 199 | 200 | ||
| 201 | /* arm64 Scalable Vector Extension controls */ | ||
| 202 | /* Flag values must be kept in sync with ptrace NT_ARM_SVE interface */ | ||
| 203 | #define PR_SVE_SET_VL 50 /* set task vector length */ | ||
| 204 | # define PR_SVE_SET_VL_ONEXEC (1 << 18) /* defer effect until exec */ | ||
| 205 | #define PR_SVE_GET_VL 51 /* get task vector length */ | ||
| 206 | /* Bits common to PR_SVE_SET_VL and PR_SVE_GET_VL */ | ||
| 207 | # define PR_SVE_VL_LEN_MASK 0xffff | ||
| 208 | # define PR_SVE_VL_INHERIT (1 << 17) /* inherit across exec */ | ||
| 209 | |||
| 200 | #endif /* _LINUX_PRCTL_H */ | 210 | #endif /* _LINUX_PRCTL_H */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __UAPI_PSAMPLE_H | 2 | #ifndef __UAPI_PSAMPLE_H |
| 2 | #define __UAPI_PSAMPLE_H | 3 | #define __UAPI_PSAMPLE_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * ARM Power State and Coordination Interface (PSCI) header | 3 | * ARM Power State and Coordination Interface (PSCI) header |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * PTP 1588 clock support - user space interface | 3 | * PTP 1588 clock support - user space interface |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_PTRACE_H | 2 | #ifndef _UAPI_LINUX_PTRACE_H |
| 2 | #define _UAPI_LINUX_PTRACE_H | 3 | #define _UAPI_LINUX_PTRACE_H |
| 3 | /* ptrace.h */ | 4 | /* ptrace.h */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Name : qnx4_fs.h | 3 | * Name : qnx4_fs.h |
| 3 | * Author : Richard Frowijn | 4 | * Author : Richard Frowijn |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Name : qnxtypes.h | 3 | * Name : qnxtypes.h |
| 3 | * Author : Richard Frowijn | 4 | * Author : Richard Frowijn |
| @@ -1,13 +1,49 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _LINUX_QRTR_H | 2 | #ifndef _LINUX_QRTR_H |
| 2 | #define _LINUX_QRTR_H | 3 | #define _LINUX_QRTR_H |
| 3 | 4 | ||
| 4 | #include <linux/socket.h> | 5 | #include <linux/socket.h> |
| 5 | #include <linux/types.h> | 6 | #include <linux/types.h> |
| 6 | 7 | ||
| 8 | #define QRTR_NODE_BCAST 0xffffffffu | ||
| 9 | #define QRTR_PORT_CTRL 0xfffffffeu | ||
| 10 | |||
| 7 | struct sockaddr_qrtr { | 11 | struct sockaddr_qrtr { |
| 8 | __kernel_sa_family_t sq_family; | 12 | __kernel_sa_family_t sq_family; |
| 9 | __u32 sq_node; | 13 | __u32 sq_node; |
| 10 | __u32 sq_port; | 14 | __u32 sq_port; |
| 11 | }; | 15 | }; |
| 12 | 16 | ||
| 17 | enum qrtr_pkt_type { | ||
| 18 | QRTR_TYPE_DATA = 1, | ||
| 19 | QRTR_TYPE_HELLO = 2, | ||
| 20 | QRTR_TYPE_BYE = 3, | ||
| 21 | QRTR_TYPE_NEW_SERVER = 4, | ||
| 22 | QRTR_TYPE_DEL_SERVER = 5, | ||
| 23 | QRTR_TYPE_DEL_CLIENT = 6, | ||
| 24 | QRTR_TYPE_RESUME_TX = 7, | ||
| 25 | QRTR_TYPE_EXIT = 8, | ||
| 26 | QRTR_TYPE_PING = 9, | ||
| 27 | QRTR_TYPE_NEW_LOOKUP = 10, | ||
| 28 | QRTR_TYPE_DEL_LOOKUP = 11, | ||
| 29 | }; | ||
| 30 | |||
| 31 | struct qrtr_ctrl_pkt { | ||
| 32 | __le32 cmd; | ||
| 33 | |||
| 34 | union { | ||
| 35 | struct { | ||
| 36 | __le32 service; | ||
| 37 | __le32 instance; | ||
| 38 | __le32 node; | ||
| 39 | __le32 port; | ||
| 40 | } server; | ||
| 41 | |||
| 42 | struct { | ||
| 43 | __le32 node; | ||
| 44 | __le32 port; | ||
| 45 | } client; | ||
| 46 | }; | ||
| 47 | } __packed; | ||
| 48 | |||
| 13 | #endif /* _LINUX_QRTR_H */ | 49 | #endif /* _LINUX_QRTR_H */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_RADEONFB_H__ | 2 | #ifndef __LINUX_RADEONFB_H__ |
| 2 | #define __LINUX_RADEONFB_H__ | 3 | #define __LINUX_RADEONFB_H__ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | md_p.h : physical layout of Linux RAID devices | 3 | md_p.h : physical layout of Linux RAID devices |
| 3 | Copyright (C) 1996-98 Ingo Molnar, Gadi Oxman | 4 | Copyright (C) 1996-98 Ingo Molnar, Gadi Oxman |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | md_u.h : user <=> kernel API between Linux raidtools and RAID drivers | 3 | md_u.h : user <=> kernel API between Linux raidtools and RAID drivers |
| 3 | Copyright (C) 1998 Ingo Molnar | 4 | Copyright (C) 1998 Ingo Molnar |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * include/linux/random.h | 3 | * include/linux/random.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_RAW_H | 2 | #ifndef __LINUX_RAW_H |
| 2 | #define __LINUX_RAW_H | 3 | #define __LINUX_RAW_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2008 Oracle. All rights reserved. | 3 | * Copyright (c) 2008 Oracle. All rights reserved. |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_REBOOT_H | 2 | #ifndef _UAPI_LINUX_REBOOT_H |
| 2 | #define _UAPI_LINUX_REBOOT_H | 3 | #define _UAPI_LINUX_REBOOT_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 1996, 1997, 1998 Hans Reiser, see reiserfs/README for licensing and copyright details | 3 | * Copyright 1996, 1997, 1998 Hans Reiser, see reiserfs/README for licensing and copyright details |
| 3 | */ | 4 | */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | File: linux/reiserfs_xattr.h | 3 | File: linux/reiserfs_xattr.h |
| 3 | */ | 4 | */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_RESOURCE_H | 2 | #ifndef _UAPI_LINUX_RESOURCE_H |
| 2 | #define _UAPI_LINUX_RESOURCE_H | 3 | #define _UAPI_LINUX_RESOURCE_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2015, Integrated Device Technology Inc. | 3 | * Copyright (c) 2015, Integrated Device Technology Inc. |
| 3 | * Copyright (c) 2015, Prodrive Technologies | 4 | * Copyright (c) 2015, Prodrive Technologies |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2015-2016, Integrated Device Technology Inc. | 3 | * Copyright (c) 2015-2016, Integrated Device Technology Inc. |
| 3 | * Copyright (c) 2015, Prodrive Technologies | 4 | * Copyright (c) 2015, Prodrive Technologies |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_ROMFS_FS_H | 2 | #ifndef __LINUX_ROMFS_FS_H |
| 2 | #define __LINUX_ROMFS_FS_H | 3 | #define __LINUX_ROMFS_FS_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * These are the public elements of the Linux kernel Rose implementation. | 3 | * These are the public elements of the Linux kernel Rose implementation. |
| 3 | * For kernel AX.25 see the file ax25.h. This file requires ax25.h for the | 4 | * For kernel AX.25 see the file ax25.h. This file requires ax25.h for the |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * INET An implementation of the TCP/IP protocol suite for the LINUX | 3 | * INET An implementation of the TCP/IP protocol suite for the LINUX |
| 3 | * operating system. INET is implemented using the BSD Socket | 4 | * operating system. INET is implemented using the BSD Socket |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2016, Linaro Ltd. | 3 | * Copyright (c) 2016, Linaro Ltd. |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Generic RTC interface. | 3 | * Generic RTC interface. |
| 3 | * This version contains the part of the user interface to the Real Time Clock | 4 | * This version contains the part of the user interface to the Real Time Clock |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI__LINUX_RTNETLINK_H | 2 | #ifndef _UAPI__LINUX_RTNETLINK_H |
| 2 | #define _UAPI__LINUX_RTNETLINK_H | 3 | #define _UAPI__LINUX_RTNETLINK_H |
| 3 | 4 | ||
| @@ -430,6 +431,8 @@ enum { · 426 unmodified lines | |||
| 430 | #define RTAX_QUICKACK RTAX_QUICKACK | 431 | #define RTAX_QUICKACK RTAX_QUICKACK |
| 431 | RTAX_CC_ALGO, | 432 | RTAX_CC_ALGO, |
| 432 | #define RTAX_CC_ALGO RTAX_CC_ALGO | 433 | #define RTAX_CC_ALGO RTAX_CC_ALGO |
| 434 | RTAX_FASTOPEN_NO_COOKIE, | ||
| 435 | #define RTAX_FASTOPEN_NO_COOKIE RTAX_FASTOPEN_NO_COOKIE | ||
| 433 | __RTAX_MAX | 436 | __RTAX_MAX |
| 434 | }; | 437 | }; |
| 435 | 438 | ||
| @@ -20,12 +20,12 @@ · 19 unmodified lines | |||
| 20 | * RxRPC socket address | 20 | * RxRPC socket address |
| 21 | */ | 21 | */ |
| 22 | struct sockaddr_rxrpc { | 22 | struct sockaddr_rxrpc { |
| 23 | sa_family_t srx_family; /* address family */ | 23 | __kernel_sa_family_t srx_family; /* address family */ |
| 24 | u16 srx_service; /* service desired */ | 24 | __u16 srx_service; /* service desired */ |
| 25 | u16 transport_type; /* type of transport socket (SOCK_DGRAM) */ | 25 | __u16 transport_type; /* type of transport socket (SOCK_DGRAM) */ |
| 26 | u16 transport_len; /* length of transport address */ | 26 | __u16 transport_len; /* length of transport address */ |
| 27 | union { | 27 | union { |
| 28 | sa_family_t family; /* transport address family */ | 28 | __kernel_sa_family_t family; /* transport address family */ |
| 29 | struct sockaddr_in sin; /* IPv4 transport address */ | 29 | struct sockaddr_in sin; /* IPv4 transport address */ |
| 30 | struct sockaddr_in6 sin6; /* IPv6 transport address */ | 30 | struct sockaddr_in6 sin6; /* IPv6 transport address */ |
| 31 | } transport; | 31 | } transport; |
| @@ -59,6 +59,7 @@ enum rxrpc_cmsg_type { · 27 unmodified lines | |||
| 59 | RXRPC_EXCLUSIVE_CALL = 10, /* s-: Call should be on exclusive connection */ | 59 | RXRPC_EXCLUSIVE_CALL = 10, /* s-: Call should be on exclusive connection */ |
| 60 | RXRPC_UPGRADE_SERVICE = 11, /* s-: Request service upgrade for client call */ | 60 | RXRPC_UPGRADE_SERVICE = 11, /* s-: Request service upgrade for client call */ |
| 61 | RXRPC_TX_LENGTH = 12, /* s-: Total length of Tx data */ | 61 | RXRPC_TX_LENGTH = 12, /* s-: Total length of Tx data */ |
| 62 | RXRPC_SET_CALL_TIMEOUT = 13, /* s-: Set one or more call timeouts */ | ||
| 62 | RXRPC__SUPPORTED | 63 | RXRPC__SUPPORTED |
| 63 | }; | 64 | }; |
| 64 | 65 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* $Id: scc.h,v 1.29 1997/04/02 14:56:45 jreuter Exp jreuter $ */ | 2 | /* $Id: scc.h,v 1.29 1997/04/02 14:56:45 jreuter Exp jreuter $ */ |
| 2 | 3 | ||
| 3 | #ifndef _UAPI_SCC_H | 4 | #ifndef _UAPI_SCC_H |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_SCHED_H | 2 | #ifndef _UAPI_LINUX_SCHED_H |
| 2 | #define _UAPI_LINUX_SCHED_H | 3 | #define _UAPI_LINUX_SCHED_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_SCHED_TYPES_H | 2 | #ifndef _UAPI_LINUX_SCHED_TYPES_H |
| 2 | #define _UAPI_LINUX_SCHED_TYPES_H | 3 | #define _UAPI_LINUX_SCHED_TYPES_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */ | ||
| 1 | /* | 2 | /* |
| 2 | * Intel MIC Platform Software Stack (MPSS) | 3 | * Intel MIC Platform Software Stack (MPSS) |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_SCREEN_INFO_H | 2 | #ifndef _UAPI_SCREEN_INFO_H |
| 2 | #define _UAPI_SCREEN_INFO_H | 3 | #define _UAPI_SCREEN_INFO_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* SCTP kernel implementation | 2 | /* SCTP kernel implementation |
| 2 | * (C) Copyright IBM Corp. 2001, 2004 | 3 | * (C) Copyright IBM Corp. 2001, 2004 |
| 3 | * Copyright (c) 1999-2000 Cisco, Inc. | 4 | * Copyright (c) 1999-2000 Cisco, Inc. |
| @@ -122,6 +123,8 @@ typedef __s32 sctp_assoc_t; · 118 unmodified lines | |||
| 122 | #define SCTP_RESET_ASSOC 120 | 123 | #define SCTP_RESET_ASSOC 120 |
| 123 | #define SCTP_ADD_STREAMS 121 | 124 | #define SCTP_ADD_STREAMS 121 |
| 124 | #define SCTP_SOCKOPT_PEELOFF_FLAGS 122 | 125 | #define SCTP_SOCKOPT_PEELOFF_FLAGS 122 |
| 126 | #define SCTP_STREAM_SCHEDULER 123 | ||
| 127 | #define SCTP_STREAM_SCHEDULER_VALUE 124 | ||
| 125 | 128 | ||
| 126 | /* PR-SCTP policies */ | 129 | /* PR-SCTP policies */ |
| 127 | #define SCTP_PR_SCTP_NONE 0x0000 | 130 | #define SCTP_PR_SCTP_NONE 0x0000 |
| @@ -814,6 +817,12 @@ struct sctp_assoc_value { · 686 unmodified lines | |||
| 814 | uint32_t assoc_value; | 817 | uint32_t assoc_value; |
| 815 | }; | 818 | }; |
| 816 | 819 | ||
| 820 | struct sctp_stream_value { | ||
| 821 | sctp_assoc_t assoc_id; | ||
| 822 | uint16_t stream_id; | ||
| 823 | uint16_t stream_value; | ||
| 824 | }; | ||
| 825 | |||
| 817 | /* | 826 | /* |
| 818 | * 7.2.2 Peer Address Information | 827 | * 7.2.2 Peer Address Information |
| 819 | * | 828 | * |
| @@ -1088,4 +1097,12 @@ struct sctp_add_streams { · 268 unmodified lines | |||
| 1088 | uint16_t sas_outstrms; | 1097 | uint16_t sas_outstrms; |
| 1089 | }; | 1098 | }; |
| 1090 | 1099 | ||
| 1100 | /* SCTP Stream schedulers */ | ||
| 1101 | enum sctp_sched_type { | ||
| 1102 | SCTP_SS_FCFS, | ||
| 1103 | SCTP_SS_PRIO, | ||
| 1104 | SCTP_SS_RR, | ||
| 1105 | SCTP_SS_MAX = SCTP_SS_RR | ||
| 1106 | }; | ||
| 1107 | |||
| 1091 | #endif /* _UAPI_SCTP_H */ | 1108 | #endif /* _UAPI_SCTP_H */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * INET An implementation of the TCP/IP protocol suite for the LINUX | 3 | * INET An implementation of the TCP/IP protocol suite for the LINUX |
| 3 | * operating system. INET is implemented using the BSD Socket | 4 | * operating system. INET is implemented using the BSD Socket |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_SECCOMP_H | 2 | #ifndef _UAPI_LINUX_SECCOMP_H |
| 2 | #define _UAPI_LINUX_SECCOMP_H | 3 | #define _UAPI_LINUX_SECCOMP_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_SECUREBITS_H | 2 | #ifndef _UAPI_LINUX_SECUREBITS_H |
| 2 | #define _UAPI_LINUX_SECUREBITS_H | 3 | #define _UAPI_LINUX_SECUREBITS_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright © 2016 Intel Corporation | 3 | * Copyright © 2016 Intel Corporation |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * SR-IPv6 implementation | 3 | * SR-IPv6 implementation |
| 3 | * | 4 | * |
| @@ -25,9 +26,9 @@ struct ipv6_sr_hdr { · 21 unmodified lines | |||
| 25 | __u8 hdrlen; | 26 | __u8 hdrlen; |
| 26 | __u8 type; | 27 | __u8 type; |
| 27 | __u8 segments_left; | 28 | __u8 segments_left; |
| 28 | __u8 first_segment; | 29 | __u8 first_segment; /* Represents the last_entry field of SRH */ |
| 29 | __u8 flags; | 30 | __u8 flags; |
| 30 | __u16 reserved; | 31 | __u16 tag; |
| 31 | 32 | ||
| 32 | struct in6_addr segments[0]; | 33 | struct in6_addr segments[0]; |
| 33 | }; | 34 | }; |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_SEG6_GENL_H | 2 | #ifndef _UAPI_LINUX_SEG6_GENL_H |
| 2 | #define _UAPI_LINUX_SEG6_GENL_H | 3 | #define _UAPI_LINUX_SEG6_GENL_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_SEG6_HMAC_H | 2 | #ifndef _UAPI_LINUX_SEG6_HMAC_H |
| 2 | #define _UAPI_LINUX_SEG6_HMAC_H | 3 | #define _UAPI_LINUX_SEG6_HMAC_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * SR-IPv6 implementation | 3 | * SR-IPv6 implementation |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Netlink event notifications for SELinux. | 3 | * Netlink event notifications for SELinux. |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_SEM_H | 2 | #ifndef _UAPI_LINUX_SEM_H |
| 2 | #define _UAPI_LINUX_SEM_H | 3 | #define _UAPI_LINUX_SEM_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * include/linux/serial.h | 3 | * include/linux/serial.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * linux/drivers/char/serial_core.h | 3 | * linux/drivers/char/serial_core.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * include/linux/serial_reg.h | 3 | * include/linux/serial_reg.h |
| 3 | * | 4 | * |
| @@ -157,6 +158,7 @@ · 153 unmodified lines | |||
| 157 | */ | 158 | */ |
| 158 | #define UART_DLL 0 /* Out: Divisor Latch Low */ | 159 | #define UART_DLL 0 /* Out: Divisor Latch Low */ |
| 159 | #define UART_DLM 1 /* Out: Divisor Latch High */ | 160 | #define UART_DLM 1 /* Out: Divisor Latch High */ |
| 161 | #define UART_DIV_MAX 0xFFFF /* Max divisor value */ | ||
| 160 | 162 | ||
| 161 | /* | 163 | /* |
| 162 | * LCR=0xBF (or DLAB=1 for 16C660) | 164 | * LCR=0xBF (or DLAB=1 for 16C660) |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 1999-2002 Vojtech Pavlik | 3 | * Copyright (C) 1999-2002 Vojtech Pavlik |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_SHM_H_ | 2 | #ifndef _UAPI_LINUX_SHM_H_ |
| 2 | #define _UAPI_LINUX_SHM_H_ | 3 | #define _UAPI_LINUX_SHM_H_ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_SIGNAL_H | 2 | #ifndef _UAPI_LINUX_SIGNAL_H |
| 2 | #define _UAPI_LINUX_SIGNAL_H | 3 | #define _UAPI_LINUX_SIGNAL_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * include/linux/signalfd.h | 3 | * include/linux/signalfd.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Shared Memory Communications over RDMA (SMC-R) and RoCE | 3 | * Shared Memory Communications over RDMA (SMC-R) and RoCE |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_SMC_DIAG_H_ | 2 | #ifndef _UAPI_SMC_DIAG_H_ |
| 2 | #define _UAPI_SMC_DIAG_H_ | 3 | #define _UAPI_SMC_DIAG_H_ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * include/uapi/linux/smiapp.h | 3 | * include/uapi/linux/smiapp.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Definitions for MIBs | 3 | * Definitions for MIBs |
| 3 | * | 4 | * |
| @@ -190,7 +191,6 @@ enum · 186 unmodified lines | |||
| 190 | LINUX_MIB_TCPRENORECOVERY, /* TCPRenoRecovery */ | 191 | LINUX_MIB_TCPRENORECOVERY, /* TCPRenoRecovery */ |
| 191 | LINUX_MIB_TCPSACKRECOVERY, /* TCPSackRecovery */ | 192 | LINUX_MIB_TCPSACKRECOVERY, /* TCPSackRecovery */ |
| 192 | LINUX_MIB_TCPSACKRENEGING, /* TCPSACKReneging */ | 193 | LINUX_MIB_TCPSACKRENEGING, /* TCPSACKReneging */ |
| 193 | LINUX_MIB_TCPFACKREORDER, /* TCPFACKReorder */ | ||
| 194 | LINUX_MIB_TCPSACKREORDER, /* TCPSACKReorder */ | 194 | LINUX_MIB_TCPSACKREORDER, /* TCPSACKReorder */ |
| 195 | LINUX_MIB_TCPRENOREORDER, /* TCPRenoReorder */ | 195 | LINUX_MIB_TCPRENOREORDER, /* TCPRenoReorder */ |
| 196 | LINUX_MIB_TCPTSREORDER, /* TCPTSReorder */ | 196 | LINUX_MIB_TCPTSREORDER, /* TCPTSReorder */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI__SOCK_DIAG_H__ | 2 | #ifndef _UAPI__SOCK_DIAG_H__ |
| 2 | #define _UAPI__SOCK_DIAG_H__ | 3 | #define _UAPI__SOCK_DIAG_H__ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_SOCKET_H | 2 | #ifndef _UAPI_LINUX_SOCKET_H |
| 2 | #define _UAPI_LINUX_SOCKET_H | 3 | #define _UAPI_LINUX_SOCKET_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * INET An implementation of the TCP/IP protocol suite for the LINUX | 3 | * INET An implementation of the TCP/IP protocol suite for the LINUX |
| 3 | * operating system. INET is implemented using the BSD Socket | 4 | * operating system. INET is implemented using the BSD Socket |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* sonet.h - SONET/SHD physical layer control */ | 2 | /* sonet.h - SONET/SHD physical layer control */ |
| 2 | 3 | ||
| 3 | /* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */ | 4 | /* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Sony Programmable I/O Control Device driver for VAIO | 3 | * Sony Programmable I/O Control Device driver for VAIO |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_SOUND_H | 2 | #ifndef _UAPI_LINUX_SOUND_H |
| 2 | #define _UAPI_LINUX_SOUND_H | 3 | #define _UAPI_LINUX_SOUND_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * include/linux/spi/spidev.h | 3 | * include/linux/spi/spidev.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_STAT_H | 2 | #ifndef _UAPI_LINUX_STAT_H |
| 2 | #define _UAPI_LINUX_STAT_H | 3 | #define _UAPI_LINUX_STAT_H |
| 3 | 4 | ||
| @@ -1,4 +1,5 @@ | |||
| 1 | #include <linux/compiler.h> | 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
| 2 | #include <linux/compiler_types.h> | ||
| 2 | 3 | ||
| 3 | #ifndef __always_inline | 4 | #ifndef __always_inline |
| 4 | #define __always_inline inline | 5 | #define __always_inline inline |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * System Trace Module (STM) userspace interfaces | 3 | * System Trace Module (STM) userspace interfaces |
| 3 | * Copyright (c) 2014, Intel Corporation. | 4 | * Copyright (c) 2014, Intel Corporation. |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_STRING_H_ | 2 | #ifndef _UAPI_LINUX_STRING_H_ |
| 2 | #define _UAPI_LINUX_STRING_H_ | 3 | #define _UAPI_LINUX_STRING_H_ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * linux/include/linux/sunrpc/debug.h | 3 | * linux/include/linux/sunrpc/debug.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _LINUX_SUSPEND_IOCTLS_H | 2 | #ifndef _LINUX_SUSPEND_IOCTLS_H |
| 2 | #define _LINUX_SUSPEND_IOCTLS_H | 3 | #define _LINUX_SUSPEND_IOCTLS_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_SWAB_H | 2 | #ifndef _UAPI_LINUX_SWAB_H |
| 2 | #define _UAPI_LINUX_SWAB_H | 3 | #define _UAPI_LINUX_SWAB_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Microsemi Switchtec PCIe Driver | 3 | * Microsemi Switchtec PCIe Driver |
| 3 | * Copyright (c) 2017, Microsemi Corporation | 4 | * Copyright (c) 2017, Microsemi Corporation |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2012 Google, Inc. | 3 | * Copyright (C) 2012 Google, Inc. |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * SyncLink Multiprotocol Serial Adapter Driver | 3 | * SyncLink Multiprotocol Serial Adapter Driver |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * sysctl.h: General linux system control interface | 3 | * sysctl.h: General linux system control interface |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _LINUX_SYSINFO_H | 2 | #ifndef _LINUX_SYSINFO_H |
| 2 | #define _LINUX_SYSINFO_H | 3 | #define _LINUX_SYSINFO_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __TARGET_CORE_USER_H | 2 | #ifndef __TARGET_CORE_USER_H |
| 2 | #define __TARGET_CORE_USER_H | 3 | #define __TARGET_CORE_USER_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: LGPL-2.1 WITH Linux-syscall-note */ | ||
| 1 | /* taskstats.h - exporting per-task statistics | 2 | /* taskstats.h - exporting per-task statistics |
| 2 | * | 3 | * |
| 3 | * Copyright (C) Shailabh Nagar, IBM Corp. 2006 | 4 | * Copyright (C) Shailabh Nagar, IBM Corp. 2006 |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2015 Jiri Pirko <jiri@resnulli.us> | 3 | * Copyright (c) 2015 Jiri Pirko <jiri@resnulli.us> |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __UAPI_TC_CONNMARK_H | 2 | #ifndef __UAPI_TC_CONNMARK_H |
| 2 | #define __UAPI_TC_CONNMARK_H | 3 | #define __UAPI_TC_CONNMARK_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_TC_CSUM_H | 2 | #ifndef __LINUX_TC_CSUM_H |
| 2 | #define __LINUX_TC_CSUM_H | 3 | #define __LINUX_TC_CSUM_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_TC_DEF_H | 2 | #ifndef __LINUX_TC_DEF_H |
| 2 | #define __LINUX_TC_DEF_H | 3 | #define __LINUX_TC_DEF_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_TC_GACT_H | 2 | #ifndef __LINUX_TC_GACT_H |
| 2 | #define __LINUX_TC_GACT_H | 3 | #define __LINUX_TC_GACT_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __UAPI_TC_IFE_H | 2 | #ifndef __UAPI_TC_IFE_H |
| 2 | #define __UAPI_TC_IFE_H | 3 | #define __UAPI_TC_IFE_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_TC_IPT_H | 2 | #ifndef __LINUX_TC_IPT_H |
| 2 | #define __LINUX_TC_IPT_H | 3 | #define __LINUX_TC_IPT_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_TC_MIR_H | 2 | #ifndef __LINUX_TC_MIR_H |
| 2 | #define __LINUX_TC_MIR_H | 3 | #define __LINUX_TC_MIR_H |
| 3 | 4 | ||
| @@ -9,13 +10,13 @@ · 5 unmodified lines | |||
| 9 | #define TCA_EGRESS_MIRROR 2 /* mirror packet to EGRESS */ | 10 | #define TCA_EGRESS_MIRROR 2 /* mirror packet to EGRESS */ |
| 10 | #define TCA_INGRESS_REDIR 3 /* packet redirect to INGRESS*/ | 11 | #define TCA_INGRESS_REDIR 3 /* packet redirect to INGRESS*/ |
| 11 | #define TCA_INGRESS_MIRROR 4 /* mirror packet to INGRESS */ | 12 | #define TCA_INGRESS_MIRROR 4 /* mirror packet to INGRESS */ |
| 12 | 13 | ||
| 13 | struct tc_mirred { | 14 | struct tc_mirred { |
| 14 | tc_gen; | 15 | tc_gen; |
| 15 | int eaction; /* one of IN/EGRESS_MIRROR/REDIR */ | 16 | int eaction; /* one of IN/EGRESS_MIRROR/REDIR */ |
| 16 | __u32 ifindex; /* ifindex of egress port */ | 17 | __u32 ifindex; /* ifindex of egress port */ |
| 17 | }; | 18 | }; |
| 18 | 19 | ||
| 19 | enum { | 20 | enum { |
| 20 | TCA_MIRRED_UNSPEC, | 21 | TCA_MIRRED_UNSPEC, |
| 21 | TCA_MIRRED_TM, | 22 | TCA_MIRRED_TM, |
| @@ -24,5 +25,5 @@ enum { · 2 unmodified lines | |||
| 24 | __TCA_MIRRED_MAX | 25 | __TCA_MIRRED_MAX |
| 25 | }; | 26 | }; |
| 26 | #define TCA_MIRRED_MAX (__TCA_MIRRED_MAX - 1) | 27 | #define TCA_MIRRED_MAX (__TCA_MIRRED_MAX - 1) |
| 27 | 28 | ||
| 28 | #endif | 29 | #endif |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_TC_NAT_H | 2 | #ifndef __LINUX_TC_NAT_H |
| 2 | #define __LINUX_TC_NAT_H | 3 | #define __LINUX_TC_NAT_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_TC_PED_H | 2 | #ifndef __LINUX_TC_PED_H |
| 2 | #define __LINUX_TC_PED_H | 3 | #define __LINUX_TC_PED_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_TC_SAMPLE_H | 2 | #ifndef __LINUX_TC_SAMPLE_H |
| 2 | #define __LINUX_TC_SAMPLE_H | 3 | #define __LINUX_TC_SAMPLE_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2008, Intel Corporation. | 3 | * Copyright (c) 2008, Intel Corporation. |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2016, Jamal Hadi Salim | 3 | * Copyright (c) 2016, Jamal Hadi Salim |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2016, Amir Vadai <amir@vadai.me> | 3 | * Copyright (c) 2016, Amir Vadai <amir@vadai.me> |
| 3 | * Copyright (c) 2016, Mellanox Technologies. All rights reserved. | 4 | * Copyright (c) 2016, Mellanox Technologies. All rights reserved. |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2014 Jiri Pirko <jiri@resnulli.us> | 3 | * Copyright (c) 2014 Jiri Pirko <jiri@resnulli.us> |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_TC_EM_CMP_H | 2 | #ifndef __LINUX_TC_EM_CMP_H |
| 2 | #define __LINUX_TC_EM_CMP_H | 3 | #define __LINUX_TC_EM_CMP_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_TC_EM_META_H | 2 | #ifndef __LINUX_TC_EM_META_H |
| 2 | #define __LINUX_TC_EM_META_H | 3 | #define __LINUX_TC_EM_META_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_TC_EM_NBYTE_H | 2 | #ifndef __LINUX_TC_EM_NBYTE_H |
| 2 | #define __LINUX_TC_EM_NBYTE_H | 3 | #define __LINUX_TC_EM_NBYTE_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_TC_EM_TEXT_H | 2 | #ifndef __LINUX_TC_EM_TEXT_H |
| 2 | #define __LINUX_TC_EM_TEXT_H | 3 | #define __LINUX_TC_EM_TEXT_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * INET An implementation of the TCP/IP protocol suite for the LINUX | 3 | * INET An implementation of the TCP/IP protocol suite for the LINUX |
| 3 | * operating system. INET is implemented using the BSD Socket | 4 | * operating system. INET is implemented using the BSD Socket |
| @@ -119,6 +120,8 @@ enum { · 115 unmodified lines | |||
| 119 | #define TCP_FASTOPEN_CONNECT 30 /* Attempt FastOpen with connect */ | 120 | #define TCP_FASTOPEN_CONNECT 30 /* Attempt FastOpen with connect */ |
| 120 | #define TCP_ULP 31 /* Attach a ULP to a TCP connection */ | 121 | #define TCP_ULP 31 /* Attach a ULP to a TCP connection */ |
| 121 | #define TCP_MD5SIG_EXT 32 /* TCP MD5 Signature with extensions */ | 122 | #define TCP_MD5SIG_EXT 32 /* TCP MD5 Signature with extensions */ |
| 123 | #define TCP_FASTOPEN_KEY 33 /* Set the key for Fast Open (cookie) */ | ||
| 124 | #define TCP_FASTOPEN_NO_COOKIE 34 /* Enable TFO without a TFO cookie */ | ||
| 122 | 125 | ||
| 123 | struct tcp_repair_opt { | 126 | struct tcp_repair_opt { |
| 124 | __u32 opt_code; | 127 | __u32 opt_code; |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* tcp_metrics.h - TCP Metrics Interface */ | 2 | /* tcp_metrics.h - TCP Metrics Interface */ |
| 2 | 3 | ||
| 3 | #ifndef _LINUX_TCP_METRICS_H | 4 | #ifndef _LINUX_TCP_METRICS_H |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /****************************************************************************** | 2 | /****************************************************************************** |
| 2 | * | 3 | * |
| 3 | * telephony.h | 4 | * telephony.h |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _LINUX_TERMIOS_H | 2 | #ifndef _LINUX_TERMIOS_H |
| 2 | #define _LINUX_TERMIOS_H | 3 | #define _LINUX_TERMIOS_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_THERMAL_H | 2 | #ifndef _UAPI_LINUX_THERMAL_H |
| 2 | #define _UAPI_LINUX_THERMAL_H | 3 | #define _UAPI_LINUX_THERMAL_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_TIME_H | 2 | #ifndef _UAPI_LINUX_TIME_H |
| 2 | #define _UAPI_LINUX_TIME_H | 3 | #define _UAPI_LINUX_TIME_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * include/linux/timerfd.h | 3 | * include/linux/timerfd.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _LINUX_TIMES_H | 2 | #ifndef _LINUX_TIMES_H |
| 2 | #define _LINUX_TIMES_H | 3 | #define _LINUX_TIMES_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _LINUX_TIOCL_H | 2 | #ifndef _LINUX_TIOCL_H |
| 2 | #define _LINUX_TIOCL_H | 3 | #define _LINUX_TIOCL_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */ | ||
| 1 | /* | 2 | /* |
| 2 | * include/uapi/linux/tipc.h: Header for TIPC socket interface | 3 | * include/uapi/linux/tipc.h: Header for TIPC socket interface |
| 3 | * | 4 | * |
| @@ -231,6 +232,21 @@ struct sockaddr_tipc { · 227 unmodified lines | |||
| 231 | #define TIPC_SOCK_RECVQ_DEPTH 132 /* Default: none (read only) */ | 232 | #define TIPC_SOCK_RECVQ_DEPTH 132 /* Default: none (read only) */ |
| 232 | #define TIPC_MCAST_BROADCAST 133 /* Default: TIPC selects. No arg */ | 233 | #define TIPC_MCAST_BROADCAST 133 /* Default: TIPC selects. No arg */ |
| 233 | #define TIPC_MCAST_REPLICAST 134 /* Default: TIPC selects. No arg */ | 234 | #define TIPC_MCAST_REPLICAST 134 /* Default: TIPC selects. No arg */ |
| 235 | #define TIPC_GROUP_JOIN 135 /* Takes struct tipc_group_req* */ | ||
| 236 | #define TIPC_GROUP_LEAVE 136 /* No argument */ | ||
| 237 | |||
| 238 | /* | ||
| 239 | * Flag values | ||
| 240 | */ | ||
| 241 | #define TIPC_GROUP_LOOPBACK 0x1 /* Receive copy of sent msg when match */ | ||
| 242 | #define TIPC_GROUP_MEMBER_EVTS 0x2 /* Receive membership events in socket */ | ||
| 243 | |||
| 244 | struct tipc_group_req { | ||
| 245 | __u32 type; /* group id */ | ||
| 246 | __u32 instance; /* member id */ | ||
| 247 | __u32 scope; /* zone/cluster/node */ | ||
| 248 | __u32 flags; | ||
| 249 | }; | ||
| 234 | 250 | ||
| 235 | /* | 251 | /* |
| 236 | * Maximum sizes of TIPC bearer-related names (including terminating NULL) | 252 | * Maximum sizes of TIPC bearer-related names (including terminating NULL) |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */ | ||
| 1 | /* | 2 | /* |
| 2 | * include/uapi/linux/tipc_config.h: Header for TIPC configuration interface | 3 | * include/uapi/linux/tipc_config.h: Header for TIPC configuration interface |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2014, Ericsson AB | 3 | * Copyright (c) 2014, Ericsson AB |
| 3 | * All rights reserved. | 4 | * All rights reserved. |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2016-2017, Mellanox Technologies. All rights reserved. | 3 | * Copyright (c) 2016-2017, Mellanox Technologies. All rights reserved. |
| 3 | * | 4 | * |
| @@ -34,10 +35,6 @@ · 30 unmodified lines | |||
| 34 | #define _UAPI_LINUX_TLS_H | 35 | #define _UAPI_LINUX_TLS_H |
| 35 | 36 | ||
| 36 | #include <linux/types.h> | 37 | #include <linux/types.h> |
| 37 | #include <asm/byteorder.h> | ||
| 38 | #include <linux/socket.h> | ||
| 39 | #include <linux/tcp.h> | ||
| 40 | #include <net/tcp.h> | ||
| 41 | 38 | ||
| 42 | /* TLS socket options */ | 39 | /* TLS socket options */ |
| 43 | #define TLS_TX 1 /* Set transmit parameters */ | 40 | #define TLS_TX 1 /* Set transmit parameters */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* toshiba.h -- Linux driver for accessing the SMM on Toshiba laptops | 2 | /* toshiba.h -- Linux driver for accessing the SMM on Toshiba laptops |
| 2 | * | 3 | * |
| 3 | * Copyright (c) 1996-2000 Jonathan A. Buzzard (jonathan@buzzard.org.uk) | 4 | * Copyright (c) 1996-2000 Jonathan A. Buzzard (jonathan@buzzard.org.uk) |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_TTY_H | 2 | #ifndef _UAPI_LINUX_TTY_H |
| 2 | #define _UAPI_LINUX_TTY_H | 3 | #define _UAPI_LINUX_TTY_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _LINUX_TTY_FLAGS_H | 2 | #ifndef _LINUX_TTY_FLAGS_H |
| 2 | #define _LINUX_TTY_FLAGS_H | 3 | #define _LINUX_TTY_FLAGS_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_TYPES_H | 2 | #ifndef _UAPI_LINUX_TYPES_H |
| 2 | #define _UAPI_LINUX_TYPES_H | 3 | #define _UAPI_LINUX_TYPES_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * udf_fs_i.h | 3 | * udf_fs_i.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * INET An implementation of the TCP/IP protocol suite for the LINUX | 3 | * INET An implementation of the TCP/IP protocol suite for the LINUX |
| 3 | * operating system. INET is implemented using the BSD Socket | 4 | * operating system. INET is implemented using the BSD Socket |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | #ifndef __UHID_H_ | 2 | #ifndef __UHID_H_ |
| 2 | #define __UHID_H_ | 3 | #define __UHID_H_ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * User level driver support for input subsystem | 3 | * User level driver support for input subsystem |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Berkeley style UIO structures - Alan Cox 1994. | 3 | * Berkeley style UIO structures - Alan Cox 1994. |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Userspace driver support for the LED subsystem | 3 | * Userspace driver support for the LED subsystem |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _ULTRASOUND_H_ | 2 | #ifndef _ULTRASOUND_H_ |
| 2 | #define _ULTRASOUND_H_ | 3 | #define _ULTRASOUND_H_ |
| 3 | /* | 4 | /* |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _LINUX_UN_H | 2 | #ifndef _LINUX_UN_H |
| 2 | #define _LINUX_UN_H | 3 | #define _LINUX_UN_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _LINUX_UNISTD_H_ | 2 | #ifndef _LINUX_UNISTD_H_ |
| 2 | #define _LINUX_UNISTD_H_ | 3 | #define _LINUX_UNISTD_H_ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __UNIX_DIAG_H__ | 2 | #ifndef __UNIX_DIAG_H__ |
| 2 | #define __UNIX_DIAG_H__ | 3 | #define __UNIX_DIAG_H__ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * <linux/usb/audio.h> -- USB Audio definitions. | 3 | * <linux/usb/audio.h> -- USB Audio definitions. |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * USB CDC Device Management userspace API definitions | 3 | * USB CDC Device Management userspace API definitions |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * USB Communications Device Class (CDC) definitions | 3 | * USB Communications Device Class (CDC) definitions |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * This file holds Hub protocol constants and data structures that are | 3 | * This file holds Hub protocol constants and data structures that are |
| 3 | * defined in chapter 11 (Hub Specification) of the USB 2.0 specification. | 4 | * defined in chapter 11 (Hub Specification) of the USB 2.0 specification. |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * This file holds USB constants and structures that are needed for | 3 | * This file holds USB constants and structures that are needed for |
| 3 | * USB device APIs. These are used by the USB device model, which is | 4 | * USB device APIs. These are used by the USB device model, which is |
| @@ -143,6 +144,10 @@ · 139 unmodified lines | |||
| 143 | #define TEST_PACKET 4 | 144 | #define TEST_PACKET 4 |
| 144 | #define TEST_FORCE_EN 5 | 145 | #define TEST_FORCE_EN 5 |
| 145 | 146 | ||
| 147 | /* Status Type */ | ||
| 148 | #define USB_STATUS_TYPE_STANDARD 0 | ||
| 149 | #define USB_STATUS_TYPE_PTM 1 | ||
| 150 | |||
| 146 | /* | 151 | /* |
| 147 | * New Feature Selectors as added by USB 3.0 | 152 | * New Feature Selectors as added by USB 3.0 |
| 148 | * See USB 3.0 spec Table 9-7 | 153 | * See USB 3.0 spec Table 9-7 |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI__LINUX_FUNCTIONFS_H__ | 2 | #ifndef _UAPI__LINUX_FUNCTIONFS_H__ |
| 2 | #define _UAPI__LINUX_FUNCTIONFS_H__ | 3 | #define _UAPI__LINUX_FUNCTIONFS_H__ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * g_printer.h -- Header file for USB Printer gadget driver | 3 | * g_printer.h -- Header file for USB Printer gadget driver |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Filesystem based user-mode API to USB Gadget controller hardware | 3 | * Filesystem based user-mode API to USB Gadget controller hardware |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * <linux/usb/midi.h> -- USB MIDI definitions. | 3 | * <linux/usb/midi.h> -- USB MIDI definitions. |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2007 Stefan Kopp, Gechingen, Germany | 3 | * Copyright (C) 2007 Stefan Kopp, Gechingen, Germany |
| 3 | * Copyright (C) 2008 Novell, Inc. | 4 | * Copyright (C) 2008 Novell, Inc. |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * USB Video Class definitions. | 3 | * USB Video Class definitions. |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /*****************************************************************************/ | 2 | /*****************************************************************************/ |
| 2 | 3 | ||
| 3 | /* | 4 | /* |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * usbip.h | 3 | * usbip.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * include/linux/userfaultfd.h | 3 | * include/linux/userfaultfd.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: LGPL-2.0+ WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * userio: virtual serio device support | 3 | * userio: virtual serio device support |
| 3 | * Copyright (C) 2015 Red Hat | 4 | * Copyright (C) 2015 Red Hat |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _LINUX_UTIME_H | 2 | #ifndef _LINUX_UTIME_H |
| 2 | #define _LINUX_UTIME_H | 3 | #define _LINUX_UTIME_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_UTSNAME_H | 2 | #ifndef _UAPI_LINUX_UTSNAME_H |
| 2 | #define _UAPI_LINUX_UTSNAME_H | 3 | #define _UAPI_LINUX_UTSNAME_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * UUID/GUID definition | 3 | * UUID/GUID definition |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __LINUX_UVCVIDEO_H_ | 2 | #ifndef __LINUX_UVCVIDEO_H_ |
| 2 | #define __LINUX_UVCVIDEO_H_ | 3 | #define __LINUX_UVCVIDEO_H_ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: ((GPL-2.0+ WITH Linux-syscall-note) OR BSD-3-Clause) */ | ||
| 1 | /* | 2 | /* |
| 2 | * include/linux/v4l2-common.h | 3 | * include/linux/v4l2-common.h |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: ((GPL-2.0+ WITH Linux-syscall-note) OR BSD-3-Clause) */ | ||
| 1 | /* | 2 | /* |
| 2 | * Video for Linux Two controls header file | 3 | * Video for Linux Two controls header file |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * V4L2 DV timings header. | 3 | * V4L2 DV timings header. |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Media Bus API header | 3 | * Media Bus API header |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * V4L2 subdev userspace API | 3 | * V4L2 subdev userspace API |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef __NET_VETH_H_ | 2 | #ifndef __NET_VETH_H_ |
| 2 | #define __NET_VETH_H_ | 3 | #define __NET_VETH_H_ |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * VFIO API definition | 3 | * VFIO API definition |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Interfaces for vfio-ccw | 3 | * Interfaces for vfio-ccw |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _LINUX_VHOST_H | 2 | #ifndef _LINUX_VHOST_H |
| 2 | #define _LINUX_VHOST_H | 3 | #define _LINUX_VHOST_H |
| 3 | /* Userspace interface for in-kernel virtio accelerators. */ | 4 | /* Userspace interface for in-kernel virtio accelerators. */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: ((GPL-2.0+ WITH Linux-syscall-note) OR BSD-3-Clause) */ | ||
| 1 | /* | 2 | /* |
| 2 | * Video for Linux Two header file | 3 | * Video for Linux Two header file |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * VMware vSockets Driver | 3 | * VMware vSockets Driver |
| 3 | * | 4 | * |
| @@ -0,0 +1,34 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 2 | /* AF_VSOCK sock_diag(7) interface for querying open sockets */ | ||
| 3 | |||
| 4 | #ifndef _UAPI__VM_SOCKETS_DIAG_H__ | ||
| 5 | #define _UAPI__VM_SOCKETS_DIAG_H__ | ||
| 6 | |||
| 7 | #include <linux/types.h> | ||
| 8 | |||
| 9 | /* Request */ | ||
| 10 | struct vsock_diag_req { | ||
| 11 | __u8 sdiag_family; /* must be AF_VSOCK */ | ||
| 12 | __u8 sdiag_protocol; /* must be 0 */ | ||
| 13 | __u16 pad; /* must be 0 */ | ||
| 14 | __u32 vdiag_states; /* query bitmap (e.g. 1 << TCP_LISTEN) */ | ||
| 15 | __u32 vdiag_ino; /* must be 0 (reserved) */ | ||
| 16 | __u32 vdiag_show; /* must be 0 (reserved) */ | ||
| 17 | __u32 vdiag_cookie[2]; | ||
| 18 | }; | ||
| 19 | |||
| 20 | /* Response */ | ||
| 21 | struct vsock_diag_msg { | ||
| 22 | __u8 vdiag_family; /* AF_VSOCK */ | ||
| 23 | __u8 vdiag_type; /* SOCK_STREAM or SOCK_DGRAM */ | ||
| 24 | __u8 vdiag_state; /* sk_state (e.g. TCP_LISTEN) */ | ||
| 25 | __u8 vdiag_shutdown; /* local RCV_SHUTDOWN | SEND_SHUTDOWN */ | ||
| 26 | __u32 vdiag_src_cid; | ||
| 27 | __u32 vdiag_src_port; | ||
| 28 | __u32 vdiag_dst_cid; | ||
| 29 | __u32 vdiag_dst_port; | ||
| 30 | __u32 vdiag_ino; | ||
| 31 | __u32 vdiag_cookie[2]; | ||
| 32 | }; | ||
| 33 | |||
| 34 | #endif /* _UAPI__VM_SOCKETS_DIAG_H__ */ | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_VSOCKMON_H | 2 | #ifndef _UAPI_VSOCKMON_H |
| 2 | #define _UAPI_VSOCKMON_H | 3 | #define _UAPI_VSOCKMON_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_VT_H | 2 | #ifndef _UAPI_LINUX_VT_H |
| 2 | #define _UAPI_LINUX_VT_H | 3 | #define _UAPI_LINUX_VT_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Definitions for the VTPM proxy driver | 3 | * Definitions for the VTPM proxy driver |
| 3 | * Copyright (c) 2015, 2016, IBM Corporation | 4 | * Copyright (c) 2015, 2016, IBM Corporation |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _UAPI_LINUX_WAIT_H | 2 | #ifndef _UAPI_LINUX_WAIT_H |
| 2 | #define _UAPI_LINUX_WAIT_H | 3 | #define _UAPI_LINUX_WAIT_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * wanrouter.h Legacy declarations kept around until X25 is removed | 3 | * wanrouter.h Legacy declarations kept around until X25 is removed |
| 3 | */ | 4 | */ |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Generic watchdog defines. Derived from.. | 3 | * Generic watchdog defines. Derived from.. |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * This file define a set of standard wireless extensions | 3 | * This file define a set of standard wireless extensions |
| 3 | * | 4 | * |
| @@ -0,0 +1,73 @@ | |||
| 1 | /* | ||
| 2 | * User API methods for ACPI-WMI mapping driver | ||
| 3 | * | ||
| 4 | * Copyright (C) 2017 Dell, Inc. | ||
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | */ | ||
| 10 | #ifndef _UAPI_LINUX_WMI_H | ||
| 11 | #define _UAPI_LINUX_WMI_H | ||
| 12 | |||
| 13 | #include <linux/ioctl.h> | ||
| 14 | #include <linux/types.h> | ||
| 15 | |||
| 16 | /* WMI bus will filter all WMI vendor driver requests through this IOC */ | ||
| 17 | #define WMI_IOC 'W' | ||
| 18 | |||
| 19 | /* All ioctl requests through WMI should declare their size followed by | ||
| 20 | * relevant data objects | ||
| 21 | */ | ||
| 22 | struct wmi_ioctl_buffer { | ||
| 23 | __u64 length; | ||
| 24 | __u8 data[]; | ||
| 25 | }; | ||
| 26 | |||
| 27 | /* This structure may be modified by the firmware when we enter | ||
| 28 | * system management mode through SMM, hence the volatiles | ||
| 29 | */ | ||
| 30 | struct calling_interface_buffer { | ||
| 31 | __u16 cmd_class; | ||
| 32 | __u16 cmd_select; | ||
| 33 | volatile __u32 input[4]; | ||
| 34 | volatile __u32 output[4]; | ||
| 35 | } __packed; | ||
| 36 | |||
| 37 | struct dell_wmi_extensions { | ||
| 38 | __u32 argattrib; | ||
| 39 | __u32 blength; | ||
| 40 | __u8 data[]; | ||
| 41 | } __packed; | ||
| 42 | |||
| 43 | struct dell_wmi_smbios_buffer { | ||
| 44 | __u64 length; | ||
| 45 | struct calling_interface_buffer std; | ||
| 46 | struct dell_wmi_extensions ext; | ||
| 47 | } __packed; | ||
| 48 | |||
| 49 | /* Whitelisted smbios class/select commands */ | ||
| 50 | #define CLASS_TOKEN_READ 0 | ||
| 51 | #define CLASS_TOKEN_WRITE 1 | ||
| 52 | #define SELECT_TOKEN_STD 0 | ||
| 53 | #define SELECT_TOKEN_BAT 1 | ||
| 54 | #define SELECT_TOKEN_AC 2 | ||
| 55 | #define CLASS_FLASH_INTERFACE 7 | ||
| 56 | #define SELECT_FLASH_INTERFACE 3 | ||
| 57 | #define CLASS_ADMIN_PROP 10 | ||
| 58 | #define SELECT_ADMIN_PROP 3 | ||
| 59 | #define CLASS_INFO 17 | ||
| 60 | #define SELECT_RFKILL 11 | ||
| 61 | #define SELECT_APP_REGISTRATION 3 | ||
| 62 | #define SELECT_DOCK 22 | ||
| 63 | |||
| 64 | /* whitelisted tokens */ | ||
| 65 | #define CAPSULE_EN_TOKEN 0x0461 | ||
| 66 | #define CAPSULE_DIS_TOKEN 0x0462 | ||
| 67 | #define WSMT_EN_TOKEN 0x04EC | ||
| 68 | #define WSMT_DIS_TOKEN 0x04ED | ||
| 69 | |||
| 70 | /* Dell SMBIOS calling IOCTL command used by dell-smbios-wmi */ | ||
| 71 | #define DELL_WMI_SMBIOS_CMD _IOWR(WMI_IOC, 0, struct dell_wmi_smbios_buffer) | ||
| 72 | |||
| 73 | #endif | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * These are the public elements of the Linux kernel X.25 implementation. | 3 | * These are the public elements of the Linux kernel X.25 implementation. |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | File: linux/xattr.h | 3 | File: linux/xattr.h |
| 3 | 4 | ||
| @@ -65,6 +66,9 @@ · 61 unmodified lines | |||
| 65 | #define XATTR_NAME_SMACKTRANSMUTE XATTR_SECURITY_PREFIX XATTR_SMACK_TRANSMUTE | 66 | #define XATTR_NAME_SMACKTRANSMUTE XATTR_SECURITY_PREFIX XATTR_SMACK_TRANSMUTE |
| 66 | #define XATTR_NAME_SMACKMMAP XATTR_SECURITY_PREFIX XATTR_SMACK_MMAP | 67 | #define XATTR_NAME_SMACKMMAP XATTR_SECURITY_PREFIX XATTR_SMACK_MMAP |
| 67 | 68 | ||
| 69 | #define XATTR_APPARMOR_SUFFIX "apparmor" | ||
| 70 | #define XATTR_NAME_APPARMOR XATTR_SECURITY_PREFIX XATTR_APPARMOR_SUFFIX | ||
| 71 | |||
| 68 | #define XATTR_CAPS_SUFFIX "capability" | 72 | #define XATTR_CAPS_SUFFIX "capability" |
| 69 | #define XATTR_NAME_CAPS XATTR_SECURITY_PREFIX XATTR_CAPS_SUFFIX | 73 | #define XATTR_NAME_CAPS XATTR_SECURITY_PREFIX XATTR_CAPS_SUFFIX |
| 70 | 74 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | #ifndef _LINUX_XFRM_H | 2 | #ifndef _LINUX_XFRM_H |
| 2 | #define _LINUX_XFRM_H | 3 | #define _LINUX_XFRM_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Xilinx Controls Header | 3 | * Xilinx Controls Header |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * linux/zorro.h -- Amiga AutoConfig (Zorro) Bus Definitions | 3 | * linux/zorro.h -- Amiga AutoConfig (Zorro) Bus Definitions |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 1 | /* | 2 | /* |
| 2 | * Zorro board IDs | 3 | * Zorro board IDs |
| 3 | * | 4 | * |