Documentation/netlink/specs/lockd.yaml

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

File Facts

System
Linux kernel
Corpus path
Documentation/netlink/specs/lockd.yaml
Extension
.yaml
Size
882 bytes
Lines
46
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: lockd
protocol: genetlink
uapi-header: linux/lockd_netlink.h

doc: lockd configuration over generic netlink

attribute-sets:
  -
    name: server
    attributes:
      -
        name: gracetime
        type: u32
      -
        name: tcp-port
        type: u16
      -
        name: udp-port
        type: u16

operations:
  list:
    -
      name: server-set
      doc: set the lockd server parameters
      attribute-set: server
      flags: [admin-perm]
      do:
        request:
          attributes:
            - gracetime
            - tcp-port
            - udp-port
    -
      name: server-get
      doc: get the lockd server parameters
      attribute-set: server
      do:
        reply:
          attributes:
            - gracetime
            - tcp-port
            - udp-port

Annotation

Implementation Notes