From owner-p4-projects@FreeBSD.ORG Sun Jul 10 18:07:29 2005 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id EC91616A420; Sun, 10 Jul 2005 18:07:28 +0000 (GMT) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA67E16A41C for ; Sun, 10 Jul 2005 18:07:28 +0000 (GMT) (envelope-from soc-victor@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5017943D45 for ; Sun, 10 Jul 2005 18:07:28 +0000 (GMT) (envelope-from soc-victor@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j6AI7S9R019580 for ; Sun, 10 Jul 2005 18:07:28 GMT (envelope-from soc-victor@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j6AI7S0M019577 for perforce@freebsd.org; Sun, 10 Jul 2005 18:07:28 GMT (envelope-from soc-victor@freebsd.org) Date: Sun, 10 Jul 2005 18:07:28 GMT Message-Id: <200507101807.j6AI7S0M019577@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to soc-victor@freebsd.org using -f From: soc-victor To: Perforce Change Reviews Cc: Subject: PERFORCE change 79935 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jul 2005 18:07:30 -0000 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