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

TOMOYO Linux Cross Reference
Linux/Documentation/netlink/specs/nlctrl.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/nlctrl.yaml (Version linux-6.11.5) and /Documentation/netlink/specs/nlctrl.yaml (Version linux-5.6.19)


  1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linu    
  2                                                   
  3 name: nlctrl                                      
  4 protocol: genetlink-legacy                        
  5 uapi-header: linux/genetlink.h                    
  6                                                   
  7 doc: |                                            
  8   genetlink meta-family that exposes informati    
  9   families registered in the kernel (including    
 10                                                   
 11 definitions:                                      
 12   -                                               
 13     name: op-flags                                
 14     type: flags                                   
 15     enum-name:                                    
 16     entries:                                      
 17       - admin-perm                                
 18       - cmd-cap-do                                
 19       - cmd-cap-dump                              
 20       - cmd-cap-haspol                            
 21       - uns-admin-perm                            
 22   -                                               
 23     name: attr-type                               
 24     enum-name: netlink-attribute-type             
 25     type: enum                                    
 26     entries:                                      
 27       - invalid                                   
 28       - flag                                      
 29       - u8                                        
 30       - u16                                       
 31       - u32                                       
 32       - u64                                       
 33       - s8                                        
 34       - s16                                       
 35       - s32                                       
 36       - s64                                       
 37       - binary                                    
 38       - string                                    
 39       - nul-string                                
 40       - nested                                    
 41       - nested-array                              
 42       - bitfield32                                
 43       - sint                                      
 44       - uint                                      
 45                                                   
 46 attribute-sets:                                   
 47   -                                               
 48     name: ctrl-attrs                              
 49     name-prefix: ctrl-attr-                       
 50     attributes:                                   
 51       -                                           
 52         name: family-id                           
 53         type: u16                                 
 54       -                                           
 55         name: family-name                         
 56         type: string                              
 57       -                                           
 58         name: version                             
 59         type: u32                                 
 60       -                                           
 61         name: hdrsize                             
 62         type: u32                                 
 63       -                                           
 64         name: maxattr                             
 65         type: u32                                 
 66       -                                           
 67         name: ops                                 
 68         type: indexed-array                       
 69         sub-type: nest                            
 70         nested-attributes: op-attrs               
 71       -                                           
 72         name: mcast-groups                        
 73         type: indexed-array                       
 74         sub-type: nest                            
 75         nested-attributes: mcast-group-attrs      
 76       -                                           
 77         name: policy                              
 78         type: nest-type-value                     
 79         type-value: [ policy-id, attr-id ]        
 80         nested-attributes: policy-attrs           
 81       -                                           
 82         name: op-policy                           
 83         type: nest-type-value                     
 84         type-value: [ op-id ]                     
 85         nested-attributes: op-policy-attrs        
 86       -                                           
 87         name: op                                  
 88         type: u32                                 
 89   -                                               
 90     name: mcast-group-attrs                       
 91     name-prefix: ctrl-attr-mcast-grp-             
 92     enum-name:                                    
 93     attributes:                                   
 94       -                                           
 95         name: name                                
 96         type: string                              
 97       -                                           
 98         name: id                                  
 99         type: u32                                 
100   -                                               
101     name: op-attrs                                
102     name-prefix: ctrl-attr-op-                    
103     enum-name:                                    
104     attributes:                                   
105       -                                           
106         name: id                                  
107         type: u32                                 
108       -                                           
109         name: flags                               
110         type: u32                                 
111         enum: op-flags                            
112         enum-as-flags: true                       
113   -                                               
114     name: policy-attrs                            
115     name-prefix: nl-policy-type-attr-             
116     enum-name:                                    
117     attributes:                                   
118       -                                           
119         name: type                                
120         type: u32                                 
121         enum: attr-type                           
122       -                                           
123         name: min-value-s                         
124         type: s64                                 
125       -                                           
126         name: max-value-s                         
127         type: s64                                 
128       -                                           
129         name: min-value-u                         
130         type: u64                                 
131       -                                           
132         name: max-value-u                         
133         type: u64                                 
134       -                                           
135         name: min-length                          
136         type: u32                                 
137       -                                           
138         name: max-length                          
139         type: u32                                 
140       -                                           
141         name: policy-idx                          
142         type: u32                                 
143       -                                           
144         name: policy-maxtype                      
145         type: u32                                 
146       -                                           
147         name: bitfield32-mask                     
148         type: u32                                 
149       -                                           
150         name: mask                                
151         type: u64                                 
152       -                                           
153         name: pad                                 
154         type: pad                                 
155   -                                               
156     name: op-policy-attrs                         
157     name-prefix: ctrl-attr-policy-                
158     enum-name:                                    
159     attributes:                                   
160       -                                           
161         name: do                                  
162         type: u32                                 
163       -                                           
164         name: dump                                
165         type: u32                                 
166                                                   
167 operations:                                       
168   enum-model: directional                         
169   name-prefix: ctrl-cmd-                          
170   list:                                           
171     -                                             
172       name: getfamily                             
173       doc: Get / dump genetlink families          
174       attribute-set: ctrl-attrs                   
175       do:                                         
176         request:                                  
177           value: 3                                
178           attributes:                             
179             - family-name                         
180         reply: &all-attrs                         
181           value: 1                                
182           attributes:                             
183             - family-id                           
184             - family-name                         
185             - hdrsize                             
186             - maxattr                             
187             - mcast-groups                        
188             - ops                                 
189             - version                             
190       dump:                                       
191         reply: *all-attrs                         
192     -                                             
193       name: getpolicy                             
194       doc: Get / dump genetlink policies          
195       attribute-set: ctrl-attrs                   
196       dump:                                       
197         request:                                  
198           value: 10                               
199           attributes:                             
200             - family-name                         
201             - family-id                           
202             - op                                  
203         reply:                                    
204           value: 10                               
205           attributes:                             
206             - family-id                           
207             - op-policy                           
208             - policy                              
                                                      

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