~ [ 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 (Architecture alpha) and /Documentation/netlink/specs/fou.yaml (Architecture i386)


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