1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00
freebsd/usr.sbin/bsnmpd/modules
Andrey V. Elsukov 8f64015c0e Use full buffer size in read(2) call, there is no need to preserve the
last byte of the buffer.

Since we call refresh_device_tbl() for any devctl event types - no need
to check the first byte of buffer. Remove these checks.

Also remove logging for the case of unknown devd message. It incorrectly
triggers when all devctl events are not fit into one buffer and part of
unread data will be read in the next pass.

When length of data readed from devctl is equal to sizeof(buf), then try
to read from socket again, to read full data.

MFC after:	2 weeks
2011-07-11 12:51:35 +00:00
..
snmp_atm
snmp_bridge [mdoc] Fixed .Dt call. 2011-05-25 14:13:53 +00:00
snmp_hostres Use full buffer size in read(2) call, there is no need to preserve the 2011-07-11 12:51:35 +00:00
snmp_mibII
snmp_netgraph
snmp_pf In bsnmpd(1) add support for SNMPv3 message processing model, including message authentication, packet encryption & view-based access control (RFC 3412, 3414, 3415). 2010-12-08 13:51:38 +00:00
snmp_target Bring in a SNMP module that allows configuration of SNMPv3 Notification targets. 2010-12-20 17:13:14 +00:00
snmp_usm In bsnmpd(1) add support for SNMPv3 message processing model, including message authentication, packet encryption & view-based access control (RFC 3412, 3414, 3415). 2010-12-08 13:51:38 +00:00
snmp_vacm In bsnmpd(1) add support for SNMPv3 message processing model, including message authentication, packet encryption & view-based access control (RFC 3412, 3414, 3415). 2010-12-08 13:51:38 +00:00
snmp_wlan Remove redundant assignments to WARNS. 2011-06-06 20:24:17 +00:00
Makefile Bring in a SNMP module that allows configuration of SNMPv3 Notification targets. 2010-12-20 17:13:14 +00:00
Makefile.inc