mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-18 15:30:21 +00:00
Update generated files.
This commit is contained in:
parent
ec8a2cd977
commit
006d70f8ec
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=124868
@ -24,3 +24,12 @@
|
||||
#define OID_authenticationFailure 5
|
||||
#define OIDLEN_authenticationFailure 10
|
||||
#define OIDX_authenticationFailure { 10, { 1, 3, 6, 1, 6, 3, 1, 1, 5, 5, } }
|
||||
#define OID_begemotSnmpdTransUdp 2
|
||||
#define OIDLEN_begemotSnmpdTransUdp 12
|
||||
#define OIDX_begemotSnmpdTransUdp { 12, { 1, 3, 6, 1, 4, 1, 12325, 1, 1, 1, 10, 2, } }
|
||||
#define OID_begemotSnmpdTransLsock 3
|
||||
#define OIDLEN_begemotSnmpdTransLsock 12
|
||||
#define OIDX_begemotSnmpdTransLsock { 12, { 1, 3, 6, 1, 4, 1, 12325, 1, 1, 1, 10, 3, } }
|
||||
#define OID_begemotSnmpdLocalPortTable 9
|
||||
#define OIDLEN_begemotSnmpdLocalPortTable 11
|
||||
#define OIDX_begemotSnmpdLocalPortTable { 11, { 1, 3, 6, 1, 4, 1, 12325, 1, 1, 1, 9, } }
|
||||
|
@ -31,6 +31,7 @@ const struct snmp_node ctree[] = {
|
||||
{{ 12, { 1, 3, 6, 1, 4, 1, 12325, 1, 1, 1, 1, 2, }}, "begemotSnmpdReceiveBuffer", SNMP_NODE_LEAF, SNMP_SYNTAX_INTEGER, op_snmpd_config, 0|SNMP_NODE_CANSET, 0, NULL },
|
||||
{{ 12, { 1, 3, 6, 1, 4, 1, 12325, 1, 1, 1, 1, 3, }}, "begemotSnmpdCommunityDisable", SNMP_NODE_LEAF, SNMP_SYNTAX_INTEGER, op_snmpd_config, 0|SNMP_NODE_CANSET, 0, NULL },
|
||||
{{ 12, { 1, 3, 6, 1, 4, 1, 12325, 1, 1, 1, 1, 4, }}, "begemotSnmpdTrap1Addr", SNMP_NODE_LEAF, SNMP_SYNTAX_IPADDRESS, op_snmpd_config, 0|SNMP_NODE_CANSET, 0, NULL },
|
||||
{{ 12, { 1, 3, 6, 1, 4, 1, 12325, 1, 1, 1, 1, 5, }}, "begemotSnmpdVersionEnable", SNMP_NODE_LEAF, SNMP_SYNTAX_GAUGE, op_snmpd_config, 0|SNMP_NODE_CANSET, 0, NULL },
|
||||
{{ 13, { 1, 3, 6, 1, 4, 1, 12325, 1, 1, 1, 2, 1, 3, }}, "begemotTrapSinkStatus", SNMP_NODE_COLUMN, SNMP_SYNTAX_INTEGER, op_trapsink, 0|SNMP_NODE_CANSET, 0x142, NULL },
|
||||
{{ 13, { 1, 3, 6, 1, 4, 1, 12325, 1, 1, 1, 2, 1, 4, }}, "begemotTrapSinkComm", SNMP_NODE_COLUMN, SNMP_SYNTAX_OCTETSTRING, op_trapsink, 0|SNMP_NODE_CANSET, 0x142, NULL },
|
||||
{{ 13, { 1, 3, 6, 1, 4, 1, 12325, 1, 1, 1, 2, 1, 5, }}, "begemotTrapSinkVersion", SNMP_NODE_COLUMN, SNMP_SYNTAX_INTEGER, op_trapsink, 0|SNMP_NODE_CANSET, 0x142, NULL },
|
||||
@ -46,7 +47,10 @@ const struct snmp_node ctree[] = {
|
||||
{{ 12, { 1, 3, 6, 1, 4, 1, 12325, 1, 1, 1, 8, 1, }}, "begemotSnmpdDebugDumpPdus", SNMP_NODE_LEAF, SNMP_SYNTAX_INTEGER, op_debug, 0|SNMP_NODE_CANSET, 0, NULL },
|
||||
{{ 12, { 1, 3, 6, 1, 4, 1, 12325, 1, 1, 1, 8, 2, }}, "begemotSnmpdDebugSnmpTrace", SNMP_NODE_LEAF, SNMP_SYNTAX_GAUGE, op_debug, 0|SNMP_NODE_CANSET, 0, NULL },
|
||||
{{ 12, { 1, 3, 6, 1, 4, 1, 12325, 1, 1, 1, 8, 3, }}, "begemotSnmpdDebugSyslogPri", SNMP_NODE_LEAF, SNMP_SYNTAX_INTEGER, op_debug, 0|SNMP_NODE_CANSET, 0, NULL },
|
||||
{{ 13, { 1, 3, 6, 1, 4, 1, 12325, 1, 1, 1, 9, 1, 2, }}, "begemotSnmpdLocalPortStatus", SNMP_NODE_COLUMN, SNMP_SYNTAX_INTEGER, op_local_port, 0|SNMP_NODE_CANSET, 0x21, NULL },
|
||||
{{ 13, { 1, 3, 6, 1, 4, 1, 12325, 1, 1, 1, 9, 1, 2, }}, "begemotSnmpdLocalPortStatus", SNMP_NODE_COLUMN, SNMP_SYNTAX_INTEGER, op_lsock_port, 0|SNMP_NODE_CANSET, 0x21, NULL },
|
||||
{{ 13, { 1, 3, 6, 1, 4, 1, 12325, 1, 1, 1, 9, 1, 3, }}, "begemotSnmpdLocalPortType", SNMP_NODE_COLUMN, SNMP_SYNTAX_INTEGER, op_lsock_port, 0|SNMP_NODE_CANSET, 0x21, NULL },
|
||||
{{ 14, { 1, 3, 6, 1, 4, 1, 12325, 1, 1, 1, 10, 1, 1, 2, }}, "begemotSnmpdTransportStatus", SNMP_NODE_COLUMN, SNMP_SYNTAX_INTEGER, op_transport_table, 0, 0x21, NULL },
|
||||
{{ 14, { 1, 3, 6, 1, 4, 1, 12325, 1, 1, 1, 10, 1, 1, 3, }}, "begemotSnmpdTransportOid", SNMP_NODE_COLUMN, SNMP_SYNTAX_OID, op_transport_table, 0, 0x21, NULL },
|
||||
{{ 10, { 1, 3, 6, 1, 6, 3, 1, 1, 6, 1, }}, "snmpSetSerialNo", SNMP_NODE_LEAF, SNMP_SYNTAX_INTEGER, op_snmp_set, 0|SNMP_NODE_CANSET, 0, NULL },
|
||||
};
|
||||
|
||||
|
@ -27,6 +27,7 @@ int op_snmpd_config(struct snmp_context *, struct snmp_value *, u_int, u_int, en
|
||||
# define LEAF_begemotSnmpdReceiveBuffer 2
|
||||
# define LEAF_begemotSnmpdCommunityDisable 3
|
||||
# define LEAF_begemotSnmpdTrap1Addr 4
|
||||
# define LEAF_begemotSnmpdVersionEnable 5
|
||||
int op_trapsink(struct snmp_context *, struct snmp_value *, u_int, u_int, enum snmp_op);
|
||||
# define LEAF_begemotTrapSinkStatus 3
|
||||
# define LEAF_begemotTrapSinkComm 4
|
||||
@ -48,9 +49,13 @@ int op_debug(struct snmp_context *, struct snmp_value *, u_int, u_int, enum snmp
|
||||
# define LEAF_begemotSnmpdDebugDumpPdus 1
|
||||
# define LEAF_begemotSnmpdDebugSnmpTrace 2
|
||||
# define LEAF_begemotSnmpdDebugSyslogPri 3
|
||||
int op_local_port(struct snmp_context *, struct snmp_value *, u_int, u_int, enum snmp_op);
|
||||
int op_lsock_port(struct snmp_context *, struct snmp_value *, u_int, u_int, enum snmp_op);
|
||||
# define LEAF_begemotSnmpdLocalPortStatus 2
|
||||
# define LEAF_begemotSnmpdLocalPortType 3
|
||||
int op_transport_table(struct snmp_context *, struct snmp_value *, u_int, u_int, enum snmp_op);
|
||||
# define LEAF_begemotSnmpdTransportStatus 2
|
||||
# define LEAF_begemotSnmpdTransportOid 3
|
||||
int op_snmp_set(struct snmp_context *, struct snmp_value *, u_int, u_int, enum snmp_op);
|
||||
# define LEAF_snmpSetSerialNo 1
|
||||
#define CTREE_SIZE 40
|
||||
#define CTREE_SIZE 44
|
||||
extern const struct snmp_node ctree[];
|
||||
|
Loading…
Reference in New Issue
Block a user