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


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

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