Logo

Linux 内核

6.16.0-rc4

快速搜索

目录

  • 开发流程
  • 提交补丁
  • 行为准则
  • 维护者手册
  • 所有开发流程文档
  • 核心 API
  • 驱动程序 API
  • 子系统
    • 核心子系统
    • 人机界面
    • 网络接口
      • 网络
      • NetLabel
      • InfiniBand
      • ISDN
      • MHI
    • 存储接口
    • 其他子系统
  • 锁定
  • 许可规则
  • 编写文档
  • 开发工具
  • 测试指南
  • 黑客指南
  • 追踪
  • 故障注入
  • Livepatching
  • Rust
  • 管理
  • 构建系统
  • 报告问题
  • 用户空间工具
  • 用户空间 API
  • 固件
  • 固件和设备树
  • CPU 架构
  • 未分类的文档
  • 翻译

本页

  • 显示源代码

Family team netlink 规范¶

目录

  • Family team netlink 规范

    • 摘要

    • 操作

      • noop

      • options-set

      • options-get

      • port-list-get

    • 定义

      • string-max-len

      • genl-change-event-mc-grp-name

    • 属性集

      • team

      • item-option

      • attr-option

      • item-port

      • attr-port

摘要¶

网络 team 设备驱动程序。

操作¶

noop¶

无操作

value:

0

attribute-set:

team

dont-validate:

[‘strict’]

do:
reply
attributes:

[team-ifindex]

options-set¶

设置 team 选项

attribute-set:

team

dont-validate:

[‘strict’]

flags:

[admin-perm]

do:
request
attributes:

[team-ifindex, list-option]

reply
attributes:

[team-ifindex, list-option]

options-get¶

获取 team 选项信息

attribute-set:

team

dont-validate:

[‘strict’]

flags:

[admin-perm]

do:
request
attributes:

[team-ifindex]

reply
attributes:

[team-ifindex, list-option]

port-list-get¶

获取 team 端口信息

attribute-set:

team

dont-validate:

[‘strict’]

flags:

[admin-perm]

do:
request
attributes:

[team-ifindex]

reply
attributes:

[team-ifindex, list-port]

定义¶

string-max-len¶

type:

const

value:

32

genl-change-event-mc-grp-name¶

type:

const

value:

change_event

属性集¶

team¶

unspec (unused)¶

value:

0

team-ifindex (u32)¶

list-option (nest)¶

nested-attributes:

item-option

list-port (nest)¶

nested-attributes:

item-port

item-option¶

option-unspec (unused)¶

value:

0

option (nest)¶

nested-attributes:

attr-option

attr-option¶

unspec (unused)¶

value:

0

name (string)¶

changed (flag)¶

type (u8)¶

data (binary)¶

removed (flag)¶

port-ifindex (u32)¶

doc:

对于每个端口的选项

array-index (u32)¶

doc:

对于数组选项

item-port¶

port-unspec (unused)¶

value:

0

port (nest)¶

nested-attributes:

attr-port

attr-port¶

unspec (unused)¶

value:

0

ifindex (u32)¶

changed (flag)¶

linkup (flag)¶

speed (u32)¶

duplex (u8)¶

removed (flag)¶

©内核开发社区。 | 使用 Sphinx 5.3.0 & Alabaster 0.7.16 驱动 | 页面源代码