Lines Matching +full:ipc +full:- +full:3

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * linux-ksmbd-devel@lists.sourceforge.net
14 * This is a userspace ABI to communicate data between ksmbd and user IPC
18 * - KSMBD_EVENT_HEARTBEAT_REQUEST(ksmbd_heartbeat)
19 * This event is to check whether user IPC daemon is alive. If user IPC
23 * - KSMBD_EVENT_STARTING_UP(ksmbd_startup_request)
25 * server from the user IPC daemon and to start the server. The global
29 * - KSMBD_EVENT_SHUTTING_DOWN(ksmbd_shutdown_request)
32 * - KSMBD_EVENT_LOGIN_REQUEST/RESPONSE(ksmbd_login_request/response)
33 * This event is to get user account info to user IPC daemon.
35 * - KSMBD_EVENT_SHARE_CONFIG_REQUEST/RESPONSE(ksmbd_share_config_request/response)
38 * - KSMBD_EVENT_TREE_CONNECT_REQUEST/RESPONSE(ksmbd_tree_connect_request/response)
41 * - KSMBD_EVENT_TREE_DISCONNECT_REQUEST(ksmbd_tree_disconnect_request)
42 * This event is to send tree disconnect info to user IPC daemon.
44 * - KSMBD_EVENT_LOGOUT_REQUEST(ksmbd_logout_request)
45 * This event is to send logout request to user IPC daemon.
47 * - KSMBD_EVENT_RPC_REQUEST/RESPONSE(ksmbd_rpc_command)
51 * - KSMBD_EVENT_SPNEGO_AUTHEN_REQUEST/RESPONSE(ksmbd_spnego_authen_request/response)
55 * - KSMBD_EVENT_LOGIN_REQUEST_EXT/RESPONSE_EXT(ksmbd_login_request_ext/response_ext)
56 * This event is to get user account extension info to user IPC daemon.
67 * IPC heartbeat frame to check whether user IPC daemon is alive.
80 #define KSMBD_GLOBAL_FLAG_SMB2_ENCRYPTION_OFF BIT(3)
84 * IPC request for ksmbd server startup
110 __u32 sub_auth[3]; /* Subauth value for Security ID */
119 #define KSMBD_STARTUP_CONFIG_INTERFACES(s) ((s)->____payload)
122 * IPC request to shutdown ksmbd server.
129 * IPC user login request.
138 * IPC user login response.
152 * IPC user login response extension.
162 * IPC request to fetch net share config.
171 * IPC response to the net share config request.
189 #define KSMBD_SHARE_CONFIG_VETO_LIST(s) ((s)->____payload)
194 char *p = sc->____payload; in ksmbd_share_config_path()
196 if (sc->veto_list_sz) in ksmbd_share_config_path()
197 p += sc->veto_list_sz + 1; in ksmbd_share_config_path()
203 * IPC request for tree connection. This request include session and tree
219 * IPC Response structure for tree connection.
229 * IPC Request structure to disconnect tree connection.
238 * IPC Response structure to logout user account.
248 * IPC user daemon.
258 * IPC Request Kerberos authentication
326 KSMBD_EVENT_MAX = __KSMBD_EVENT_MAX - 1
330 * Enumeration for IPC tree connect status.
352 #define KSMBD_USER_FLAG_BAD_USER BIT(3)
364 #define KSMBD_SHARE_FLAG_READONLY BIT(3)
392 #define KSMBD_TREE_CONN_FLAG_ADMIN_ACCOUNT BIT(3)
396 * RPC over IPC.
403 #define KSMBD_RPC_IOCTL_METHOD (BIT(3) | KSMBD_RPC_METHOD_RETURN)
433 #define KSMBD_CONFIG_OPT_MANDATORY 3