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

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

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 /Documentation/netlink/specs/fou.yaml (Version linux-6.12-rc7) and /Documentation/netlink/specs/fou.yaml (Version linux-4.9.337)


  1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linu    
  2                                                   
  3 name: fou                                         
  4                                                   
  5 protocol: genetlink-legacy                        
  6                                                   
  7 doc: |                                            
  8   Foo-over-UDP.                                   
  9                                                   
 10 c-family-name: fou-genl-name                      
 11 c-version-name: fou-genl-version                  
 12 max-by-define: true                               
 13 kernel-policy: global                             
 14                                                   
 15 definitions:                                      
 16   -                                               
 17     type: enum                                    
 18     name: encap_type                              
 19     name-prefix: fou-encap-                       
 20     enum-name:                                    
 21     entries: [ unspec, direct, gue ]              
 22                                                   
 23 attribute-sets:                                   
 24   -                                               
 25     name: fou                                     
 26     name-prefix: fou-attr-                        
 27     attributes:                                   
 28       -                                           
 29         name: unspec                              
 30         type: unused                              
 31         value: 0                                  
 32       -                                           
 33         name: port                                
 34         type: u16                                 
 35         byte-order: big-endian                    
 36       -                                           
 37         name: af                                  
 38         type: u8                                  
 39       -                                           
 40         name: ipproto                             
 41         type: u8                                  
 42       -                                           
 43         name: type                                
 44         type: u8                                  
 45       -                                           
 46         name: remcsum_nopartial                   
 47         type: flag                                
 48       -                                           
 49         name: local_v4                            
 50         type: u32                                 
 51       -                                           
 52         name: local_v6                            
 53         type: binary                              
 54         checks:                                   
 55           min-len: 16                             
 56       -                                           
 57         name: peer_v4                             
 58         type: u32                                 
 59       -                                           
 60         name: peer_v6                             
 61         type: binary                              
 62         checks:                                   
 63           min-len: 16                             
 64       -                                           
 65         name: peer_port                           
 66         type: u16                                 
 67         byte-order: big-endian                    
 68       -                                           
 69         name: ifindex                             
 70         type: s32                                 
 71                                                   
 72 operations:                                       
 73   list:                                           
 74     -                                             
 75       name: unspec                                
 76       doc: unused                                 
 77       value: 0                                    
 78                                                   
 79     -                                             
 80       name: add                                   
 81       doc: Add port.                              
 82       attribute-set: fou                          
 83                                                   
 84       dont-validate: [ strict, dump ]             
 85       flags: [ admin-perm ]                       
 86                                                   
 87       do:                                         
 88         request: &all_attrs                       
 89           attributes:                             
 90             - port                                
 91             - ipproto                             
 92             - type                                
 93             - remcsum_nopartial                   
 94             - local_v4                            
 95             - peer_v4                             
 96             - local_v6                            
 97             - peer_v6                             
 98             - peer_port                           
 99             - ifindex                             
100                                                   
101     -                                             
102       name: del                                   
103       doc: Delete port.                           
104       attribute-set: fou                          
105                                                   
106       dont-validate: [ strict, dump ]             
107       flags: [ admin-perm ]                       
108                                                   
109       do:                                         
110         request: &select_attrs                    
111           attributes:                             
112             - af                                  
113             - ifindex                             
114             - port                                
115             - peer_port                           
116             - local_v4                            
117             - peer_v4                             
118             - local_v6                            
119             - peer_v6                             
120                                                   
121     -                                             
122       name: get                                   
123       doc: Get tunnel info.                       
124       attribute-set: fou                          
125       dont-validate: [ strict, dump ]             
126                                                   
127       do:                                         
128         request: *select_attrs                    
129         reply: *all_attrs                         
130                                                   
131       dump:                                       
132         reply: *all_attrs                         
                                                      

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