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

TOMOYO Linux Cross Reference
Linux/include/uapi/linux/if_team.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 ] ~

Diff markup

Differences between /include/uapi/linux/if_team.h (Version linux-6.12-rc7) and /include/uapi/linux/if_team.h (Version linux-6.0.19)


  1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Lin !!   1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
  2 /* Do not edit directly, auto-generated from:  !!   2 /*
  3 /*      Documentation/netlink/specs/team.yaml  !!   3  * include/linux/if_team.h - Network team device driver header
  4 /* YNL-GEN uapi header */                      !!   4  * Copyright (c) 2011 Jiri Pirko <jpirko@redhat.com>
                                                   >>   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 as published by
                                                   >>   8  * the Free Software Foundation; either version 2 of the License, or
                                                   >>   9  * (at your option) any later version.
                                                   >>  10  */
                                                   >>  11 
                                                   >>  12 #ifndef _UAPI_LINUX_IF_TEAM_H_
                                                   >>  13 #define _UAPI_LINUX_IF_TEAM_H_
                                                   >>  14 
                                                   >>  15 
                                                   >>  16 #define TEAM_STRING_MAX_LEN 32
                                                   >>  17 
                                                   >>  18 /**********************************
                                                   >>  19  * NETLINK_GENERIC netlink family.
                                                   >>  20  **********************************/
  5                                                    21 
  6 #ifndef _UAPI_LINUX_IF_TEAM_H                  !!  22 enum {
  7 #define _UAPI_LINUX_IF_TEAM_H                  !!  23         TEAM_CMD_NOOP,
  8                                                !!  24         TEAM_CMD_OPTIONS_SET,
  9 #define TEAM_GENL_NAME          "team"         !!  25         TEAM_CMD_OPTIONS_GET,
 10 #define TEAM_GENL_VERSION       1              !!  26         TEAM_CMD_PORT_LIST_GET,
 11                                                    27 
 12 #define TEAM_STRING_MAX_LEN                    !!  28         __TEAM_CMD_MAX,
 13 #define TEAM_GENL_CHANGE_EVENT_MC_GRP_NAME     !!  29         TEAM_CMD_MAX = (__TEAM_CMD_MAX - 1),
                                                   >>  30 };
 14                                                    31 
 15 enum {                                             32 enum {
 16         TEAM_ATTR_UNSPEC,                          33         TEAM_ATTR_UNSPEC,
 17         TEAM_ATTR_TEAM_IFINDEX,                !!  34         TEAM_ATTR_TEAM_IFINDEX,         /* u32 */
 18         TEAM_ATTR_LIST_OPTION,                 !!  35         TEAM_ATTR_LIST_OPTION,          /* nest */
 19         TEAM_ATTR_LIST_PORT,                   !!  36         TEAM_ATTR_LIST_PORT,            /* nest */
 20                                                    37 
 21         __TEAM_ATTR_MAX,                           38         __TEAM_ATTR_MAX,
 22         TEAM_ATTR_MAX = (__TEAM_ATTR_MAX - 1)  !!  39         TEAM_ATTR_MAX = __TEAM_ATTR_MAX - 1,
 23 };                                                 40 };
 24                                                    41 
                                                   >>  42 /* Nested layout of get/set msg:
                                                   >>  43  *
                                                   >>  44  *      [TEAM_ATTR_LIST_OPTION]
                                                   >>  45  *              [TEAM_ATTR_ITEM_OPTION]
                                                   >>  46  *                      [TEAM_ATTR_OPTION_*], ...
                                                   >>  47  *              [TEAM_ATTR_ITEM_OPTION]
                                                   >>  48  *                      [TEAM_ATTR_OPTION_*], ...
                                                   >>  49  *              ...
                                                   >>  50  *      [TEAM_ATTR_LIST_PORT]
                                                   >>  51  *              [TEAM_ATTR_ITEM_PORT]
                                                   >>  52  *                      [TEAM_ATTR_PORT_*], ...
                                                   >>  53  *              [TEAM_ATTR_ITEM_PORT]
                                                   >>  54  *                      [TEAM_ATTR_PORT_*], ...
                                                   >>  55  *              ...
                                                   >>  56  */
                                                   >>  57 
 25 enum {                                             58 enum {
 26         TEAM_ATTR_ITEM_OPTION_UNSPEC,              59         TEAM_ATTR_ITEM_OPTION_UNSPEC,
 27         TEAM_ATTR_ITEM_OPTION,                 !!  60         TEAM_ATTR_ITEM_OPTION,          /* nest */
 28                                                    61 
 29         __TEAM_ATTR_ITEM_OPTION_MAX,               62         __TEAM_ATTR_ITEM_OPTION_MAX,
 30         TEAM_ATTR_ITEM_OPTION_MAX = (__TEAM_AT !!  63         TEAM_ATTR_ITEM_OPTION_MAX = __TEAM_ATTR_ITEM_OPTION_MAX - 1,
 31 };                                                 64 };
 32                                                    65 
 33 enum {                                             66 enum {
 34         TEAM_ATTR_OPTION_UNSPEC,                   67         TEAM_ATTR_OPTION_UNSPEC,
 35         TEAM_ATTR_OPTION_NAME,                 !!  68         TEAM_ATTR_OPTION_NAME,          /* string */
 36         TEAM_ATTR_OPTION_CHANGED,              !!  69         TEAM_ATTR_OPTION_CHANGED,       /* flag */
 37         TEAM_ATTR_OPTION_TYPE,                 !!  70         TEAM_ATTR_OPTION_TYPE,          /* u8 */
 38         TEAM_ATTR_OPTION_DATA,                 !!  71         TEAM_ATTR_OPTION_DATA,          /* dynamic */
 39         TEAM_ATTR_OPTION_REMOVED,              !!  72         TEAM_ATTR_OPTION_REMOVED,       /* flag */
 40         TEAM_ATTR_OPTION_PORT_IFINDEX,         !!  73         TEAM_ATTR_OPTION_PORT_IFINDEX,  /* u32 */ /* for per-port options */
 41         TEAM_ATTR_OPTION_ARRAY_INDEX,          !!  74         TEAM_ATTR_OPTION_ARRAY_INDEX,   /* u32 */ /* for array options */
 42                                                    75 
 43         __TEAM_ATTR_OPTION_MAX,                    76         __TEAM_ATTR_OPTION_MAX,
 44         TEAM_ATTR_OPTION_MAX = (__TEAM_ATTR_OP !!  77         TEAM_ATTR_OPTION_MAX = __TEAM_ATTR_OPTION_MAX - 1,
 45 };                                                 78 };
 46                                                    79 
 47 enum {                                             80 enum {
 48         TEAM_ATTR_ITEM_PORT_UNSPEC,                81         TEAM_ATTR_ITEM_PORT_UNSPEC,
 49         TEAM_ATTR_ITEM_PORT,                   !!  82         TEAM_ATTR_ITEM_PORT,            /* nest */
 50                                                    83 
 51         __TEAM_ATTR_ITEM_PORT_MAX,                 84         __TEAM_ATTR_ITEM_PORT_MAX,
 52         TEAM_ATTR_ITEM_PORT_MAX = (__TEAM_ATTR !!  85         TEAM_ATTR_ITEM_PORT_MAX = __TEAM_ATTR_ITEM_PORT_MAX - 1,
 53 };                                                 86 };
 54                                                    87 
 55 enum {                                             88 enum {
 56         TEAM_ATTR_PORT_UNSPEC,                     89         TEAM_ATTR_PORT_UNSPEC,
 57         TEAM_ATTR_PORT_IFINDEX,                !!  90         TEAM_ATTR_PORT_IFINDEX,         /* u32 */
 58         TEAM_ATTR_PORT_CHANGED,                !!  91         TEAM_ATTR_PORT_CHANGED,         /* flag */
 59         TEAM_ATTR_PORT_LINKUP,                 !!  92         TEAM_ATTR_PORT_LINKUP,          /* flag */
 60         TEAM_ATTR_PORT_SPEED,                  !!  93         TEAM_ATTR_PORT_SPEED,           /* u32 */
 61         TEAM_ATTR_PORT_DUPLEX,                 !!  94         TEAM_ATTR_PORT_DUPLEX,          /* u8 */
 62         TEAM_ATTR_PORT_REMOVED,                !!  95         TEAM_ATTR_PORT_REMOVED,         /* flag */
 63                                                    96 
 64         __TEAM_ATTR_PORT_MAX,                      97         __TEAM_ATTR_PORT_MAX,
 65         TEAM_ATTR_PORT_MAX = (__TEAM_ATTR_PORT !!  98         TEAM_ATTR_PORT_MAX = __TEAM_ATTR_PORT_MAX - 1,
 66 };                                                 99 };
 67                                                   100 
 68 enum {                                         !! 101 /*
 69         TEAM_CMD_NOOP,                         !! 102  * NETLINK_GENERIC related info
 70         TEAM_CMD_OPTIONS_SET,                  !! 103  */
 71         TEAM_CMD_OPTIONS_GET,                  !! 104 #define TEAM_GENL_NAME "team"
 72         TEAM_CMD_PORT_LIST_GET,                !! 105 #define TEAM_GENL_VERSION 0x1
 73                                                !! 106 #define TEAM_GENL_CHANGE_EVENT_MC_GRP_NAME "change_event"
 74         __TEAM_CMD_MAX,                        << 
 75         TEAM_CMD_MAX = (__TEAM_CMD_MAX - 1)    << 
 76 };                                             << 
 77                                                   107 
 78 #endif /* _UAPI_LINUX_IF_TEAM_H */             !! 108 #endif /* _UAPI_LINUX_IF_TEAM_H_ */
 79                                                   109 

~ [ 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