Date: Sun, 10 Jul 2005 18:07:28 GMT From: soc-victor <soc-victor@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 79935 for review Message-ID: <200507101807.j6AI7S0M019577@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=79935 Change 79935 by soc-victor@soc-victor_82.76.158.176 on 2005/07/10 18:06:47 Added the boiler-plate code for the HOST-RESOURCES-MIB module. First ( partial ) implementation for the HOST-RESOURCES-MIB's scalars: only SNMP GET operation is supported; also HOST-RESOURCES-MIB::hrSystemInitialLoadDevice is not implemented as it depends on a SNMP table which is not implemented yet. Affected files ... .. //depot/projects/soc2005/bsnmp/usr.sbin/bsnmpd/modules/Makefile#3 edit .. //depot/projects/soc2005/bsnmp/usr.sbin/bsnmpd/modules/snmp_hostres/Makefile#2 edit .. //depot/projects/soc2005/bsnmp/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_scalars.c#1 add .. //depot/projects/soc2005/bsnmp/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_snmp.c#1 add .. //depot/projects/soc2005/bsnmp/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_snmp.h#1 add Differences ... ==== //depot/projects/soc2005/bsnmp/usr.sbin/bsnmpd/modules/Makefile#3 (text+ko) ==== @@ -7,10 +7,10 @@ .endif SUBDIR= ${_snmp_atm} \ + snmp_hostres \ snmp_mibII \ snmp_netgraph \ - snmp_pf \ - snmp_hostres + snmp_pf INCS= snmpmod.h INCSDIR= ${INCLUDEDIR}/bsnmp ==== //depot/projects/soc2005/bsnmp/usr.sbin/bsnmpd/modules/snmp_hostres/Makefile#2 (text+ko) ==== @@ -6,9 +6,9 @@ CONTRIB=${.CURDIR}/../../../../contrib/bsnmp MOD= hostres -SRCS= +SRCS= hostres_snmp.c hostres_scalars.c WARNS?= 6 - +CFLAGS+= -DNDEBUG XSYM= host hrStorageOther hrStorageRam hrStorageVirtualMemory \ hrStorageFixedDisk hrStorageRemovableDisk hrStorageFloppyDisk \ hrStorageCompactDisc hrStorageRamDisk hrStorageFlashMemory \ @@ -26,5 +26,5 @@ DEFS= ${MOD}_tree.def BMIBS= HOST-RESOURCES-MIB.txt HOST-RESOURCES-TYPES.txt - +LDADD= -lkvm .include <bsd.lib.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507101807.j6AI7S0M019577>