mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
I was intending to make all the Netlink Spec code BSD-3-Clause to ease the adoption but it appears that: - I fumbled the uAPI and used "GPL WITH uAPI note" there - it gives people pause as they expect GPL in the kernel As suggested by Chuck re-license under dual. This gives us benefit of full BSD freedom while fulfilling the broad "kernel is under GPL" expectations. Link: https://lore.kernel.org/all/20230304120108.05dd44c5@kernel.org/ Link: https://lore.kernel.org/r/20230306200457.3903854-1-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
47 lines
832 B
C
47 lines
832 B
C
/* SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause */
|
|
/* Do not edit directly, auto-generated from: */
|
|
/* Documentation/netlink/specs/fou.yaml */
|
|
/* YNL-GEN uapi header */
|
|
|
|
#ifndef _UAPI_LINUX_FOU_H
|
|
#define _UAPI_LINUX_FOU_H
|
|
|
|
#define FOU_GENL_NAME "fou"
|
|
#define FOU_GENL_VERSION 1
|
|
|
|
enum {
|
|
FOU_ENCAP_UNSPEC,
|
|
FOU_ENCAP_DIRECT,
|
|
FOU_ENCAP_GUE,
|
|
};
|
|
|
|
enum {
|
|
FOU_ATTR_UNSPEC,
|
|
FOU_ATTR_PORT,
|
|
FOU_ATTR_AF,
|
|
FOU_ATTR_IPPROTO,
|
|
FOU_ATTR_TYPE,
|
|
FOU_ATTR_REMCSUM_NOPARTIAL,
|
|
FOU_ATTR_LOCAL_V4,
|
|
FOU_ATTR_LOCAL_V6,
|
|
FOU_ATTR_PEER_V4,
|
|
FOU_ATTR_PEER_V6,
|
|
FOU_ATTR_PEER_PORT,
|
|
FOU_ATTR_IFINDEX,
|
|
|
|
__FOU_ATTR_MAX
|
|
};
|
|
#define FOU_ATTR_MAX (__FOU_ATTR_MAX - 1)
|
|
|
|
enum {
|
|
FOU_CMD_UNSPEC,
|
|
FOU_CMD_ADD,
|
|
FOU_CMD_DEL,
|
|
FOU_CMD_GET,
|
|
|
|
__FOU_CMD_MAX
|
|
};
|
|
#define FOU_CMD_MAX (__FOU_CMD_MAX - 1)
|
|
|
|
#endif /* _UAPI_LINUX_FOU_H */
|