Documentation/netlink/specs/fou.yaml

Source file repositories/reference/linux-study-clean/Documentation/netlink/specs/fou.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/netlink/specs/fou.yaml
Extension
.yaml
Size
2327 bytes
Lines
135
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
---
name: fou

protocol: genetlink-legacy

doc: |
  Foo-over-UDP.

c-family-name: fou-genl-name
c-version-name: fou-genl-version
max-by-define: true
kernel-policy: global

definitions:
  -
    type: enum
    name: encap-type
    name-prefix: fou-encap-
    enum-name:
    entries: [unspec, direct, gue]

attribute-sets:
  -
    name: fou
    name-prefix: fou-attr-
    attributes:
      -
        name: unspec
        type: unused
        value: 0
      -
        name: port
        type: u16
        byte-order: big-endian
      -
        name: af
        type: u8
      -
        name: ipproto
        type: u8
        checks:
          min: 1
      -
        name: type
        type: u8
      -
        name: remcsum-nopartial
        type: flag
      -
        name: local-v4
        type: u32
      -
        name: local-v6
        type: binary
        checks:
          exact-len: 16
      -
        name: peer-v4
        type: u32
      -
        name: peer-v6
        type: binary
        checks:
          exact-len: 16
      -
        name: peer-port
        type: u16
        byte-order: big-endian
      -

Annotation

Implementation Notes