mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-27 15:36:48 +00:00

fib_rule, ip6_tunnel, and a whole lot of if_* headers lack the customary _UAPI in the header guard. Without it YNL build can't protect from in tree and system headers both getting included. YNL doesn't need most of these but it's annoying to have to fix them one by one. Note that header installation strips this _UAPI prefix so this should result in no change to the end user. Acked-by: Jamal Hadi Salim <jhs@mojatatu.com> Reviewed-by: Jason Xing <kerneljasonxing@gmail.com> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Link: https://patch.msgid.link/20250416200840.1338195-1-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
29 lines
670 B
C
29 lines
670 B
C
/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
|
|
/*
|
|
* NET3 PLIP tuning facilities for the new Niibe PLIP.
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version
|
|
* 2 of the License, or (at your option) any later version.
|
|
*
|
|
*/
|
|
|
|
#ifndef _UAPI_LINUX_IF_PLIP_H
|
|
#define _UAPI_LINUX_IF_PLIP_H
|
|
|
|
#include <linux/sockios.h>
|
|
|
|
#define SIOCDEVPLIP SIOCDEVPRIVATE
|
|
|
|
struct plipconf {
|
|
unsigned short pcmd;
|
|
unsigned long nibble;
|
|
unsigned long trigger;
|
|
};
|
|
|
|
#define PLIP_GET_TIMEOUT 0x1
|
|
#define PLIP_SET_TIMEOUT 0x2
|
|
|
|
#endif
|