Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/linux
File: psample.h
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
[0] Fix | Delete
#ifndef __UAPI_PSAMPLE_H
[1] Fix | Delete
#define __UAPI_PSAMPLE_H
[2] Fix | Delete
[3] Fix | Delete
enum {
[4] Fix | Delete
PSAMPLE_ATTR_IIFINDEX,
[5] Fix | Delete
PSAMPLE_ATTR_OIFINDEX,
[6] Fix | Delete
PSAMPLE_ATTR_ORIGSIZE,
[7] Fix | Delete
PSAMPLE_ATTR_SAMPLE_GROUP,
[8] Fix | Delete
PSAMPLE_ATTR_GROUP_SEQ,
[9] Fix | Delete
PSAMPLE_ATTR_SAMPLE_RATE,
[10] Fix | Delete
PSAMPLE_ATTR_DATA,
[11] Fix | Delete
PSAMPLE_ATTR_GROUP_REFCOUNT,
[12] Fix | Delete
PSAMPLE_ATTR_TUNNEL,
[13] Fix | Delete
[14] Fix | Delete
PSAMPLE_ATTR_PAD,
[15] Fix | Delete
PSAMPLE_ATTR_OUT_TC, /* u16 */
[16] Fix | Delete
PSAMPLE_ATTR_OUT_TC_OCC, /* u64, bytes */
[17] Fix | Delete
PSAMPLE_ATTR_LATENCY, /* u64, nanoseconds */
[18] Fix | Delete
PSAMPLE_ATTR_TIMESTAMP, /* u64, nanoseconds */
[19] Fix | Delete
PSAMPLE_ATTR_PROTO, /* u16 */
[20] Fix | Delete
[21] Fix | Delete
__PSAMPLE_ATTR_MAX
[22] Fix | Delete
};
[23] Fix | Delete
[24] Fix | Delete
enum psample_command {
[25] Fix | Delete
PSAMPLE_CMD_SAMPLE,
[26] Fix | Delete
PSAMPLE_CMD_GET_GROUP,
[27] Fix | Delete
PSAMPLE_CMD_NEW_GROUP,
[28] Fix | Delete
PSAMPLE_CMD_DEL_GROUP,
[29] Fix | Delete
};
[30] Fix | Delete
[31] Fix | Delete
enum psample_tunnel_key_attr {
[32] Fix | Delete
PSAMPLE_TUNNEL_KEY_ATTR_ID, /* be64 Tunnel ID */
[33] Fix | Delete
PSAMPLE_TUNNEL_KEY_ATTR_IPV4_SRC, /* be32 src IP address. */
[34] Fix | Delete
PSAMPLE_TUNNEL_KEY_ATTR_IPV4_DST, /* be32 dst IP address. */
[35] Fix | Delete
PSAMPLE_TUNNEL_KEY_ATTR_TOS, /* u8 Tunnel IP ToS. */
[36] Fix | Delete
PSAMPLE_TUNNEL_KEY_ATTR_TTL, /* u8 Tunnel IP TTL. */
[37] Fix | Delete
PSAMPLE_TUNNEL_KEY_ATTR_DONT_FRAGMENT, /* No argument, set DF. */
[38] Fix | Delete
PSAMPLE_TUNNEL_KEY_ATTR_CSUM, /* No argument. CSUM packet. */
[39] Fix | Delete
PSAMPLE_TUNNEL_KEY_ATTR_OAM, /* No argument. OAM frame. */
[40] Fix | Delete
PSAMPLE_TUNNEL_KEY_ATTR_GENEVE_OPTS, /* Array of Geneve options. */
[41] Fix | Delete
PSAMPLE_TUNNEL_KEY_ATTR_TP_SRC, /* be16 src Transport Port. */
[42] Fix | Delete
PSAMPLE_TUNNEL_KEY_ATTR_TP_DST, /* be16 dst Transport Port. */
[43] Fix | Delete
PSAMPLE_TUNNEL_KEY_ATTR_VXLAN_OPTS, /* Nested VXLAN opts* */
[44] Fix | Delete
PSAMPLE_TUNNEL_KEY_ATTR_IPV6_SRC, /* struct in6_addr src IPv6 address. */
[45] Fix | Delete
PSAMPLE_TUNNEL_KEY_ATTR_IPV6_DST, /* struct in6_addr dst IPv6 address. */
[46] Fix | Delete
PSAMPLE_TUNNEL_KEY_ATTR_PAD,
[47] Fix | Delete
PSAMPLE_TUNNEL_KEY_ATTR_ERSPAN_OPTS, /* struct erspan_metadata */
[48] Fix | Delete
PSAMPLE_TUNNEL_KEY_ATTR_IPV4_INFO_BRIDGE, /* No argument. IPV4_INFO_BRIDGE mode.*/
[49] Fix | Delete
__PSAMPLE_TUNNEL_KEY_ATTR_MAX
[50] Fix | Delete
};
[51] Fix | Delete
[52] Fix | Delete
/* Can be overridden at runtime by module option */
[53] Fix | Delete
#define PSAMPLE_ATTR_MAX (__PSAMPLE_ATTR_MAX - 1)
[54] Fix | Delete
[55] Fix | Delete
#define PSAMPLE_NL_MCGRP_CONFIG_NAME "config"
[56] Fix | Delete
#define PSAMPLE_NL_MCGRP_SAMPLE_NAME "packets"
[57] Fix | Delete
#define PSAMPLE_GENL_NAME "psample"
[58] Fix | Delete
#define PSAMPLE_GENL_VERSION 1
[59] Fix | Delete
[60] Fix | Delete
#endif
[61] Fix | Delete
[62] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function