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

TOMOYO Linux Cross Reference
Linux/Documentation/netlink/specs/team.yaml

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ 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.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/netlink/specs/team.yaml (Architecture m68k) and /Documentation/netlink/specs/team.yaml (Architecture alpha)


  1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linu      1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
  2                                                     2 
  3 name: team                                          3 name: team
  4                                                     4 
  5 protocol: genetlink-legacy                          5 protocol: genetlink-legacy
  6                                                     6 
  7 doc: |                                              7 doc: |
  8   Network team device driver.                       8   Network team device driver.
  9                                                     9 
 10 c-family-name: team-genl-name                      10 c-family-name: team-genl-name
 11 c-version-name: team-genl-version                  11 c-version-name: team-genl-version
 12 kernel-policy: global                              12 kernel-policy: global
 13 uapi-header: linux/if_team.h                       13 uapi-header: linux/if_team.h
 14                                                    14 
 15 definitions:                                       15 definitions:
 16   -                                                16   -
 17     name: string-max-len                           17     name: string-max-len
 18     type: const                                    18     type: const
 19     value: 32                                      19     value: 32
 20   -                                                20   -
 21     name: genl-change-event-mc-grp-name            21     name: genl-change-event-mc-grp-name
 22     type: const                                    22     type: const
 23     value: change_event                            23     value: change_event
 24                                                    24 
 25 attribute-sets:                                    25 attribute-sets:
 26   -                                                26   -
 27     name: team                                     27     name: team
 28     doc:                                           28     doc:
 29       The team nested layout of get/set msg lo     29       The team nested layout of get/set msg looks like
 30           [TEAM_ATTR_LIST_OPTION]                  30           [TEAM_ATTR_LIST_OPTION]
 31               [TEAM_ATTR_ITEM_OPTION]              31               [TEAM_ATTR_ITEM_OPTION]
 32                   [TEAM_ATTR_OPTION_*], ...        32                   [TEAM_ATTR_OPTION_*], ...
 33               [TEAM_ATTR_ITEM_OPTION]              33               [TEAM_ATTR_ITEM_OPTION]
 34                   [TEAM_ATTR_OPTION_*], ...        34                   [TEAM_ATTR_OPTION_*], ...
 35               ...                                  35               ...
 36           [TEAM_ATTR_LIST_PORT]                    36           [TEAM_ATTR_LIST_PORT]
 37               [TEAM_ATTR_ITEM_PORT]                37               [TEAM_ATTR_ITEM_PORT]
 38                   [TEAM_ATTR_PORT_*], ...          38                   [TEAM_ATTR_PORT_*], ...
 39               [TEAM_ATTR_ITEM_PORT]                39               [TEAM_ATTR_ITEM_PORT]
 40                   [TEAM_ATTR_PORT_*], ...          40                   [TEAM_ATTR_PORT_*], ...
 41               ...                                  41               ...
 42     name-prefix: team-attr-                        42     name-prefix: team-attr-
 43     attributes:                                    43     attributes:
 44       -                                            44       -
 45         name: unspec                               45         name: unspec
 46         type: unused                               46         type: unused
 47         value: 0                                   47         value: 0
 48       -                                            48       -
 49         name: team-ifindex                         49         name: team-ifindex
 50         type: u32                                  50         type: u32
 51       -                                            51       -
 52         name: list-option                          52         name: list-option
 53         type: nest                                 53         type: nest
 54         nested-attributes: item-option             54         nested-attributes: item-option
 55       -                                            55       -
 56         name: list-port                            56         name: list-port
 57         type: nest                                 57         type: nest
 58         nested-attributes: item-port               58         nested-attributes: item-port
 59   -                                                59   -
 60     name: item-option                              60     name: item-option
 61     name-prefix: team-attr-item-                   61     name-prefix: team-attr-item-
 62     attr-cnt-name: __team-attr-item-option-max     62     attr-cnt-name: __team-attr-item-option-max
 63     attr-max-name: team-attr-item-option-max       63     attr-max-name: team-attr-item-option-max
 64     attributes:                                    64     attributes:
 65       -                                            65       -
 66         name: option-unspec                        66         name: option-unspec
 67         type: unused                               67         type: unused
 68         value: 0                                   68         value: 0
 69       -                                            69       -
 70         name: option                               70         name: option
 71         type: nest                                 71         type: nest
 72         nested-attributes: attr-option             72         nested-attributes: attr-option
 73   -                                                73   -
 74     name: attr-option                              74     name: attr-option
 75     name-prefix: team-attr-option-                 75     name-prefix: team-attr-option-
 76     attributes:                                    76     attributes:
 77       -                                            77       -
 78         name: unspec                               78         name: unspec
 79         type: unused                               79         type: unused
 80         value: 0                                   80         value: 0
 81       -                                            81       -
 82         name: name                                 82         name: name
 83         type: string                               83         type: string
 84         checks:                                    84         checks:
 85           max-len: string-max-len                  85           max-len: string-max-len
 86           unterminated-ok: true                    86           unterminated-ok: true
 87       -                                            87       -
 88         name: changed                              88         name: changed
 89         type: flag                                 89         type: flag
 90       -                                            90       -
 91         name: type                                 91         name: type
 92         type: u8                                   92         type: u8
 93       -                                            93       -
 94         name: data                                 94         name: data
 95         type: binary                               95         type: binary
 96       -                                            96       -
 97         name: removed                              97         name: removed
 98         type: flag                                 98         type: flag
 99       -                                            99       -
