Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/linux
File: connector.h
/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
[0] Fix | Delete
/*
[1] Fix | Delete
* connector.h
[2] Fix | Delete
*
[3] Fix | Delete
* 2004-2005 Copyright (c) Evgeniy Polyakov <zbr@ioremap.net>
[4] Fix | Delete
* All rights reserved.
[5] Fix | Delete
*
[6] Fix | Delete
* This program is free software; you can redistribute it and/or modify
[7] Fix | Delete
* it under the terms of the GNU General Public License as published by
[8] Fix | Delete
* the Free Software Foundation; either version 2 of the License, or
[9] Fix | Delete
* (at your option) any later version.
[10] Fix | Delete
*
[11] Fix | Delete
* This program is distributed in the hope that it will be useful,
[12] Fix | Delete
* but WITHOUT ANY WARRANTY; without even the implied warranty of
[13] Fix | Delete
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
[14] Fix | Delete
* GNU General Public License for more details.
[15] Fix | Delete
*
[16] Fix | Delete
* You should have received a copy of the GNU General Public License
[17] Fix | Delete
* along with this program; if not, write to the Free Software
[18] Fix | Delete
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
[19] Fix | Delete
*/
[20] Fix | Delete
[21] Fix | Delete
#ifndef __CONNECTOR_H
[22] Fix | Delete
#define __CONNECTOR_H
[23] Fix | Delete
[24] Fix | Delete
#include <linux/types.h>
[25] Fix | Delete
[26] Fix | Delete
/*
[27] Fix | Delete
* Process Events connector unique ids -- used for message routing
[28] Fix | Delete
*/
[29] Fix | Delete
#define CN_IDX_PROC 0x1
[30] Fix | Delete
#define CN_VAL_PROC 0x1
[31] Fix | Delete
#define CN_IDX_CIFS 0x2
[32] Fix | Delete
#define CN_VAL_CIFS 0x1
[33] Fix | Delete
#define CN_W1_IDX 0x3 /* w1 communication */
[34] Fix | Delete
#define CN_W1_VAL 0x1
[35] Fix | Delete
#define CN_IDX_V86D 0x4
[36] Fix | Delete
#define CN_VAL_V86D_UVESAFB 0x1
[37] Fix | Delete
#define CN_IDX_BB 0x5 /* BlackBoard, from the TSP GPL sampling framework */
[38] Fix | Delete
#define CN_DST_IDX 0x6
[39] Fix | Delete
#define CN_DST_VAL 0x1
[40] Fix | Delete
#define CN_IDX_DM 0x7 /* Device Mapper */
[41] Fix | Delete
#define CN_VAL_DM_USERSPACE_LOG 0x1
[42] Fix | Delete
#define CN_IDX_DRBD 0x8
[43] Fix | Delete
#define CN_VAL_DRBD 0x1
[44] Fix | Delete
#define CN_KVP_IDX 0x9 /* HyperV KVP */
[45] Fix | Delete
#define CN_KVP_VAL 0x1 /* queries from the kernel */
[46] Fix | Delete
#define CN_VSS_IDX 0xA /* HyperV VSS */
[47] Fix | Delete
#define CN_VSS_VAL 0x1 /* queries from the kernel */
[48] Fix | Delete
[49] Fix | Delete
[50] Fix | Delete
#define CN_NETLINK_USERS 11 /* Highest index + 1 */
[51] Fix | Delete
[52] Fix | Delete
/*
[53] Fix | Delete
* Maximum connector's message size.
[54] Fix | Delete
*/
[55] Fix | Delete
#define CONNECTOR_MAX_MSG_SIZE 16384
[56] Fix | Delete
[57] Fix | Delete
/*
[58] Fix | Delete
* idx and val are unique identifiers which
[59] Fix | Delete
* are used for message routing and
[60] Fix | Delete
* must be registered in connector.h for in-kernel usage.
[61] Fix | Delete
*/
[62] Fix | Delete
[63] Fix | Delete
struct cb_id {
[64] Fix | Delete
__u32 idx;
[65] Fix | Delete
__u32 val;
[66] Fix | Delete
};
[67] Fix | Delete
[68] Fix | Delete
struct cn_msg {
[69] Fix | Delete
struct cb_id id;
[70] Fix | Delete
[71] Fix | Delete
__u32 seq;
[72] Fix | Delete
__u32 ack;
[73] Fix | Delete
[74] Fix | Delete
__u16 len; /* Length of the following data */
[75] Fix | Delete
__u16 flags;
[76] Fix | Delete
__u8 data[0];
[77] Fix | Delete
};
[78] Fix | Delete
[79] Fix | Delete
#endif /* __CONNECTOR_H */
[80] Fix | Delete
[81] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function