/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ /* * connector.h * * 2004-2005 Copyright (c) Evgeniy Polyakov <[email protected]> * All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _UAPI__CONNECTOR_H #define _UAPI__CONNECTOR_H #include <linux/types.h> /* * Process Events connector unique ids -- used for message routing */ #define CN_IDX_PROC … #define CN_VAL_PROC … #define CN_IDX_CIFS … #define CN_VAL_CIFS … #define CN_W1_IDX … #define CN_W1_VAL … #define CN_IDX_V86D … #define CN_VAL_V86D_UVESAFB … #define CN_IDX_BB … #define CN_DST_IDX … #define CN_DST_VAL … #define CN_IDX_DM … #define CN_VAL_DM_USERSPACE_LOG … #define CN_IDX_DRBD … #define CN_VAL_DRBD … #define CN_KVP_IDX … #define CN_KVP_VAL … #define CN_VSS_IDX … #define CN_VSS_VAL … #define CN_NETLINK_USERS … /* * Maximum connector's message size. */ #define CONNECTOR_MAX_MSG_SIZE … /* * idx and val are unique identifiers which * are used for message routing and * must be registered in connector.h for in-kernel usage. */ struct cb_id { … }; struct cn_msg { … }; #endif /* _UAPI__CONNECTOR_H */