summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2004-01-23 11:08:47 +0000
committerharti <harti@FreeBSD.org>2004-01-23 11:08:47 +0000
commit02c00b4d8aa516fa6e9cb73181cd1e7119a10be5 (patch)
treea21788ac1c6c7814a42af55aca0db4560719d399 /usr.sbin
parent243855a0bf59ca98353dd9bb20455c44bfaad0e3 (diff)
downloadFreeBSD-src-02c00b4d8aa516fa6e9cb73181cd1e7119a10be5.zip
FreeBSD-src-02c00b4d8aa516fa6e9cb73181cd1e7119a10be5.tar.gz
Update generated files.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/bsnmpd/bsnmpd/oid.h9
-rw-r--r--usr.sbin/bsnmpd/bsnmpd/tree.c6
-rw-r--r--usr.sbin/bsnmpd/bsnmpd/tree.h9
3 files changed, 21 insertions, 3 deletions
diff --git a/usr.sbin/bsnmpd/bsnmpd/oid.h b/usr.sbin/bsnmpd/bsnmpd/oid.h
index f7e86f6..c3e8f6b 100644
--- a/usr.sbin/bsnmpd/bsnmpd/oid.h
+++ b/usr.sbin/bsnmpd/bsnmpd/oid.h
@@ -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, } }
diff --git a/usr.sbin/bsnmpd/bsnmpd/tree.c b/usr.sbin/bsnmpd/bsnmpd/tree.c
index 25f5e74..f03c058 100644
--- a/usr.sbin/bsnmpd/bsnmpd/tree.c
+++ b/usr.sbin/bsnmpd/bsnmpd/tree.c
@@ -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 },
};
diff --git a/usr.sbin/bsnmpd/bsnmpd/tree.h b/usr.sbin/bsnmpd/bsnmpd/tree.h
index 95cf26c..3b2f29a 100644
--- a/usr.sbin/bsnmpd/bsnmpd/tree.h
+++ b/usr.sbin/bsnmpd/bsnmpd/tree.h
@@ -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[];
OpenPOWER on IntegriCloud