Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/linux
File: ncsi.h
/*
[0] Fix | Delete
* Copyright Samuel Mendoza-Jonas, IBM Corporation 2018.
[1] Fix | Delete
*
[2] Fix | Delete
* This program is free software; you can redistribute it and/or modify
[3] Fix | Delete
* it under the terms of the GNU General Public License as published by
[4] Fix | Delete
* the Free Software Foundation; either version 2 of the License, or
[5] Fix | Delete
* (at your option) any later version.
[6] Fix | Delete
*/
[7] Fix | Delete
[8] Fix | Delete
#ifndef __UAPI_NCSI_NETLINK_H__
[9] Fix | Delete
#define __UAPI_NCSI_NETLINK_H__
[10] Fix | Delete
[11] Fix | Delete
/**
[12] Fix | Delete
* enum ncsi_nl_commands - supported NCSI commands
[13] Fix | Delete
*
[14] Fix | Delete
* @NCSI_CMD_UNSPEC: unspecified command to catch errors
[15] Fix | Delete
* @NCSI_CMD_PKG_INFO: list package and channel attributes. Requires
[16] Fix | Delete
* NCSI_ATTR_IFINDEX. If NCSI_ATTR_PACKAGE_ID is specified returns the
[17] Fix | Delete
* specific package and its channels - otherwise a dump request returns
[18] Fix | Delete
* all packages and their associated channels.
[19] Fix | Delete
* @NCSI_CMD_SET_INTERFACE: set preferred package and channel combination.
[20] Fix | Delete
* Requires NCSI_ATTR_IFINDEX and the preferred NCSI_ATTR_PACKAGE_ID and
[21] Fix | Delete
* optionally the preferred NCSI_ATTR_CHANNEL_ID.
[22] Fix | Delete
* @NCSI_CMD_CLEAR_INTERFACE: clear any preferred package/channel combination.
[23] Fix | Delete
* Requires NCSI_ATTR_IFINDEX.
[24] Fix | Delete
* @NCSI_CMD_MAX: highest command number
[25] Fix | Delete
*/
[26] Fix | Delete
enum ncsi_nl_commands {
[27] Fix | Delete
NCSI_CMD_UNSPEC,
[28] Fix | Delete
NCSI_CMD_PKG_INFO,
[29] Fix | Delete
NCSI_CMD_SET_INTERFACE,
[30] Fix | Delete
NCSI_CMD_CLEAR_INTERFACE,
[31] Fix | Delete
[32] Fix | Delete
__NCSI_CMD_AFTER_LAST,
[33] Fix | Delete
NCSI_CMD_MAX = __NCSI_CMD_AFTER_LAST - 1
[34] Fix | Delete
};
[35] Fix | Delete
[36] Fix | Delete
/**
[37] Fix | Delete
* enum ncsi_nl_attrs - General NCSI netlink attributes
[38] Fix | Delete
*
[39] Fix | Delete
* @NCSI_ATTR_UNSPEC: unspecified attributes to catch errors
[40] Fix | Delete
* @NCSI_ATTR_IFINDEX: ifindex of network device using NCSI
[41] Fix | Delete
* @NCSI_ATTR_PACKAGE_LIST: nested array of NCSI_PKG_ATTR attributes
[42] Fix | Delete
* @NCSI_ATTR_PACKAGE_ID: package ID
[43] Fix | Delete
* @NCSI_ATTR_CHANNEL_ID: channel ID
[44] Fix | Delete
* @NCSI_ATTR_MAX: highest attribute number
[45] Fix | Delete
*/
[46] Fix | Delete
enum ncsi_nl_attrs {
[47] Fix | Delete
NCSI_ATTR_UNSPEC,
[48] Fix | Delete
NCSI_ATTR_IFINDEX,
[49] Fix | Delete
NCSI_ATTR_PACKAGE_LIST,
[50] Fix | Delete
NCSI_ATTR_PACKAGE_ID,
[51] Fix | Delete
NCSI_ATTR_CHANNEL_ID,
[52] Fix | Delete
[53] Fix | Delete
__NCSI_ATTR_AFTER_LAST,
[54] Fix | Delete
NCSI_ATTR_MAX = __NCSI_ATTR_AFTER_LAST - 1
[55] Fix | Delete
};
[56] Fix | Delete
[57] Fix | Delete
/**
[58] Fix | Delete
* enum ncsi_nl_pkg_attrs - NCSI netlink package-specific attributes
[59] Fix | Delete
*
[60] Fix | Delete
* @NCSI_PKG_ATTR_UNSPEC: unspecified attributes to catch errors
[61] Fix | Delete
* @NCSI_PKG_ATTR: nested array of package attributes
[62] Fix | Delete
* @NCSI_PKG_ATTR_ID: package ID
[63] Fix | Delete
* @NCSI_PKG_ATTR_FORCED: flag signifying a package has been set as preferred
[64] Fix | Delete
* @NCSI_PKG_ATTR_CHANNEL_LIST: nested array of NCSI_CHANNEL_ATTR attributes
[65] Fix | Delete
* @NCSI_PKG_ATTR_MAX: highest attribute number
[66] Fix | Delete
*/
[67] Fix | Delete
enum ncsi_nl_pkg_attrs {
[68] Fix | Delete
NCSI_PKG_ATTR_UNSPEC,
[69] Fix | Delete
NCSI_PKG_ATTR,
[70] Fix | Delete
NCSI_PKG_ATTR_ID,
[71] Fix | Delete
NCSI_PKG_ATTR_FORCED,
[72] Fix | Delete
NCSI_PKG_ATTR_CHANNEL_LIST,
[73] Fix | Delete
[74] Fix | Delete
__NCSI_PKG_ATTR_AFTER_LAST,
[75] Fix | Delete
NCSI_PKG_ATTR_MAX = __NCSI_PKG_ATTR_AFTER_LAST - 1
[76] Fix | Delete
};
[77] Fix | Delete
[78] Fix | Delete
/**
[79] Fix | Delete
* enum ncsi_nl_channel_attrs - NCSI netlink channel-specific attributes
[80] Fix | Delete
*
[81] Fix | Delete
* @NCSI_CHANNEL_ATTR_UNSPEC: unspecified attributes to catch errors
[82] Fix | Delete
* @NCSI_CHANNEL_ATTR: nested array of channel attributes
[83] Fix | Delete
* @NCSI_CHANNEL_ATTR_ID: channel ID
[84] Fix | Delete
* @NCSI_CHANNEL_ATTR_VERSION_MAJOR: channel major version number
[85] Fix | Delete
* @NCSI_CHANNEL_ATTR_VERSION_MINOR: channel minor version number
[86] Fix | Delete
* @NCSI_CHANNEL_ATTR_VERSION_STR: channel version string
[87] Fix | Delete
* @NCSI_CHANNEL_ATTR_LINK_STATE: channel link state flags
[88] Fix | Delete
* @NCSI_CHANNEL_ATTR_ACTIVE: channels with this flag are in
[89] Fix | Delete
* NCSI_CHANNEL_ACTIVE state
[90] Fix | Delete
* @NCSI_CHANNEL_ATTR_FORCED: flag signifying a channel has been set as
[91] Fix | Delete
* preferred
[92] Fix | Delete
* @NCSI_CHANNEL_ATTR_VLAN_LIST: nested array of NCSI_CHANNEL_ATTR_VLAN_IDs
[93] Fix | Delete
* @NCSI_CHANNEL_ATTR_VLAN_ID: VLAN ID being filtered on this channel
[94] Fix | Delete
* @NCSI_CHANNEL_ATTR_MAX: highest attribute number
[95] Fix | Delete
*/
[96] Fix | Delete
enum ncsi_nl_channel_attrs {
[97] Fix | Delete
NCSI_CHANNEL_ATTR_UNSPEC,
[98] Fix | Delete
NCSI_CHANNEL_ATTR,
[99] Fix | Delete
NCSI_CHANNEL_ATTR_ID,
[100] Fix | Delete
NCSI_CHANNEL_ATTR_VERSION_MAJOR,
[101] Fix | Delete
NCSI_CHANNEL_ATTR_VERSION_MINOR,
[102] Fix | Delete
NCSI_CHANNEL_ATTR_VERSION_STR,
[103] Fix | Delete
NCSI_CHANNEL_ATTR_LINK_STATE,
[104] Fix | Delete
NCSI_CHANNEL_ATTR_ACTIVE,
[105] Fix | Delete
NCSI_CHANNEL_ATTR_FORCED,
[106] Fix | Delete
NCSI_CHANNEL_ATTR_VLAN_LIST,
[107] Fix | Delete
NCSI_CHANNEL_ATTR_VLAN_ID,
[108] Fix | Delete
[109] Fix | Delete
__NCSI_CHANNEL_ATTR_AFTER_LAST,
[110] Fix | Delete
NCSI_CHANNEL_ATTR_MAX = __NCSI_CHANNEL_ATTR_AFTER_LAST - 1
[111] Fix | Delete
};
[112] Fix | Delete
[113] Fix | Delete
#endif /* __UAPI_NCSI_NETLINK_H__ */
[114] Fix | Delete
[115] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function