1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
2 /* Do not edit directly, auto-generated from: */
3 /* Documentation/netlink/specs/handshake.yaml */
4 /* YNL-GEN uapi header */
6 #ifndef _UAPI_LINUX_HANDSHAKE_H
7 #define _UAPI_LINUX_HANDSHAKE_H
9 #define HANDSHAKE_FAMILY_NAME "handshake"
10 #define HANDSHAKE_FAMILY_VERSION 1
12 enum handshake_handler_class
{
13 HANDSHAKE_HANDLER_CLASS_NONE
,
14 HANDSHAKE_HANDLER_CLASS_TLSHD
,
15 HANDSHAKE_HANDLER_CLASS_MAX
,
18 enum handshake_msg_type
{
19 HANDSHAKE_MSG_TYPE_UNSPEC
,
20 HANDSHAKE_MSG_TYPE_CLIENTHELLO
,
21 HANDSHAKE_MSG_TYPE_SERVERHELLO
,
25 HANDSHAKE_AUTH_UNSPEC
,
26 HANDSHAKE_AUTH_UNAUTH
,
32 HANDSHAKE_A_X509_CERT
= 1,
33 HANDSHAKE_A_X509_PRIVKEY
,
35 __HANDSHAKE_A_X509_MAX
,
36 HANDSHAKE_A_X509_MAX
= (__HANDSHAKE_A_X509_MAX
- 1)
40 HANDSHAKE_A_ACCEPT_SOCKFD
= 1,
41 HANDSHAKE_A_ACCEPT_HANDLER_CLASS
,
42 HANDSHAKE_A_ACCEPT_MESSAGE_TYPE
,
43 HANDSHAKE_A_ACCEPT_TIMEOUT
,
44 HANDSHAKE_A_ACCEPT_AUTH_MODE
,
45 HANDSHAKE_A_ACCEPT_PEER_IDENTITY
,
46 HANDSHAKE_A_ACCEPT_CERTIFICATE
,
47 HANDSHAKE_A_ACCEPT_PEERNAME
,
49 __HANDSHAKE_A_ACCEPT_MAX
,
50 HANDSHAKE_A_ACCEPT_MAX
= (__HANDSHAKE_A_ACCEPT_MAX
- 1)
54 HANDSHAKE_A_DONE_STATUS
= 1,
55 HANDSHAKE_A_DONE_SOCKFD
,
56 HANDSHAKE_A_DONE_REMOTE_AUTH
,
58 __HANDSHAKE_A_DONE_MAX
,
59 HANDSHAKE_A_DONE_MAX
= (__HANDSHAKE_A_DONE_MAX
- 1)
63 HANDSHAKE_CMD_READY
= 1,
68 HANDSHAKE_CMD_MAX
= (__HANDSHAKE_CMD_MAX
- 1)
71 #define HANDSHAKE_MCGRP_NONE "none"
72 #define HANDSHAKE_MCGRP_TLSHD "tlshd"
74 #endif /* _UAPI_LINUX_HANDSHAKE_H */