Logo

Linux 内核

6.13.0-rc6

快速搜索

目录

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

本页

  • 显示源代码

家族 handshake netlink 规范¶

目录

  • 家族 handshake netlink 规范

    • 概要

    • 操作

      • ready

      • accept

      • done

    • 多播组

    • 定义

      • handler-class

      • msg-type

      • auth

    • 属性集

      • x509

      • accept

      • done

概要¶

用于请求传输层安全握手的 Netlink 协议。

操作¶

ready¶

通知处理程序新的握手请求正在等待

notify:

accept

accept¶

处理程序检索下一个排队的握手请求

attribute-set:

accept

flags:

[admin-perm]

do:
request
attributes:

[handler-class]

reply
attributes:

[sockfd, message-type, timeout, auth-mode, peer-identity, certificate, peername]

done¶

处理程序报告握手完成

attribute-set:

done

do:
request
attributes:

[status, sockfd, remote-auth]

多播组¶

  • none

  • tlshd

定义¶

handler-class¶

type:

enum

value-start:

0

entries:
  • none

  • tlshd

  • max

msg-type¶

type:

enum

value-start:

0

entries:
  • unspec

  • clienthello

  • serverhello

auth¶

type:

enum

value-start:

0

entries:
  • unspec

  • unauth

  • psk

  • x509

属性集¶

x509¶

cert (s32)¶

privkey (s32)¶

accept¶

sockfd (s32)¶

handler-class (u32)¶

enum:

handler-class

message-type (u32)¶

enum:

msg-type

timeout (u32)¶

auth-mode (u32)¶

enum:

auth

peer-identity (u32)¶

multi-attr:

True

certificate (nest)¶

nested-attributes:

x509

multi-attr:

True

peername (string)¶

done¶

status (u32)¶

sockfd (s32)¶

remote-auth (u32)¶

multi-attr:

True

©内核开发社区。 | 由 Sphinx 5.3.0 & Alabaster 0.7.16 强力驱动 | 页面源