Documentation/netlink/specs/rt-link.yaml

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

File Facts

System
Linux kernel
Corpus path
Documentation/netlink/specs/rt-link.yaml
Extension
.yaml
Size
48133 bytes
Lines
2602
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: rt-link
protocol: netlink-raw
uapi-header: linux/rtnetlink.h
protonum: 0

doc: >-
  Link configuration over rtnetlink.

definitions:
  -
    name: ifinfo-flags
    type: flags
    header: linux/if.h
    enum-name: net-device-flags
    name-prefix: iff-
    entries:
      -
        name: up
      -
        name: broadcast
      -
        name: debug
      -
        name: loopback
      -
        name: point-to-point
      -
        name: no-trailers
      -
        name: running
      -
        name: no-arp
      -
        name: promisc
      -
        name: all-multi
      -
        name: master
      -
        name: slave
      -
        name: multicast
      -
        name: portsel
      -
        name: auto-media
      -
        name: dynamic
      -
        name: lower-up
      -
        name: dormant
      -
        name: echo
  -
    name: vlan-protocols
    type: enum
    enum-name:
    entries:
      -
        name: 8021q
        value: 33024
      -
        name: 8021ad
        value: 34984
  -
    name: rtgenmsg
    type: struct

Annotation

Implementation Notes