~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/uapi/linux/ioam6_genl.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
  2 /*
  3  *  IPv6 IOAM Generic Netlink API
  4  *
  5  *  Author:
  6  *  Justin Iurman <justin.iurman@uliege.be>
  7  */
  8 
  9 #ifndef _UAPI_LINUX_IOAM6_GENL_H
 10 #define _UAPI_LINUX_IOAM6_GENL_H
 11 
 12 #define IOAM6_GENL_NAME "IOAM6"
 13 #define IOAM6_GENL_VERSION 0x1
 14 
 15 enum {
 16         IOAM6_ATTR_UNSPEC,
 17 
 18         IOAM6_ATTR_NS_ID,       /* u16 */
 19         IOAM6_ATTR_NS_DATA,     /* u32 */
 20         IOAM6_ATTR_NS_DATA_WIDE,/* u64 */
 21 
 22 #define IOAM6_MAX_SCHEMA_DATA_LEN (255 * 4)
 23         IOAM6_ATTR_SC_ID,       /* u32 */
 24         IOAM6_ATTR_SC_DATA,     /* Binary */
 25         IOAM6_ATTR_SC_NONE,     /* Flag */
 26 
 27         IOAM6_ATTR_PAD,
 28 
 29         __IOAM6_ATTR_MAX,
 30 };
 31 
 32 #define IOAM6_ATTR_MAX (__IOAM6_ATTR_MAX - 1)
 33 
 34 enum {
 35         IOAM6_CMD_UNSPEC,
 36 
 37         IOAM6_CMD_ADD_NAMESPACE,
 38         IOAM6_CMD_DEL_NAMESPACE,
 39         IOAM6_CMD_DUMP_NAMESPACES,
 40 
 41         IOAM6_CMD_ADD_SCHEMA,
 42         IOAM6_CMD_DEL_SCHEMA,
 43         IOAM6_CMD_DUMP_SCHEMAS,
 44 
 45         IOAM6_CMD_NS_SET_SCHEMA,
 46 
 47         __IOAM6_CMD_MAX,
 48 };
 49 
 50 #define IOAM6_CMD_MAX (__IOAM6_CMD_MAX - 1)
 51 
 52 #define IOAM6_GENL_EV_GRP_NAME "ioam6_events"
 53 
 54 enum ioam6_event_type {
 55         IOAM6_EVENT_UNSPEC,
 56         IOAM6_EVENT_TRACE,
 57 };
 58 
 59 enum ioam6_event_attr {
 60         IOAM6_EVENT_ATTR_UNSPEC,
 61 
 62         IOAM6_EVENT_ATTR_TRACE_NAMESPACE,       /* u16 */
 63         IOAM6_EVENT_ATTR_TRACE_NODELEN,         /* u8 */
 64         IOAM6_EVENT_ATTR_TRACE_TYPE,            /* u32 */
 65         IOAM6_EVENT_ATTR_TRACE_DATA,            /* Binary */
 66 
 67         __IOAM6_EVENT_ATTR_MAX
 68 };
 69 
 70 #define IOAM6_EVENT_ATTR_MAX (__IOAM6_EVENT_ATTR_MAX - 1)
 71 
 72 #endif /* _UAPI_LINUX_IOAM6_GENL_H */
 73 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php