summaryrefslogtreecommitdiff
path: root/usr.sbin/snmpd/snmpd.h
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2018-02-08 00:21:11 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2018-02-08 00:21:11 +0000
commita810726c48edfdf6b49a44931898561d0df3f3a7 (patch)
tree401d096f27d66cb671683e8f0bd48340a4b4a19f /usr.sbin/snmpd/snmpd.h
parenta8c56aace97607fabf4f96a80fa4bf47f35941bb (diff)
Bump the read sockbuf of the routing socket to 2MB, may help reduce some of
the desync cases. OK benno@
Diffstat (limited to 'usr.sbin/snmpd/snmpd.h')
-rw-r--r--usr.sbin/snmpd/snmpd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/snmpd/snmpd.h b/usr.sbin/snmpd/snmpd.h
index b4e15bbbec1..3e07a58732f 100644
--- a/usr.sbin/snmpd/snmpd.h
+++ b/usr.sbin/snmpd/snmpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: snmpd.h,v 1.76 2017/07/28 13:17:43 florian Exp $ */
+/* $OpenBSD: snmpd.h,v 1.77 2018/02/08 00:21:10 claudio Exp $ */
/*
* Copyright (c) 2007, 2008, 2012 Reyk Floeter <reyk@openbsd.org>
@@ -67,7 +67,7 @@
#define SMALL_READ_BUF_SIZE 1024
#define READ_BUF_SIZE 65535
#define RT_BUF_SIZE 16384
-#define MAX_RTSOCK_BUF (128 * 1024)
+#define MAX_RTSOCK_BUF (2 * 1024 * 1024)
#define SNMP_ENGINEID_OLD 0x00
#define SNMP_ENGINEID_NEW 0x80 /* RFC3411 */