100         name: port-ifindex                        100         name: port-ifindex
101         type: u32                                 101         type: u32
102         doc: for per-port options                 102         doc: for per-port options
103       -                                           103       -
104         name: array-index                         104         name: array-index
105         type: u32                                 105         type: u32
106         doc: for array options                    106         doc: for array options
107   -                                               107   -
108     name: item-port                               108     name: item-port
109     name-prefix: team-attr-item-                  109     name-prefix: team-attr-item-
110     attr-cnt-name: __team-attr-item-port-max      110     attr-cnt-name: __team-attr-item-port-max
111     attr-max-name: team-attr-item-port-max        111     attr-max-name: team-attr-item-port-max
112     attributes:                                   112     attributes:
113       -                                           113       -
114         name: port-unspec                         114         name: port-unspec
115         type: unused                              115         type: unused
116         value: 0                                  116         value: 0
117       -                                           117       -
118         name: port                                118         name: port
119         type: nest                                119         type: nest
120         nested-attributes: attr-port              120         nested-attributes: attr-port
121   -                                               121   -
122     name: attr-port                               122     name: attr-port
123     name-prefix: team-attr-port-                  123     name-prefix: team-attr-port-
124     attributes:                                   124     attributes:
125       -                                           125       -
126         name: unspec                              126         name: unspec
127         type: unused                              127         type: unused
128         value: 0                                  128         value: 0
129       -                                           129       -
130         name: ifindex                             130         name: ifindex
131         type: u32                                 131         type: u32
132       -                                           132       -
133         name: changed                             133         name: changed
134         type: flag                                134         type: flag
135       -                                           135       -
136         name: linkup                              136         name: linkup
137         type: flag                                137         type: flag
138       -                                           138       -
139         name: speed                               139         name: speed
140         type: u32                                 140         type: u32
141       -                                           141       -
142         name: duplex                              142         name: duplex
143         type: u8                                  143         type: u8
144       -                                           144       -
145         name: removed                             145         name: removed
146         type: flag                                146         type: flag
147                                                   147 
148 operations:                                       148 operations:
149   list:                                           149   list:
150     -                                             150     -
151       name: noop                                  151       name: noop
152       doc: No operation                           152       doc: No operation
153       value: 0                                    153       value: 0
154       attribute-set: team                         154       attribute-set: team
155       dont-validate: [ strict ]                   155       dont-validate: [ strict ]
156                                                   156 
157       do:                                         157       do:
158         # Actually it only reply the team netl    158         # Actually it only reply the team netlink family
159         reply:                                    159         reply:
160           attributes:                             160           attributes:
161             - team-ifindex                        161             - team-ifindex
162                                                   162 
163     -                                             163     -
164       name: options-set                           164       name: options-set
165       doc: Set team options                       165       doc: Set team options
166       attribute-set: team                         166       attribute-set: team
167       dont-validate: [ strict ]                   167       dont-validate: [ strict ]
168       flags: [ admin-perm ]                       168       flags: [ admin-perm ]
169                                                   169 
170       do:                                         170       do:
171         request: &option_attrs                    171         request: &option_attrs
172           attributes:                             172           attributes:
173             - team-ifindex                        173             - team-ifindex
174             - list-option                         174             - list-option
175         reply: *option_attrs                      175         reply: *option_attrs
176                                                   176 
177     -                                             177     -
178       name: options-get                           178       name: options-get
179       doc: Get team options info                  179       doc: Get team options info
180       attribute-set: team                         180       attribute-set: team
181       dont-validate: [ strict ]                   181       dont-validate: [ strict ]
182       flags: [ admin-perm ]                       182       flags: [ admin-perm ]
183                                                   183 
184       do:                                         184       do:
185         request:                                  185         request:
186           attributes:                             186           attributes:
187             - team-ifindex                        187             - team-ifindex
188         reply: *option_attrs                      188         reply: *option_attrs
189                                                   189 
190     -                                             190     -
191       name: port-list-get                         191       name: port-list-get
192       doc: Get team ports info                    192       doc: Get team ports info
193       attribute-set: team                         193       attribute-set: team
194       dont-validate: [ strict ]                   194       dont-validate: [ strict ]
195       flags: [ admin-perm ]                       195       flags: [ admin-perm ]
196                                                   196 
197       do:                                         197       do:
198         request:                                  198         request:
199           attributes:                             199           attributes:
200             - team-ifindex                        200             - team-ifindex
201         reply: &port_attrs                        201         reply: &port_attrs
202           attributes:                             202           attributes:
203             - team-ifindex                        203             - team-ifindex
204             - list-port                           204             - list-port
                                                      

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