diff -c -r old/Makefile new/Makefile *** old/Makefile Sun Jan 15 20:07:57 1989 --- new/Makefile Fri May 17 16:19:31 1991 *************** *** 1,11 **** # ! # $Header: Makefile,v 1.1 89/01/15 20:07:57 jrd Exp $ # Author: J. Davin # Copyright 1988, 1989, Massachusetts Institute of Technology # See permission and disclaimer notice in file "notice.h" # LIBS = snmp \ bsd --- 1,16 ---- # ! # $Header: Makefile,v 3.0 91/05/17 16:19:20 jrd Exp $ # Author: J. Davin # Copyright 1988, 1989, Massachusetts Institute of Technology # See permission and disclaimer notice in file "notice.h" # + # + # Define RCS revison number for this release + # + VERSION = 3.0 + LIBS = snmp \ bsd *************** *** 19,29 **** avltest \ smptest \ snmpd \ doc CFLAGS = -O CDEFS = -DINLINE ! RCSCMD = CCARGS = 'CFLAGS=$(CFLAGS)' 'CDEFS=$(CDEFS)' all: --- 24,35 ---- avltest \ smptest \ snmpd \ + scripts \ doc CFLAGS = -O CDEFS = -DINLINE ! RCSCMD = rlog -L CCARGS = 'CFLAGS=$(CFLAGS)' 'CDEFS=$(CDEFS)' all: *************** *** 31,36 **** --- 37,68 ---- do \ ( echo $$i ; cd $$i ; \ make $(MFLAGS) $(CCARGS) all ); \ + done + + tree: + @for i in $(TARGETS); \ + do \ + ( echo $$i ; mkdir $$i ; \ + cd $$i ; ln -s ../RCSTREE/$$i RCS ; \ + co Makefile ); \ + done + + release: + @for i in $(TARGETS); \ + do \ + ( echo $$i ; cd $$i ; \ + make $(MFLAGS) 'RCSCMD=co -l' rcs ; ) \ + done + @for i in $(TARGETS); \ + do \ + ( echo $$i ; cd $$i ; \ + make $(MFLAGS) depend ; \ + rm -f Makefile.bak ) \ + done + @for i in $(TARGETS); \ + do \ + ( echo $$i ; cd $$i ; \ + make $(MFLAGS) 'RCSCMD=ci -u -f$(VERSION) "-mReleased Version" -sRel' rcs ; ) \ done clean: Common subdirectories: old/asntest and new/asntest Common subdirectories: old/avltest and new/avltest Common subdirectories: old/bsd and new/bsd Common subdirectories: old/doc and new/doc Common subdirectories: old/scripts and new/scripts Common subdirectories: old/smptest and new/smptest Common subdirectories: old/snmp and new/snmp Common subdirectories: old/snmpd and new/snmpd Common subdirectories: old/snmpget and new/snmpget Common subdirectories: old/snmpnext and new/snmpnext Common subdirectories: old/snmpset and new/snmpset Common subdirectories: old/snmptrap and new/snmptrap Common subdirectories: old/snmptrapd and new/snmptrapd diff -c -r old/asntest/Makefile new/asntest/Makefile *** old/asntest/Makefile Sun Jan 15 20:37:38 1989 --- new/asntest/Makefile Fri May 17 16:15:12 1991 *************** *** 1,6 **** # ! # $Header: Makefile,v 1.1 89/01/15 20:37:37 jrd Exp $ # Author: J. Davin # Copyright 1988, 1989, Massachusetts Institute of Technology # See permission and disclaimer notice in file "notice.h" --- 1,6 ---- # ! # $Header: Makefile,v 3.0 91/05/17 16:15:12 jrd Rel $ # Author: J. Davin # Copyright 1988, 1989, Massachusetts Institute of Technology # See permission and disclaimer notice in file "notice.h" diff -c -r old/asntest/asntest.c new/asntest/asntest.c *** old/asntest/asntest.c Wed Jan 11 22:11:49 1989 --- new/asntest/asntest.c Fri May 17 16:15:14 1991 *************** *** 1,7 **** /* ! * $Header: asntest.c,v 1.1 89/01/11 22:11:49 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 1,7 ---- /* ! * $Header: asntest.c,v 3.0 91/05/17 16:15:13 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/avltest/Makefile new/avltest/Makefile *** old/avltest/Makefile Sat Jan 14 16:53:56 1989 --- new/avltest/Makefile Fri May 17 16:15:16 1991 *************** *** 1,6 **** # ! # $Header: Makefile,v 1.1 89/01/11 22:11:53 jrd Exp $ # Author: J. Davin # Copyright 1988, 1989, Massachusetts Institute of Technology # See permission and disclaimer notice in file "notice.h" --- 1,6 ---- # ! # $Header: Makefile,v 3.0 91/05/17 16:15:15 jrd Rel $ # Author: J. Davin # Copyright 1988, 1989, Massachusetts Institute of Technology # See permission and disclaimer notice in file "notice.h" diff -c -r old/avltest/avltest.c new/avltest/avltest.c *** old/avltest/avltest.c Wed Jan 11 22:11:56 1989 --- new/avltest/avltest.c Fri May 17 16:15:17 1991 *************** *** 1,6 **** /* ! * $Header: avltest.c,v 1.1 89/01/11 22:11:55 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 1,6 ---- /* ! * $Header: avltest.c,v 3.0 91/05/17 16:15:16 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/bsd/Makefile new/bsd/Makefile *** old/bsd/Makefile Sun Jan 15 20:36:30 1989 --- new/bsd/Makefile Fri May 17 16:14:05 1991 *************** *** 1,6 **** # ! # $Header: Makefile,v 1.1 89/01/15 20:36:28 jrd Exp $ # Author: J. Davin # Copyright 1988, 1989, Massachusetts Institute of Technology # See permission and disclaimer notice in file "notice.h" --- 1,6 ---- # ! # $Header: Makefile,v 3.0 91/05/17 16:14:03 jrd Rel $ # Author: J. Davin # Copyright 1988, 1989, Massachusetts Institute of Technology # See permission and disclaimer notice in file "notice.h" *************** *** 24,31 **** # values is omitted. # ! CFLAGS = -O ! CDEFS = -DINLINE RCSCMD = rlog -L -h LLIBSNMP = ../snmp/llib-lsnmp.ln --- 24,31 ---- # values is omitted. # ! CFLAGS = -g ! CDEFS = RCSCMD = rlog -L -h LLIBSNMP = ../snmp/llib-lsnmp.ln *************** *** 34,60 **** OBJECTS = host.o \ udp.o \ systm.o \ rte.o \ icmp.o \ kmem.o \ ! tcp.o SOURCES = host.c \ udp.c \ systm.c \ rte.c \ icmp.c \ kmem.c \ ! tcp.c HEADERS = host.h \ udp.h \ systm.h \ rte.h \ icmp.h \ kmem.h \ ! tcp.h .c.o: cc $(CFLAGS) $(CDEFS) $(INCDIRS) -c $< --- 34,66 ---- OBJECTS = host.o \ udp.o \ + udps.o \ systm.o \ rte.o \ icmp.o \ kmem.o \ ! tcp.o \ ! if.o SOURCES = host.c \ udp.c \ + udps.c \ systm.c \ rte.c \ icmp.c \ kmem.c \ ! tcp.c \ ! if.c HEADERS = host.h \ udp.h \ + udps.h \ systm.h \ rte.h \ icmp.h \ kmem.h \ ! tcp.h \ ! if.h .c.o: cc $(CFLAGS) $(CDEFS) $(INCDIRS) -c $< *************** *** 94,123 **** udp.o: ../snmp/notice.h /usr/include/sys/types.h /usr/include/sys/socket.h udp.o: /usr/include/netinet/in.h ../snmp/ctypes.h ../snmp/debug.h udp.o: ../snmp/local.h udp.h ../snmp/smp.h ../snmp/error.h ../snmp/aps.h ! udp.o: ../snmp/asn.h ../snmp/asndefs.h ../snmp/asl.h ../snmp/asldefs.h systm.o: ../snmp/notice.h /usr/include/sys/param.h systm.o: /usr/include/machine/machparam.h /usr/include/sys/signal.h systm.o: /usr/include/sys/types.h /usr/include/sys/time.h systm.o: /usr/include/sys/time.h /usr/include/nlist.h /usr/include/stdio.h systm.o: ../snmp/ctypes.h ../snmp/local.h ../snmp/debug.h ../snmp/miv.h ! systm.o: ../snmp/mix.h ../snmp/error.h ../snmp/asn.h ../snmp/asndefs.h ! systm.o: ../snmp/asl.h ../snmp/asldefs.h ../snmp/smp.h ../snmp/aps.h ! systm.o: ../snmp/mis.h systm.h kmem.h rte.o: ../snmp/notice.h /usr/include/sys/types.h /usr/include/nlist.h rte.o: /usr/include/sys/mbuf.h /usr/include/sys/socket.h rte.o: /usr/include/netinet/in.h /usr/include/net/route.h ../snmp/ctypes.h rte.o: ../snmp/error.h ../snmp/debug.h ../snmp/local.h ../snmp/mix.h ! rte.o: ../snmp/asn.h ../snmp/asndefs.h ../snmp/asl.h ../snmp/asldefs.h ! rte.o: ../snmp/smp.h ../snmp/aps.h ../snmp/mis.h ../snmp/avl.h kmem.h rte.h icmp.o: ../snmp/notice.h /usr/include/sys/types.h /usr/include/netinet/in.h icmp.o: /usr/include/netinet/in_systm.h /usr/include/netinet/ip.h icmp.o: /usr/include/netinet/ip_icmp.h /usr/include/netinet/icmp_var.h icmp.o: /usr/include/nlist.h ../snmp/ctypes.h ../snmp/error.h ../snmp/local.h ! icmp.o: icmp.h ../snmp/mix.h ../snmp/asn.h ../snmp/asndefs.h ../snmp/asl.h ! icmp.o: ../snmp/asldefs.h ../snmp/smp.h ../snmp/aps.h ../snmp/mis.h kmem.h kmem.o: ../snmp/notice.h ../snmp/ctypes.h ../snmp/debug.h kmem.o: /usr/include/stdio.h /usr/include/sys/types.h /usr/include/sys/file.h tcp.o: ../snmp/notice.h /usr/include/sys/types.h /usr/include/sys/socket.h tcp.o: /usr/include/netinet/in.h ../snmp/ctypes.h ../snmp/debug.h tcp.h tcp.o: ../snmp/smp.h ../snmp/error.h ../snmp/aps.h ../snmp/asn.h ! tcp.o: ../snmp/asndefs.h ../snmp/asl.h ../snmp/asldefs.h --- 100,141 ---- udp.o: ../snmp/notice.h /usr/include/sys/types.h /usr/include/sys/socket.h udp.o: /usr/include/netinet/in.h ../snmp/ctypes.h ../snmp/debug.h udp.o: ../snmp/local.h udp.h ../snmp/smp.h ../snmp/error.h ../snmp/aps.h ! udp.o: ../snmp/asn.h ! udps.o: ../snmp/notice.h /usr/include/sys/types.h /usr/include/nlist.h ! udps.o: /usr/include/sys/mbuf.h /usr/include/sys/socket.h ! udps.o: /usr/include/netinet/in.h /usr/include/net/route.h ! udps.o: /usr/include/netinet/in_pcb.h /usr/include/netinet/ip_var.h ! udps.o: /usr/include/netinet/udp.h /usr/include/netinet/udp_var.h ! udps.o: ../snmp/ctypes.h ../snmp/error.h ../snmp/debug.h ../snmp/local.h ! udps.o: ../snmp/mix.h ../snmp/asn.h ../snmp/smp.h ../snmp/aps.h ../snmp/mis.h ! udps.o: ../snmp/miv.h ../snmp/avl.h kmem.h udps.h systm.o: ../snmp/notice.h /usr/include/sys/param.h systm.o: /usr/include/machine/machparam.h /usr/include/sys/signal.h systm.o: /usr/include/sys/types.h /usr/include/sys/time.h systm.o: /usr/include/sys/time.h /usr/include/nlist.h /usr/include/stdio.h systm.o: ../snmp/ctypes.h ../snmp/local.h ../snmp/debug.h ../snmp/miv.h ! systm.o: ../snmp/mix.h ../snmp/error.h ../snmp/asn.h ../snmp/smp.h ! systm.o: ../snmp/aps.h ../snmp/mis.h systm.h kmem.h rte.o: ../snmp/notice.h /usr/include/sys/types.h /usr/include/nlist.h rte.o: /usr/include/sys/mbuf.h /usr/include/sys/socket.h rte.o: /usr/include/netinet/in.h /usr/include/net/route.h ../snmp/ctypes.h rte.o: ../snmp/error.h ../snmp/debug.h ../snmp/local.h ../snmp/mix.h ! rte.o: ../snmp/asn.h ../snmp/smp.h ../snmp/aps.h ../snmp/mis.h ../snmp/avl.h ! rte.o: kmem.h rte.h icmp.o: ../snmp/notice.h /usr/include/sys/types.h /usr/include/netinet/in.h icmp.o: /usr/include/netinet/in_systm.h /usr/include/netinet/ip.h icmp.o: /usr/include/netinet/ip_icmp.h /usr/include/netinet/icmp_var.h icmp.o: /usr/include/nlist.h ../snmp/ctypes.h ../snmp/error.h ../snmp/local.h ! icmp.o: icmp.h ../snmp/mix.h ../snmp/asn.h ../snmp/smp.h ../snmp/aps.h ! icmp.o: ../snmp/mis.h kmem.h kmem.o: ../snmp/notice.h ../snmp/ctypes.h ../snmp/debug.h kmem.o: /usr/include/stdio.h /usr/include/sys/types.h /usr/include/sys/file.h tcp.o: ../snmp/notice.h /usr/include/sys/types.h /usr/include/sys/socket.h tcp.o: /usr/include/netinet/in.h ../snmp/ctypes.h ../snmp/debug.h tcp.h tcp.o: ../snmp/smp.h ../snmp/error.h ../snmp/aps.h ../snmp/asn.h ! if.o: ../snmp/notice.h /usr/include/sys/types.h /usr/include/nlist.h ! if.o: /usr/include/sys/mbuf.h /usr/include/sys/socket.h ! if.o: /usr/include/netinet/in.h /usr/include/net/if.h ! if.o: /usr/include/net/if_arp.h /usr/include/stdio.h ../snmp/ctypes.h ! if.o: ../snmp/error.h ../snmp/debug.h ../snmp/local.h ../snmp/mix.h ! if.o: ../snmp/asn.h ../snmp/smp.h ../snmp/aps.h ../snmp/mis.h kmem.h if.h diff -c -r old/bsd/host.c new/bsd/host.c *** old/bsd/host.c Tue Aug 1 12:22:11 1989 --- new/bsd/host.c Fri May 17 16:14:07 1991 *************** *** 1,6 **** /* ! * $Header: host.c,v 1.3 89/07/11 13:00:23 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 1,6 ---- /* ! * $Header: host.c,v 3.0 91/05/17 16:14:06 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/bsd/host.h new/bsd/host.h *** old/bsd/host.h Wed Jan 11 22:10:46 1989 --- new/bsd/host.h Fri May 17 16:14:29 1991 *************** *** 2,8 **** #define _HOST_H_ /* ! * $Header: host.h,v 1.1 89/01/11 22:10:46 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 2,8 ---- #define _HOST_H_ /* ! * $Header: host.h,v 3.0 91/05/17 16:14:27 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/bsd/icmp.c new/bsd/icmp.c *** old/bsd/icmp.c Wed Jan 11 22:10:39 1989 --- new/bsd/icmp.c Fri May 17 16:14:20 1991 *************** *** 1,6 **** /* ! * $Header: icmp.c,v 1.1 89/01/11 22:10:38 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 1,6 ---- /* ! * $Header: icmp.c,v 3.0 91/05/17 16:14:18 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/bsd/icmp.h new/bsd/icmp.h *** old/bsd/icmp.h Wed Jan 11 22:10:57 1989 --- new/bsd/icmp.h Fri May 17 16:14:37 1991 *************** *** 2,8 **** #define _ICMP_H_ /* ! * $Header: icmp.h,v 1.1 89/01/11 22:10:53 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 2,8 ---- #define _ICMP_H_ /* ! * $Header: icmp.h,v 3.0 91/05/17 16:14:37 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" Only in new/bsd: if.c Only in new/bsd: if.h diff -c -r old/bsd/kmem.c new/bsd/kmem.c *** old/bsd/kmem.c Wed Jan 11 22:10:42 1989 --- new/bsd/kmem.c Fri May 17 16:14:22 1991 *************** *** 1,6 **** /* ! * $Header: kmem.c,v 1.1 89/01/11 22:10:41 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 1,6 ---- /* ! * $Header: kmem.c,v 3.0 91/05/17 16:14:21 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/bsd/kmem.h new/bsd/kmem.h *** old/bsd/kmem.h Wed Jan 11 22:10:59 1989 --- new/bsd/kmem.h Fri May 17 16:14:39 1991 *************** *** 2,8 **** #define _KMEM_H_ /* ! * $Header: kmem.h,v 1.1 89/01/11 22:10:58 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 2,8 ---- #define _KMEM_H_ /* ! * $Header: kmem.h,v 3.0 91/05/17 16:14:38 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/bsd/rte.c new/bsd/rte.c *** old/bsd/rte.c Wed Jan 11 22:10:36 1989 --- new/bsd/rte.c Fri May 17 16:14:18 1991 *************** *** 1,6 **** /* ! * $Header: rte.c,v 1.1 89/01/11 22:10:35 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 1,6 ---- /* ! * $Header: rte.c,v 3.0 91/05/17 16:14:15 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" *************** *** 222,227 **** --- 222,231 ---- if (kmemRead ((CBytePtrType) & mbufBuf, (CIntfType) sizeof (mbufBuf), location) != (CIntfType) sizeof (mbufBuf)) { + return ((CUnslType) 0); + } + + if (mbufBuf.m_type != MT_RTABLE) { return ((CUnslType) 0); } diff -c -r old/bsd/rte.h new/bsd/rte.h *** old/bsd/rte.h Wed Jan 11 22:10:52 1989 --- new/bsd/rte.h Fri May 17 16:14:36 1991 *************** *** 2,8 **** #define _RTE_H_ /* ! * $Header: rte.h,v 1.1 89/01/11 22:10:51 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 2,8 ---- #define _RTE_H_ /* ! * $Header: rte.h,v 3.0 91/05/17 16:14:35 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/bsd/systm.c new/bsd/systm.c *** old/bsd/systm.c Tue Aug 1 12:23:33 1989 --- new/bsd/systm.c Fri May 17 16:14:14 1991 *************** *** 1,6 **** /* ! * $Header: systm.c,v 1.2 89/02/17 18:40:42 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 1,6 ---- /* ! * $Header: systm.c,v 3.0 91/05/17 16:14:13 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/bsd/systm.h new/bsd/systm.h *** old/bsd/systm.h Wed Jan 11 22:10:50 1989 --- new/bsd/systm.h Fri May 17 16:14:34 1991 *************** *** 2,8 **** #define _SYSTM_H_ /* ! * $Header: systm.h,v 1.1 89/01/11 22:10:50 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 2,8 ---- #define _SYSTM_H_ /* ! * $Header: systm.h,v 3.0 91/05/17 16:14:34 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/bsd/tcp.c new/bsd/tcp.c *** old/bsd/tcp.c Wed Jan 11 22:10:44 1989 --- new/bsd/tcp.c Fri May 17 16:14:23 1991 *************** *** 1,6 **** /* ! * $Header: tcp.c,v 1.1 89/01/11 22:10:44 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 1,6 ---- /* ! * $Header: tcp.c,v 3.0 91/05/17 16:14:22 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/bsd/tcp.h new/bsd/tcp.h *** old/bsd/tcp.h Wed Jan 11 22:11:01 1989 --- new/bsd/tcp.h Fri May 17 16:14:40 1991 *************** *** 2,8 **** #define _TCP_H_ /* ! * $Header: tcp.h,v 1.1 89/01/11 22:11:00 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 2,8 ---- #define _TCP_H_ /* ! * $Header: tcp.h,v 3.0 91/05/17 16:14:39 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/bsd/udp.c new/bsd/udp.c *** old/bsd/udp.c Tue Aug 1 12:25:12 1989 --- new/bsd/udp.c Fri May 17 16:14:09 1991 *************** *** 1,6 **** /* ! * $Header: udp.c,v 1.2 89/02/06 20:47:19 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 1,6 ---- /* ! * $Header: udp.c,v 3.0 91/05/17 16:14:08 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/bsd/udp.h new/bsd/udp.h *** old/bsd/udp.h Wed Jan 11 22:10:48 1989 --- new/bsd/udp.h Fri May 17 16:14:31 1991 *************** *** 2,8 **** #define _UDP_H_ /* ! * $Header: udp.h,v 1.1 89/01/11 22:10:48 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 2,8 ---- #define _UDP_H_ /* ! * $Header: udp.h,v 3.0 91/05/17 16:14:29 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" Only in new/bsd: udps.c Only in new/bsd: udps.h diff -c -r old/doc/Makefile new/doc/Makefile *** old/doc/Makefile Sun Jan 15 20:01:48 1989 --- new/doc/Makefile Fri May 17 16:15:59 1991 *************** *** 1,6 **** # ! # $Header: Makefile,v 1.1 89/01/15 20:01:47 jrd Exp $ # Author: J. Davin # Copyright 1988, 1989, Massachusetts Institute of Technology # See permission and disclaimer notice in file "notice.h" --- 1,6 ---- # ! # $Header: Makefile,v 3.0 91/05/17 16:15:58 jrd Rel $ # Author: J. Davin # Copyright 1988, 1989, Massachusetts Institute of Technology # See permission and disclaimer notice in file "notice.h" *************** *** 22,28 **** testtools.tex \ guide.tex ! all: $(SOURCES) latex guide.tex clean: --- 22,30 ---- testtools.tex \ guide.tex ! all: guide.dvi ! ! guide.dvi: $(SOURCES) latex guide.tex clean: diff -c -r old/doc/goals.tex new/doc/goals.tex *** old/doc/goals.tex Sun Jan 15 19:59:26 1989 --- new/doc/goals.tex Fri May 17 16:16:02 1991 *************** *** 1,5 **** % ! % $Header: goals.tex,v 1.1 89/01/15 19:59:25 jrd Exp $ % Author: J. Davin % Copyright 1988, 1989, Massachusetts Institute of Technology % --- 1,5 ---- % ! % $Header: goals.tex,v 3.0 91/05/17 16:16:01 jrd Rel $ % Author: J. Davin % Copyright 1988, 1989, Massachusetts Institute of Technology % diff -c -r old/doc/guide.tex new/doc/guide.tex *** old/doc/guide.tex Sun Jan 15 19:59:28 1989 --- new/doc/guide.tex Fri May 17 16:16:19 1991 *************** *** 1,5 **** % ! % $Header: guide.tex,v 1.1 89/01/15 19:59:27 jrd Exp $ % Author: J. Davin % Copyright 1988, 1989, Massachusetts Institute of Technology % --- 1,5 ---- % ! % $Header: guide.tex,v 3.0 91/05/17 16:16:18 jrd Rel $ % Author: J. Davin % Copyright 1988, 1989, Massachusetts Institute of Technology % diff -c -r old/doc/libbsd.tex new/doc/libbsd.tex *** old/doc/libbsd.tex Sun Jan 15 19:59:30 1989 --- new/doc/libbsd.tex Fri May 17 16:16:06 1991 *************** *** 1,5 **** % ! % $Header: libbsd.tex,v 1.1 89/01/15 19:59:29 jrd Exp $ % Author: J. Davin % Copyright 1988, 1989, Massachusetts Institute of Technology % --- 1,5 ---- % ! % $Header: libbsd.tex,v 3.0 91/05/17 16:16:04 jrd Rel $ % Author: J. Davin % Copyright 1988, 1989, Massachusetts Institute of Technology % diff -c -r old/doc/libsnmp.tex new/doc/libsnmp.tex *** old/doc/libsnmp.tex Sun Jan 15 19:59:32 1989 --- new/doc/libsnmp.tex Fri May 17 16:16:07 1991 *************** *** 1,5 **** % ! % $Header: libsnmp.tex,v 1.1 89/01/15 19:59:31 jrd Exp $ % Author: J. Davin % Copyright 1988, 1989, Massachusetts Institute of Technology % --- 1,5 ---- % ! % $Header: libsnmp.tex,v 3.0 91/05/17 16:16:06 jrd Rel $ % Author: J. Davin % Copyright 1988, 1989, Massachusetts Institute of Technology % diff -c -r old/doc/overview.tex new/doc/overview.tex *** old/doc/overview.tex Sun Jan 15 19:59:34 1989 --- new/doc/overview.tex Fri May 17 16:16:03 1991 *************** *** 1,5 **** % ! % $Header: overview.tex,v 1.1 89/01/15 19:59:34 jrd Exp $ % Author: J. Davin % Copyright 1988, 1989, Massachusetts Institute of Technology % --- 1,5 ---- % ! % $Header: overview.tex,v 3.0 91/05/17 16:16:02 jrd Rel $ % Author: J. Davin % Copyright 1988, 1989, Massachusetts Institute of Technology % diff -c -r old/doc/snmpd.tex new/doc/snmpd.tex *** old/doc/snmpd.tex Sun Jan 15 19:59:36 1989 --- new/doc/snmpd.tex Fri May 17 16:16:09 1991 *************** *** 1,5 **** % ! % $Header: snmpd.tex,v 1.1 89/01/15 19:59:36 jrd Exp $ % Author: J. Davin % Copyright 1988, 1989, Massachusetts Institute of Technology % --- 1,5 ---- % ! % $Header: snmpd.tex,v 3.0 91/05/17 16:16:08 jrd Rel $ % Author: J. Davin % Copyright 1988, 1989, Massachusetts Institute of Technology % diff -c -r old/doc/snmpget.tex new/doc/snmpget.tex *** old/doc/snmpget.tex Sun Jan 15 19:59:39 1989 --- new/doc/snmpget.tex Fri May 17 16:16:10 1991 *************** *** 1,5 **** % ! % $Header: snmpget.tex,v 1.1 89/01/15 19:59:38 jrd Exp $ % Author: J. Davin % Copyright 1988, 1989, Massachusetts Institute of Technology % --- 1,5 ---- % ! % $Header: snmpget.tex,v 3.0 91/05/17 16:16:09 jrd Rel $ % Author: J. Davin % Copyright 1988, 1989, Massachusetts Institute of Technology % diff -c -r old/doc/snmpnext.tex new/doc/snmpnext.tex *** old/doc/snmpnext.tex Sun Jan 15 19:59:41 1989 --- new/doc/snmpnext.tex Fri May 17 16:16:12 1991 *************** *** 1,5 **** % ! % $Header: snmpnext.tex,v 1.1 89/01/15 19:59:40 jrd Exp $ % Author: J. Davin % Copyright 1988, 1989, Massachusetts Institute of Technology % --- 1,5 ---- % ! % $Header: snmpnext.tex,v 3.0 91/05/17 16:16:11 jrd Rel $ % Author: J. Davin % Copyright 1988, 1989, Massachusetts Institute of Technology % diff -c -r old/doc/snmpset.tex new/doc/snmpset.tex *** old/doc/snmpset.tex Sun Jan 15 19:59:44 1989 --- new/doc/snmpset.tex Fri May 17 16:16:13 1991 *************** *** 1,5 **** % ! % $Header: snmpset.tex,v 1.1 89/01/15 19:59:43 jrd Exp $ % Author: J. Davin % Copyright 1988, 1989, Massachusetts Institute of Technology % --- 1,5 ---- % ! % $Header: snmpset.tex,v 3.0 91/05/17 16:16:12 jrd Rel $ % Author: J. Davin % Copyright 1988, 1989, Massachusetts Institute of Technology % diff -c -r old/doc/snmptrap.tex new/doc/snmptrap.tex *** old/doc/snmptrap.tex Sun Jan 15 19:59:46 1989 --- new/doc/snmptrap.tex Fri May 17 16:16:15 1991 *************** *** 1,5 **** % ! % $Header: snmptrap.tex,v 1.1 89/01/15 19:59:45 jrd Exp $ % Author: J. Davin % Copyright 1988, 1989, Massachusetts Institute of Technology % --- 1,5 ---- % ! % $Header: snmptrap.tex,v 3.0 91/05/17 16:16:14 jrd Rel $ % Author: J. Davin % Copyright 1988, 1989, Massachusetts Institute of Technology % diff -c -r old/doc/snmptrapd.tex new/doc/snmptrapd.tex *** old/doc/snmptrapd.tex Sun Jan 15 19:59:49 1989 --- new/doc/snmptrapd.tex Fri May 17 16:16:16 1991 *************** *** 1,5 **** % ! % $Header: snmptrapd.tex,v 1.1 89/01/15 19:59:48 jrd Exp $ % Author: J. Davin % Copyright 1988, 1989, Massachusetts Institute of Technology % --- 1,5 ---- % ! % $Header: snmptrapd.tex,v 3.0 91/05/17 16:16:15 jrd Rel $ % Author: J. Davin % Copyright 1988, 1989, Massachusetts Institute of Technology % diff -c -r old/doc/terms.tex new/doc/terms.tex *** old/doc/terms.tex Sun Jan 15 19:59:55 1989 --- new/doc/terms.tex Fri May 17 16:16:00 1991 *************** *** 1,5 **** % ! % $Header: terms.tex,v 1.1 89/01/15 19:59:51 jrd Exp $ % Author: J. Davin % Copyright 1988, 1989, Massachusetts Institute of Technology % --- 1,5 ---- % ! % $Header: terms.tex,v 3.0 91/05/17 16:15:59 jrd Rel $ % Author: J. Davin % Copyright 1988, 1989, Massachusetts Institute of Technology % diff -c -r old/doc/testtools.tex new/doc/testtools.tex *** old/doc/testtools.tex Sun Jan 15 19:59:57 1989 --- new/doc/testtools.tex Fri May 17 16:16:17 1991 *************** *** 1,5 **** % ! % $Header: testtools.tex,v 1.1 89/01/15 19:59:56 jrd Exp $ % Author: J. Davin % Copyright 1988, 1989, Massachusetts Institute of Technology % --- 1,5 ---- % ! % $Header: testtools.tex,v 3.0 91/05/17 16:16:17 jrd Rel $ % Author: J. Davin % Copyright 1988, 1989, Massachusetts Institute of Technology % diff -c -r old/scripts/0 new/scripts/0 *** old/scripts/0 Sun Jan 1 12:12:37 1989 --- new/scripts/0 Fri May 17 16:15:32 1991 *************** *** 1,4 **** --- 1,7 ---- # + # $Header: 0,v 3.0 91/05/17 16:15:31 jrd Rel $ + # + # # SNMP Get Request # $1 48 128 02 01 00 04 00 \ diff -c -r old/scripts/1 new/scripts/1 *** old/scripts/1 Sun Jan 1 12:12:44 1989 --- new/scripts/1 Fri May 17 16:15:35 1991 *************** *** 1,4 **** --- 1,7 ---- # + # $Header: 1,v 3.0 91/05/17 16:15:34 jrd Rel $ + # + # # SNMP Get Request # $1 48 128 \ diff -c -r old/scripts/10 new/scripts/10 *** old/scripts/10 Sun Jan 1 12:12:52 1989 --- new/scripts/10 Fri May 17 16:15:45 1991 *************** *** 1,4 **** --- 1,7 ---- # + # $Header: 10,v 3.0 91/05/17 16:15:44 jrd Rel $ + # + # # SNMP Next Request # $1 48 128 02 01 00 04 00 \ diff -c -r old/scripts/11 new/scripts/11 *** old/scripts/11 Sun Jan 1 12:12:59 1989 --- new/scripts/11 Fri May 17 16:15:46 1991 *************** *** 1,4 **** --- 1,7 ---- # + # $Header: 11,v 3.0 91/05/17 16:15:45 jrd Rel $ + # + # # SNMP Get Request # Community: "public" # diff -c -r old/scripts/12 new/scripts/12 *** old/scripts/12 Sun Jan 1 12:13:13 1989 --- new/scripts/12 Fri May 17 16:15:47 1991 *************** *** 1,4 **** --- 1,7 ---- # + # $Header: 12,v 3.0 91/05/17 16:15:47 jrd Rel $ + # + # # SNMP Next Request # Community: "public" # diff -c -r old/scripts/13 new/scripts/13 *** old/scripts/13 Sun Jan 1 12:13:19 1989 --- new/scripts/13 Fri May 17 16:15:49 1991 *************** *** 1,4 **** --- 1,7 ---- # + # $Header: 13,v 3.0 91/05/17 16:15:48 jrd Rel $ + # + # # SNMP Next Request # Community: "public" # diff -c -r old/scripts/14 new/scripts/14 *** old/scripts/14 Sun Jan 1 12:13:27 1989 --- new/scripts/14 Fri May 17 16:15:50 1991 *************** *** 1,4 **** --- 1,7 ---- # + # $Header: 14,v 3.0 91/05/17 16:15:49 jrd Rel $ + # + # # SNMP Next Request # Community: "public" # diff -c -r old/scripts/15 new/scripts/15 *** old/scripts/15 Sun Jan 1 12:13:35 1989 --- new/scripts/15 Fri May 17 16:15:51 1991 *************** *** 1,4 **** --- 1,7 ---- # + # $Header: 15,v 3.0 91/05/17 16:15:51 jrd Rel $ + # + # # SNMP Next Request # $1 48 39 02 01 00 04 06 0x70 0x75 0x62 0x6C 0x69 0x63 \ diff -c -r old/scripts/16 new/scripts/16 *** old/scripts/16 Fri Jan 6 14:12:25 1989 --- new/scripts/16 Fri May 17 16:15:53 1991 *************** *** 1,4 **** --- 1,7 ---- # + # $Header: 16,v 3.0 91/05/17 16:15:52 jrd Rel $ + # + # # SNMP Get Request # Community: "public" # diff -c -r old/scripts/17 new/scripts/17 *** old/scripts/17 Fri Jan 6 14:16:58 1989 --- new/scripts/17 Fri May 17 16:15:54 1991 *************** *** 1,4 **** --- 1,7 ---- # + # $Header: 17,v 3.0 91/05/17 16:15:53 jrd Rel $ + # + # # SNMP Next Request # Community: "public" # diff -c -r old/scripts/18 new/scripts/18 *** old/scripts/18 Fri Jan 6 14:32:09 1989 --- new/scripts/18 Fri May 17 16:15:55 1991 *************** *** 1,4 **** --- 1,7 ---- # + # $Header: 18,v 3.0 91/05/17 16:15:54 jrd Rel $ + # + # # SNMP Set Requests # Community: "public" # diff -c -r old/scripts/19 new/scripts/19 *** old/scripts/19 Sun Feb 25 16:55:46 1990 --- new/scripts/19 Fri May 17 16:15:56 1991 *************** *** 1,4 **** --- 1,7 ---- # + # $Header: 19,v 3.0 91/05/17 16:15:56 jrd Rel $ + # + # # SNMP Get Request: Test Long Lengths # $1 48 130 01 38 02 01 00 04 00 \ diff -c -r old/scripts/2 new/scripts/2 *** old/scripts/2 Sun Jan 1 12:13:43 1989 --- new/scripts/2 Fri May 17 16:15:36 1991 *************** *** 1,4 **** --- 1,7 ---- # + # $Header: 2,v 3.0 91/05/17 16:15:35 jrd Rel $ + # + # # SNMP Get Request (ill-formed) # $1 48 128 \ diff -c -r old/scripts/3 new/scripts/3 *** old/scripts/3 Sun Jan 1 12:13:50 1989 --- new/scripts/3 Fri May 17 16:15:37 1991 *************** *** 1,4 **** --- 1,7 ---- # + # $Header: 3,v 3.0 91/05/17 16:15:37 jrd Rel $ + # + # # SNMP Get Request # $1 48 128 \ diff -c -r old/scripts/5 new/scripts/5 *** old/scripts/5 Sun Jan 1 12:13:57 1989 --- new/scripts/5 Fri May 17 16:15:39 1991 *************** *** 1,4 **** --- 1,7 ---- # + # $Header: 5,v 3.0 91/05/17 16:15:38 jrd Rel $ + # + # # SNMP Trap (ill-formed) # $1 48 128 02 01 00 04 00 \ diff -c -r old/scripts/6 new/scripts/6 *** old/scripts/6 Sun Jan 1 12:14:07 1989 --- new/scripts/6 Fri May 17 16:15:40 1991 *************** *** 1,4 **** --- 1,7 ---- # + # $Header: 6,v 3.0 91/05/17 16:15:39 jrd Rel $ + # + # # SNMP Trap # $1 48 128 02 01 00 04 00 \ diff -c -r old/scripts/7 new/scripts/7 *** old/scripts/7 Sun Jan 1 12:14:13 1989 --- new/scripts/7 Fri May 17 16:15:41 1991 *************** *** 1,4 **** --- 1,7 ---- # + # $Header: 7,v 3.0 91/05/17 16:15:40 jrd Rel $ + # + # # SNMP Get Request (with Constructor Octet Strings) # $1 48 128 02 01 00 04 00 \ diff -c -r old/scripts/8 new/scripts/8 *** old/scripts/8 Sun Jan 1 12:14:20 1989 --- new/scripts/8 Fri May 17 16:15:42 1991 *************** *** 1,4 **** --- 1,7 ---- # + # $Header: 8,v 3.0 91/05/17 16:15:42 jrd Rel $ + # + # # SNMP Get Request (with Constructor Octet Strings) # $1 48 128 02 01 00 04 00 \ diff -c -r old/scripts/9 new/scripts/9 *** old/scripts/9 Sun Jan 1 12:14:28 1989 --- new/scripts/9 Fri May 17 16:15:43 1991 *************** *** 1,4 **** --- 1,7 ---- # + # $Header: 9,v 3.0 91/05/17 16:15:43 jrd Rel $ + # + # # SNMP Get Request # $1 48 128 02 01 00 04 00 \ Only in new/scripts: Makefile Only in new/scripts: RCS diff -c -r old/smptest/Makefile new/smptest/Makefile *** old/smptest/Makefile Sun Jan 15 20:38:22 1989 --- new/smptest/Makefile Fri May 17 16:15:20 1991 *************** *** 1,6 **** # ! # $Header: Makefile,v 1.1 89/01/15 20:38:21 jrd Exp $ # Author: J. Davin # Copyright 1988, 1989, Massachusetts Institute of Technology # See permission and disclaimer notice in file "notice.h" --- 1,6 ---- # ! # $Header: Makefile,v 3.0 91/05/17 16:15:19 jrd Rel $ # Author: J. Davin # Copyright 1988, 1989, Massachusetts Institute of Technology # See permission and disclaimer notice in file "notice.h" diff -c -r old/smptest/smptest.c new/smptest/smptest.c *** old/smptest/smptest.c Wed Jan 11 22:12:09 1989 --- new/smptest/smptest.c Fri May 17 16:15:22 1991 *************** *** 1,6 **** /* ! * $Header: smptest.c,v 1.1 89/01/11 22:12:08 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 1,6 ---- /* ! * $Header: smptest.c,v 3.0 91/05/17 16:15:21 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/snmp/Makefile new/snmp/Makefile *** old/snmp/Makefile Sat Jan 14 16:52:44 1989 --- new/snmp/Makefile Fri May 17 16:12:35 1991 *************** *** 1,6 **** # ! # $Header: Makefile,v 1.1 89/01/11 22:08:08 jrd Exp $ # Author: J. Davin # Copyright 1988, 1989, Massachusetts Institute of Technology # See permission and disclaimer notice in file "notice.h" --- 1,6 ---- # ! # $Header: Makefile,v 3.0 91/05/17 16:12:33 jrd Rel $ # Author: J. Davin # Copyright 1988, 1989, Massachusetts Institute of Technology # See permission and disclaimer notice in file "notice.h" *************** *** 85,90 **** --- 85,91 ---- debug.h \ error.h \ local.h \ + notice.h \ mis.h \ aps.h \ ap0.h \ diff -c -r old/snmp/ap0.c new/snmp/ap0.c *** old/snmp/ap0.c Wed Jan 11 22:08:20 1989 --- new/snmp/ap0.c Fri May 17 16:12:42 1991 *************** *** 1,6 **** /* ! * $Header: ap0.c,v 1.1 89/01/11 22:08:19 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 1,6 ---- /* ! * $Header: ap0.c,v 3.0 91/05/17 16:12:41 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/snmp/ap0.h new/snmp/ap0.h *** old/snmp/ap0.h Wed Jan 11 22:09:46 1989 --- new/snmp/ap0.h Fri May 17 16:13:41 1991 *************** *** 2,8 **** #define _AP0_H_ /* ! * $Header: ap0.h,v 1.1 89/01/11 22:09:45 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 2,8 ---- #define _AP0_H_ /* ! * $Header: ap0.h,v 3.0 91/05/17 16:13:40 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/snmp/aps.c new/snmp/aps.c *** old/snmp/aps.c Wed Jan 11 22:08:18 1989 --- new/snmp/aps.c Fri May 17 16:12:41 1991 *************** *** 1,6 **** /* ! * $Header: aps.c,v 1.1 89/01/11 22:08:17 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 1,6 ---- /* ! * $Header: aps.c,v 3.0 91/05/17 16:12:39 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/snmp/aps.h new/snmp/aps.h *** old/snmp/aps.h Wed Jan 11 22:09:43 1989 --- new/snmp/aps.h Fri May 17 16:13:39 1991 *************** *** 2,8 **** #define _APS_H_ /* ! * $Header: aps.h,v 1.1 89/01/11 22:09:43 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 2,8 ---- #define _APS_H_ /* ! * $Header: aps.h,v 3.0 91/05/17 16:13:39 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/snmp/asl.c new/snmp/asl.c *** old/snmp/asl.c Tue Aug 1 12:27:08 1989 --- new/snmp/asl.c Fri May 17 16:12:51 1991 *************** *** 1,6 **** /* ! * $Header: asl.c,v 1.2 89/02/06 20:51:19 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 1,6 ---- /* ! * $Header: asl.c,v 3.0 91/05/17 16:12:49 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/snmp/asl.h new/snmp/asl.h *** old/snmp/asl.h Wed Jan 11 22:10:00 1989 --- new/snmp/asl.h Fri May 17 16:13:47 1991 *************** *** 2,8 **** #define _ASL_H_ /* ! * $Header: asl.h,v 1.1 89/01/11 22:10:00 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 2,8 ---- #define _ASL_H_ /* ! * $Header: asl.h,v 3.0 91/05/17 16:13:46 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/snmp/asldefs.h new/snmp/asldefs.h *** old/snmp/asldefs.h Wed Jan 11 22:10:03 1989 --- new/snmp/asldefs.h Fri May 17 16:13:48 1991 *************** *** 2,8 **** #define _ASLDEFS_H_ /* ! * $Header: asldefs.h,v 1.1 89/01/11 22:10:02 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 2,8 ---- #define _ASLDEFS_H_ /* ! * $Header: asldefs.h,v 3.0 91/05/17 16:13:47 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/snmp/asn.c new/snmp/asn.c *** old/snmp/asn.c Thu Oct 11 19:32:56 1990 --- new/snmp/asn.c Fri May 17 16:12:48 1991 *************** *** 1,6 **** /* ! * $Header: asn.c,v 1.5 90/10/11 19:29:19 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 1,6 ---- /* ! * $Header: asn.c,v 3.0 91/05/17 16:12:43 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/snmp/asn.h new/snmp/asn.h *** old/snmp/asn.h Wed Jan 11 22:09:55 1989 --- new/snmp/asn.h Fri May 17 16:13:44 1991 *************** *** 2,8 **** #define _ASN_H_ /* ! * $Header: asn.h,v 1.1 89/01/11 22:09:55 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 2,8 ---- #define _ASN_H_ /* ! * $Header: asn.h,v 3.0 91/05/17 16:13:43 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/snmp/asndefs.h new/snmp/asndefs.h *** old/snmp/asndefs.h Wed Jan 11 22:09:58 1989 --- new/snmp/asndefs.h Fri May 17 16:13:45 1991 *************** *** 2,8 **** #define _ASNDEFS_H_ /* ! * $Header: asndefs.h,v 1.1 89/01/11 22:09:57 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 2,8 ---- #define _ASNDEFS_H_ /* ! * $Header: asndefs.h,v 3.0 91/05/17 16:13:44 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/snmp/asx.c new/snmp/asx.c *** old/snmp/asx.c Tue Aug 1 15:17:19 1989 --- new/snmp/asx.c Fri May 17 16:13:16 1991 *************** *** 1,6 **** /* ! * $Header: asx.c,v 1.2 89/05/31 19:25:51 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 1,6 ---- /* ! * $Header: asx.c,v 3.0 91/05/17 16:13:15 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" *************** *** 133,140 **** AsnIndexType i; AsnIdType item; ! item = (AsnIdType) 0; ! for (i = 1; i <= asnSons (asn); item = asnFree (item)) { item = asnComponent (asn, i); (void) asxPrint (item, level + 1); --- 133,139 ---- AsnIndexType i; AsnIdType item; ! for (i = 1; i <= asnSons (asn); item = asnFree (item)) { item = asnComponent (asn, i); (void) asxPrint (item, level + 1); diff -c -r old/snmp/asx.h new/snmp/asx.h *** old/snmp/asx.h Wed Jan 11 22:10:09 1989 --- new/snmp/asx.h Fri May 17 16:13:53 1991 *************** *** 2,8 **** #define _ASX_H_ /* ! * $Header: asx.h,v 1.1 89/01/11 22:10:09 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 2,8 ---- #define _ASX_H_ /* ! * $Header: asx.h,v 3.0 91/05/17 16:13:52 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/snmp/avl.c new/snmp/avl.c *** old/snmp/avl.c Wed Jan 11 22:09:04 1989 --- new/snmp/avl.c Fri May 17 16:13:11 1991 *************** *** 1,6 **** /* ! * $Header: avl.c,v 1.1 89/01/11 22:09:02 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 1,6 ---- /* ! * $Header: avl.c,v 3.0 91/05/17 16:13:08 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/snmp/avl.h new/snmp/avl.h *** old/snmp/avl.h Wed Jan 11 22:10:07 1989 --- new/snmp/avl.h Fri May 17 16:13:51 1991 *************** *** 2,8 **** #define _AVL_H_ /* ! * $Header: avl.h,v 1.1 89/01/11 22:10:07 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 2,8 ---- #define _AVL_H_ /* ! * $Header: avl.h,v 3.0 91/05/17 16:13:50 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/snmp/ctypes.h new/snmp/ctypes.h *** old/snmp/ctypes.h Wed Jan 11 22:09:30 1989 --- new/snmp/ctypes.h Fri May 17 16:13:28 1991 *************** *** 2,8 **** #define _CTYPES_H_ /* ! * $Header: ctypes.h,v 1.1 89/01/11 22:09:29 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 2,8 ---- #define _CTYPES_H_ /* ! * $Header: ctypes.h,v 3.0 91/05/17 16:13:27 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/snmp/debug.h new/snmp/debug.h *** old/snmp/debug.h Wed Jan 11 22:09:35 1989 --- new/snmp/debug.h Fri May 17 16:13:32 1991 *************** *** 2,8 **** #define _DEBUG_H_ /* ! * $Header: debug.h,v 1.1 89/01/11 22:09:34 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 2,8 ---- #define _DEBUG_H_ /* ! * $Header: debug.h,v 3.0 91/05/17 16:13:31 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/snmp/error.h new/snmp/error.h *** old/snmp/error.h Wed Jan 11 22:09:37 1989 --- new/snmp/error.h Fri May 17 16:13:33 1991 *************** *** 2,8 **** #define _ERROR_H_ /* ! * $Header: error.h,v 1.1 89/01/11 22:09:37 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 2,8 ---- #define _ERROR_H_ /* ! * $Header: error.h,v 3.0 91/05/17 16:13:33 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/snmp/local.h new/snmp/local.h *** old/snmp/local.h Wed Jan 11 22:09:40 1989 --- new/snmp/local.h Fri May 17 16:13:35 1991 *************** *** 2,8 **** #define _LOCAL_H_ /* ! * $Header: local.h,v 1.1 89/01/11 22:09:39 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 2,8 ---- #define _LOCAL_H_ /* ! * $Header: local.h,v 3.0 91/05/17 16:13:34 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/snmp/mis.c new/snmp/mis.c *** old/snmp/mis.c Wed Jan 11 22:08:15 1989 --- new/snmp/mis.c Fri May 17 16:12:38 1991 *************** *** 1,6 **** /* ! * $Header: mis.c,v 1.1 89/01/11 22:08:14 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 1,6 ---- /* ! * $Header: mis.c,v 3.0 91/05/17 16:12:37 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/snmp/mis.h new/snmp/mis.h *** old/snmp/mis.h Wed Jan 11 22:09:42 1989 --- new/snmp/mis.h Fri May 17 16:13:38 1991 *************** *** 2,8 **** #define _MIS_H_ /* ! * $Header: mis.h,v 1.1 89/01/11 22:09:41 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 2,8 ---- #define _MIS_H_ /* ! * $Header: mis.h,v 3.0 91/05/17 16:13:37 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/snmp/miv.h new/snmp/miv.h *** old/snmp/miv.h Wed Jan 11 22:10:05 1989 --- new/snmp/miv.h Fri May 17 16:13:50 1991 *************** *** 2,8 **** #define _MIV_H_ /* ! * $Header: miv.h,v 1.1 89/01/11 22:10:05 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 2,8 ---- #define _MIV_H_ /* ! * $Header: miv.h,v 3.0 91/05/17 16:13:49 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/snmp/miv0.c new/snmp/miv0.c *** old/snmp/miv0.c Wed Jan 11 22:08:33 1989 --- new/snmp/miv0.c Fri May 17 16:12:53 1991 *************** *** 1,6 **** /* ! * $Header: miv0.c,v 1.1 89/01/11 22:08:31 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 1,6 ---- /* ! * $Header: miv0.c,v 3.0 91/05/17 16:12:51 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/snmp/miv1.c new/snmp/miv1.c *** old/snmp/miv1.c Wed Jan 11 22:08:43 1989 --- new/snmp/miv1.c Fri May 17 16:12:55 1991 *************** *** 1,6 **** /* ! * $Header: miv1.c,v 1.1 89/01/11 22:08:41 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 1,6 ---- /* ! * $Header: miv1.c,v 3.0 91/05/17 16:12:54 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/snmp/miv2.c new/snmp/miv2.c *** old/snmp/miv2.c Wed Jan 11 22:08:46 1989 --- new/snmp/miv2.c Fri May 17 16:12:57 1991 *************** *** 1,6 **** /* ! * $Header: miv2.c,v 1.1 89/01/11 22:08:45 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 1,6 ---- /* ! * $Header: miv2.c,v 3.0 91/05/17 16:12:56 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/snmp/miv3.c new/snmp/miv3.c *** old/snmp/miv3.c Wed Jan 11 22:08:48 1989 --- new/snmp/miv3.c Fri May 17 16:13:01 1991 *************** *** 1,6 **** /* ! * $Header: miv3.c,v 1.1 89/01/11 22:08:48 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 1,6 ---- /* ! * $Header: miv3.c,v 3.0 91/05/17 16:12:58 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/snmp/miv4.c new/snmp/miv4.c *** old/snmp/miv4.c Wed Jan 11 22:08:51 1989 --- new/snmp/miv4.c Fri May 17 16:13:02 1991 *************** *** 1,6 **** /* ! * $Header: miv4.c,v 1.1 89/01/11 22:08:50 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 1,6 ---- /* ! * $Header: miv4.c,v 3.0 91/05/17 16:13:01 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/snmp/miv5.c new/snmp/miv5.c *** old/snmp/miv5.c Wed Jan 11 22:08:55 1989 --- new/snmp/miv5.c Fri May 17 16:13:04 1991 *************** *** 1,6 **** /* ! * $Header: miv5.c,v 1.1 89/01/11 22:08:54 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 1,6 ---- /* ! * $Header: miv5.c,v 3.0 91/05/17 16:13:03 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/snmp/miv6.c new/snmp/miv6.c *** old/snmp/miv6.c Wed Jan 11 22:08:57 1989 --- new/snmp/miv6.c Fri May 17 16:13:06 1991 *************** *** 1,6 **** /* ! * $Header: miv6.c,v 1.1 89/01/11 22:08:56 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 1,6 ---- /* ! * $Header: miv6.c,v 3.0 91/05/17 16:13:05 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/snmp/miv7.c new/snmp/miv7.c *** old/snmp/miv7.c Wed Jan 11 22:09:00 1989 --- new/snmp/miv7.c Fri May 17 16:13:08 1991 *************** *** 1,6 **** /* ! * $Header: miv7.c,v 1.1 89/01/11 22:08:59 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 1,6 ---- /* ! * $Header: miv7.c,v 3.0 91/05/17 16:13:06 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/snmp/mix.c new/snmp/mix.c *** old/snmp/mix.c Wed Jan 11 22:09:27 1989 --- new/snmp/mix.c Fri May 17 16:13:26 1991 *************** *** 1,6 **** /* ! * $Header: mix.c,v 1.1 89/01/11 22:09:26 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 1,6 ---- /* ! * $Header: mix.c,v 3.0 91/05/17 16:13:24 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/snmp/mix.h new/snmp/mix.h *** old/snmp/mix.h Tue Aug 1 15:18:27 1989 --- new/snmp/mix.h Fri May 17 16:13:58 1991 *************** *** 2,8 **** #define _MIX_H_ /* ! * $Header: mix.h,v 1.2 89/02/06 20:57:47 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 2,8 ---- #define _MIX_H_ /* ! * $Header: mix.h,v 3.0 91/05/17 16:13:57 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/snmp/notice.h new/snmp/notice.h *** old/snmp/notice.h Sat Jan 14 16:21:24 1989 --- new/snmp/notice.h Fri May 17 16:13:37 1991 *************** *** 2,8 **** #define _NOTICE_H_ /* ! * $Header: notice.h,v 1.1 89/01/14 16:21:23 jrd Exp $ */ /* --- 2,8 ---- #define _NOTICE_H_ /* ! * $Header: notice.h,v 3.0 91/05/17 16:13:36 jrd Rel $ */ /* *************** *** 15,21 **** 545 Technology Square Cambridge, MA 02139 ! Copyright 1988, 1989 Massachusetts Institute of Technology Permission to use, copy, modify, and distribute this software for any purpose and without fee is hereby granted, provided that this --- 15,22 ---- 545 Technology Square Cambridge, MA 02139 ! Copyright 1988, 1989, 1990, 1991, ! Massachusetts Institute of Technology Permission to use, copy, modify, and distribute this software for any purpose and without fee is hereby granted, provided that this diff -c -r old/snmp/oid.c new/snmp/oid.c *** old/snmp/oid.c Wed Jan 11 22:09:21 1989 --- new/snmp/oid.c Fri May 17 16:13:20 1991 *************** *** 1,6 **** /* ! * $Header: oid.c,v 1.1 89/01/11 22:09:20 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 1,6 ---- /* ! * $Header: oid.c,v 3.0 91/05/17 16:13:19 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" *************** *** 97,108 **** } while (val != (CUnslType) 0); ! if (k < n) { n = k; while (k-- != 0) { *oid++ = *bp++; } } return (n); } --- 97,111 ---- } while (val != (CUnslType) 0); ! if (k <= n) { n = k; while (k-- != 0) { *oid++ = *bp++; } } + else { + n++; + } return (n); } *************** *** 122,129 **** CCharType c; CBoolType done; /* Handle zero-length OID here */ ! if ((*text == (CCharType) 0) && (n > (CIntfType) 0)) { return ((CIntfType) 0); } --- 125,136 ---- CCharType c; CBoolType done; + if (n < (CIntfType) 0) { + return ((CIntfType) -1); + } + /* Handle zero-length OID here */ ! if (*text == (CCharType) 0) { return ((CIntfType) 0); } *************** *** 132,138 **** val = (CUnslType) 0; done = FALSE; ! while ((! done) && (n > (CIntfType) 0)) { c = *text++; if ((c >= (CCharType) '0') && (c <= (CCharType) '9')) { val = ((CUnslType) 10 * val) + (CUnslType) --- 139,145 ---- val = (CUnslType) 0; done = FALSE; ! while ((! done) && (n >= (CIntfType) 0)) { c = *text++; if ((c >= (CCharType) '0') && (c <= (CCharType) '9')) { val = ((CUnslType) 10 * val) + (CUnslType) *************** *** 142,148 **** switch (state) { case 0: ! val1 = ((CUnslType) 40 * val); val = (CUnslType) 0; state = (CIntfType) 1; break; --- 149,155 ---- switch (state) { case 0: ! val1 = (((CUnslType) 40) * val); val = (CUnslType) 0; state = (CIntfType) 1; break; *************** *** 149,162 **** case 1: if (val > (CUnslType) 39) { ! n = (CIntfType) 0; ! done = TRUE; break; } ! else { ! val += val1; ! /* fall through */ } case 2: k = oidEncodeSubid (oid, n, val); --- 156,170 ---- case 1: if (val > (CUnslType) 39) { ! n = (CIntfType) -1; break; } ! else if ((val += val1) > ! (CUnslType) 0x7F) { ! n = (CIntfType) -1; ! break; } + /* else fall through */ case 2: k = oidEncodeSubid (oid, n, val); *************** *** 173,190 **** switch (state) { case 0: ! n = (CIntfType) 0; ! break; case 1: if (val > (CUnslType) 39) { ! n = (CIntfType) 0; break; } ! else { ! val += val1; ! /* fall through */ } case 2: k = oidEncodeSubid (oid, n, val); --- 181,201 ---- switch (state) { case 0: ! val1 = (((CUnslType) 40) * val); ! val = (CUnslType) 0; ! /* fall through */ case 1: if (val > (CUnslType) 39) { ! n = (CIntfType) -1; break; } ! else if ((val += val1) > ! (CUnslType) 0x7F) { ! n = (CIntfType) -1; ! break; } + /* else fall through */ case 2: k = oidEncodeSubid (oid, n, val); *************** *** 194,204 **** } } else { ! n = (CIntfType) 0; ! done = TRUE; } } ! return ((n > (CIntfType) 0) ? h : (CIntfType) -1); } --- 205,215 ---- } } else { ! n = (CIntfType) -1; } } ! return ((n >= (CIntfType) 0) ? h : (CIntfType) -1); } + diff -c -r old/snmp/oid.h new/snmp/oid.h *** old/snmp/oid.h Wed Jan 11 22:10:13 1989 --- new/snmp/oid.h Fri May 17 16:13:55 1991 *************** *** 2,8 **** #define _OID_H_ /* ! * $Header: oid.h,v 1.1 89/01/11 22:10:13 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 2,8 ---- #define _OID_H_ /* ! * $Header: oid.h,v 3.0 91/05/17 16:13:54 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/snmp/rdx.c new/snmp/rdx.c *** old/snmp/rdx.c Wed Jan 11 22:08:12 1989 --- new/snmp/rdx.c Fri May 17 16:12:37 1991 *************** *** 1,6 **** /* ! * $Header: rdx.c,v 1.1 89/01/11 22:08:11 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 1,6 ---- /* ! * $Header: rdx.c,v 3.0 91/05/17 16:12:35 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/snmp/rdx.h new/snmp/rdx.h *** old/snmp/rdx.h Wed Jan 11 22:09:33 1989 --- new/snmp/rdx.h Fri May 17 16:13:30 1991 *************** *** 2,8 **** #define _RDX_H_ /* ! * $Header: rdx.h,v 1.1 89/01/11 22:09:32 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 2,8 ---- #define _RDX_H_ /* ! * $Header: rdx.h,v 3.0 91/05/17 16:13:29 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/snmp/smp.c new/snmp/smp.c *** old/snmp/smp.c Tue Aug 1 15:23:38 1989 --- new/snmp/smp.c Fri May 17 16:13:14 1991 *************** *** 1,6 **** /* ! * $Header: smp.c,v 1.3 89/05/31 19:22:53 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 1,6 ---- /* ! * $Header: smp.c,v 3.0 91/05/17 16:13:12 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" *************** *** 424,430 **** sons = asnSons (seq); count = (SmpIndexType) 0; - bind = (AsnIdType) 0; for (component = 1; (component <= sons) && (count < n); bind = asnFree (bind)) { bind = asnComponent (seq, component); --- 424,429 ---- diff -c -r old/snmp/smp.h new/snmp/smp.h *** old/snmp/smp.h Wed Jan 11 22:09:53 1989 --- new/snmp/smp.h Fri May 17 16:13:42 1991 *************** *** 2,8 **** #define _SMP_H_ /* ! * $Header: smp.h,v 1.1 89/01/11 22:09:51 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 2,8 ---- #define _SMP_H_ /* ! * $Header: smp.h,v 3.0 91/05/17 16:13:41 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/snmp/smx.c new/snmp/smx.c *** old/snmp/smx.c Tue Aug 1 15:25:33 1989 --- new/snmp/smx.c Fri May 17 16:13:23 1991 *************** *** 1,6 **** /* ! * $Header: smx.c,v 1.2 89/02/06 20:53:13 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 1,6 ---- /* ! * $Header: smx.c,v 3.0 91/05/17 16:13:21 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" *************** *** 175,181 **** k = (CIntfType) -1; } else { ! (void) strcpy ((char *) value, (char *) text); } return (k); } --- 175,182 ---- k = (CIntfType) -1; } else { ! (void) bcopy ((char *) text, ! (char *) value, (int) k); } return (k); } *************** *** 263,290 **** return ((CIntfType) -1); } ! for (s = n; ((m != (CIntfType) 0) && (s > (CIntfType) 0)); m--) { ! k = rdxEncode10 (text, n, (CUnslType) *value++); ! if (k < (CIntfType) 0) { ! s = (CIntfType) -1; ! } ! else { ! s -= k; ! text += k; ! *text++ = (CCharType) '.'; ! s--; ! } } ! if (s >= (CIntfType) 0) { ! if (n > (CIntfType) 0) { ! s++; ! *(--text) = (CCharType) 0; ! } ! s = n - s; } else { ! s = (CIntfType) -1; } return (s); } --- 264,284 ---- return ((CIntfType) -1); } ! for (s = n; ((m != (CIntfType) 0) && ! ((k = rdxEncode10 (text, s, (CUnslType) *value++)) > ! (CIntfType) 0)); m--) { ! s -= k; ! text += k; ! *text++ = (CCharType) ("X\0..." [ m ]); ! s--; } ! if (m != (CIntfType) 0) { ! s = (CIntfType) -1; } else { ! s++; ! s = n - s; } return (s); } diff -c -r old/snmp/smx.h new/snmp/smx.h *** old/snmp/smx.h Wed Jan 11 22:10:15 1989 --- new/snmp/smx.h Fri May 17 16:13:57 1991 *************** *** 2,8 **** #define _SMX_H_ /* ! * $Header: smx.h,v 1.1 89/01/11 22:10:15 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 2,8 ---- #define _SMX_H_ /* ! * $Header: smx.h,v 3.0 91/05/17 16:13:56 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/snmp/vec.c new/snmp/vec.c *** old/snmp/vec.c Wed Jan 11 22:09:18 1989 --- new/snmp/vec.c Fri May 17 16:13:18 1991 *************** *** 1,6 **** /* ! * $Header: vec.c,v 1.1 89/01/11 22:09:18 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 1,6 ---- /* ! * $Header: vec.c,v 3.0 91/05/17 16:13:17 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/snmp/vec.h new/snmp/vec.h *** old/snmp/vec.h Wed Jan 11 22:10:11 1989 --- new/snmp/vec.h Fri May 17 16:13:54 1991 *************** *** 2,8 **** #define _VEC_H_ /* ! * $Header: vec.h,v 1.1 89/01/11 22:10:11 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 2,8 ---- #define _VEC_H_ /* ! * $Header: vec.h,v 3.0 91/05/17 16:13:53 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" diff -c -r old/snmpd/Makefile new/snmpd/Makefile *** old/snmpd/Makefile Sat Jan 14 16:54:14 1989 --- new/snmpd/Makefile Fri May 17 16:15:25 1991 *************** *** 1,6 **** # ! # $Header: Makefile,v 1.1 89/01/11 22:12:12 jrd Exp $ # Author: J. Davin # Copyright 1988, 1989, Massachusetts Institute of Technology # See permission and disclaimer notice in file "notice.h" --- 1,6 ---- # ! # $Header: Makefile,v 3.0 91/05/17 16:15:24 jrd Rel $ # Author: J. Davin # Copyright 1988, 1989, Massachusetts Institute of Technology # See permission and disclaimer notice in file "notice.h" *************** *** 50,53 **** snmpd.o: ../snmp/aps.h ../snmp/asn.h ../snmp/asndefs.h ../snmp/asl.h snmpd.o: ../snmp/asldefs.h ../snmp/mis.h ../snmp/mix.h ../snmp/miv.h snmpd.o: ../snmp/ap0.h ../snmp/avl.h ../bsd/udp.h ../bsd/systm.h ! snmpd.o: ../bsd/kmem.h ../bsd/rte.h ../bsd/icmp.h --- 50,53 ---- snmpd.o: ../snmp/aps.h ../snmp/asn.h ../snmp/asndefs.h ../snmp/asl.h snmpd.o: ../snmp/asldefs.h ../snmp/mis.h ../snmp/mix.h ../snmp/miv.h snmpd.o: ../snmp/ap0.h ../snmp/avl.h ../bsd/udp.h ../bsd/systm.h ! snmpd.o: ../bsd/kmem.h ../bsd/rte.h ../bsd/icmp.h ../bsd/if.h ../bsd/udps.h diff -c -r old/snmpd/snmpd.c new/snmpd/snmpd.c *** old/snmpd/snmpd.c Tue Aug 1 15:28:40 1989 --- new/snmpd/snmpd.c Fri May 17 16:15:27 1991 *************** *** 1,6 **** /* ! * $Header: snmpd.c,v 1.2 89/02/17 19:01:13 jrd Locked $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 1,6 ---- /* ! * $Header: snmpd.c,v 3.0 91/05/17 16:15:26 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" *************** *** 11,17 **** #include #include #include - #include #include #include --- 11,16 ---- *************** *** 35,40 **** --- 34,41 ---- #include #include #include + #include + #include #define cmdStringSize (32) #define cmdBufferSize (2048) *************** *** 55,60 **** --- 56,63 ---- systmInit (); rteInit (); icmpInit (); + ifInit (); + udpsInit (); } static CIntfType usage (s) *************** *** 243,258 **** return (close (s)); } - int signalCatcher (sig, code, scp) - - int sig; - int code; - struct sigcontext *scp; - - { - /* do nothing */ - } - int main (argc, argv) int argc; --- 246,251 ---- *************** *** 259,274 **** char *argv []; { - struct sigvec vec, ovec; - - vec.sv_handler = signalCatcher; - vec.sv_mask = 0; - vec.sv_flags = SV_INTERRUPT; - - if (sigvec (SIGHUP, & vec, & ovec) < 0) { - exit (perror (argv [ 0 ])); - } - exit (snmpdCommand (argc, argv)); } --- 252,257 ---- diff -c -r old/snmpget/Makefile new/snmpget/Makefile *** old/snmpget/Makefile Sat Jan 14 16:53:15 1989 --- new/snmpget/Makefile Fri May 17 16:14:45 1991 *************** *** 1,6 **** # ! # $Header: Makefile,v 1.1 89/01/11 22:11:04 jrd Exp $ # Author: J. Davin # Copyright 1988, 1989, Massachusetts Institute of Technology # See permission and disclaimer notice in file "notice.h" --- 1,6 ---- # ! # $Header: Makefile,v 3.0 91/05/17 16:14:44 jrd Rel $ # Author: J. Davin # Copyright 1988, 1989, Massachusetts Institute of Technology # See permission and disclaimer notice in file "notice.h" diff -c -r old/snmpget/snmpget.c new/snmpget/snmpget.c *** old/snmpget/snmpget.c Tue Aug 1 15:29:35 1989 --- new/snmpget/snmpget.c Fri May 17 16:14:47 1991 *************** *** 1,6 **** /* ! * $Header: snmpget.c,v 1.2 89/02/17 18:59:31 jrd Locked $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 1,6 ---- /* ! * $Header: snmpget.c,v 3.0 91/05/17 16:14:45 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" *************** *** 52,58 **** { SmpIndexType i; SmpBindPtrType bind; ! CCharType text [ cmdTextSize ]; if ((req->smpRequestCmd != smpCommandRsp) || --- 52,58 ---- { SmpIndexType i; SmpBindPtrType bind; ! CCharType text [ (cmdTextSize + 1) ]; if ((req->smpRequestCmd != smpCommandRsp) || diff -c -r old/snmpnext/Makefile new/snmpnext/Makefile *** old/snmpnext/Makefile Sat Jan 14 16:53:31 1989 --- new/snmpnext/Makefile Fri May 17 16:14:58 1991 *************** *** 1,6 **** # ! # $Header: Makefile,v 1.1 89/01/11 22:11:20 jrd Exp $ # Author: J. Davin # Copyright 1988, 1989, Massachusetts Institute of Technology # See permission and disclaimer notice in file "notice.h" --- 1,6 ---- # ! # $Header: Makefile,v 3.0 91/05/17 16:14:57 jrd Rel $ # Author: J. Davin # Copyright 1988, 1989, Massachusetts Institute of Technology # See permission and disclaimer notice in file "notice.h" diff -c -r old/snmpnext/snmpnext.c new/snmpnext/snmpnext.c *** old/snmpnext/snmpnext.c Tue Aug 1 15:30:12 1989 --- new/snmpnext/snmpnext.c Fri May 17 16:15:01 1991 *************** *** 1,6 **** /* ! * $Header: snmpnext.c,v 1.2 89/02/17 19:02:21 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 1,6 ---- /* ! * $Header: snmpnext.c,v 3.0 91/05/17 16:14:59 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" *************** *** 30,36 **** #define cmdBufferSize (2048) #define cmdBindListSize (20) ! #define cmdTextSize (64) static void cmdInit () --- 30,36 ---- #define cmdBufferSize (2048) #define cmdBindListSize (20) ! #define cmdTextSize (128) static void cmdInit () *************** *** 58,64 **** SmpIndexType i; SmpBindPtrType bind; SmpBindPtrType orig; ! CCharType text [ cmdTextSize ]; if ((req->smpRequestCmd != smpCommandRsp) || (req->smpRequestId != requestId)) { --- 58,64 ---- SmpIndexType i; SmpBindPtrType bind; SmpBindPtrType orig; ! CCharType text [ (cmdTextSize + 1) ]; if ((req->smpRequestCmd != smpCommandRsp) || (req->smpRequestId != requestId)) { diff -c -r old/snmpset/Makefile new/snmpset/Makefile *** old/snmpset/Makefile Sat Jan 14 16:53:22 1989 --- new/snmpset/Makefile Fri May 17 16:14:52 1991 *************** *** 1,6 **** # ! # $Header: Makefile,v 1.1 89/01/11 22:11:12 jrd Exp $ # Author: J. Davin # Copyright 1988, 1989, Massachusetts Institute of Technology # See permission and disclaimer notice in file "notice.h" --- 1,6 ---- # ! # $Header: Makefile,v 3.0 91/05/17 16:14:50 jrd Rel $ # Author: J. Davin # Copyright 1988, 1989, Massachusetts Institute of Technology # See permission and disclaimer notice in file "notice.h" diff -c -r old/snmpset/snmpset.c new/snmpset/snmpset.c *** old/snmpset/snmpset.c Tue Aug 1 15:30:57 1989 --- new/snmpset/snmpset.c Fri May 17 16:14:54 1991 *************** *** 1,6 **** /* ! * $Header: snmpset.c,v 1.2 89/02/17 19:03:23 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 1,6 ---- /* ! * $Header: snmpset.c,v 3.0 91/05/17 16:14:52 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" *************** *** 30,36 **** #define cmdBufferSize (2048) #define cmdBindListSize (20) ! #define cmdTextSize (64) static SmpSequenceType requestId; static CBoolType cmdDone; --- 30,36 ---- #define cmdBufferSize (2048) #define cmdBindListSize (20) ! #define cmdTextSize (128) static SmpSequenceType requestId; static CBoolType cmdDone; *************** *** 53,59 **** { SmpIndexType i; SmpBindPtrType bind; ! CCharType text [ cmdTextSize ]; smp = smp; if ((req->smpRequestCmd != smpCommandRsp) || --- 53,59 ---- { SmpIndexType i; SmpBindPtrType bind; ! CCharType text [ (cmdTextSize + 1) ]; smp = smp; if ((req->smpRequestCmd != smpCommandRsp) || diff -c -r old/snmptrap/Makefile new/snmptrap/Makefile *** old/snmptrap/Makefile Sat Jan 14 16:53:41 1989 --- new/snmptrap/Makefile Fri May 17 16:15:04 1991 *************** *** 1,6 **** # ! # $Header: Makefile,v 1.1 89/01/11 22:11:28 jrd Exp $ # Author: J. Davin # Copyright 1988, 1989, Massachusetts Institute of Technology # See permission and disclaimer notice in file "notice.h" --- 1,6 ---- # ! # $Header: Makefile,v 3.0 91/05/17 16:15:04 jrd Rel $ # Author: J. Davin # Copyright 1988, 1989, Massachusetts Institute of Technology # See permission and disclaimer notice in file "notice.h" diff -c -r old/snmptrap/snmptrap.c new/snmptrap/snmptrap.c *** old/snmptrap/snmptrap.c Tue Aug 1 15:32:13 1989 --- new/snmptrap/snmptrap.c Fri May 17 16:15:06 1991 *************** *** 1,6 **** /* ! * $Header: snmptrap.c,v 1.2 89/02/17 19:04:56 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 1,6 ---- /* ! * $Header: snmptrap.c,v 3.0 91/05/17 16:15:05 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" *************** *** 30,36 **** #define cmdBufferSize (2048) #define cmdBindListSize (20) - #define cmdTextSize (64) static void cmdInit () --- 30,35 ---- diff -c -r old/snmptrapd/Makefile new/snmptrapd/Makefile *** old/snmptrapd/Makefile Sat Jan 14 16:53:50 1989 --- new/snmptrapd/Makefile Fri May 17 16:15:09 1991 *************** *** 1,6 **** # ! # $Header: Makefile,v 1.1 89/01/11 22:11:39 jrd Exp $ # Author: J. Davin # Copyright 1988, 1989, Massachusetts Institute of Technology # See permission and disclaimer notice in file "notice.h" --- 1,6 ---- # ! # $Header: Makefile,v 3.0 91/05/17 16:15:08 jrd Rel $ # Author: J. Davin # Copyright 1988, 1989, Massachusetts Institute of Technology # See permission and disclaimer notice in file "notice.h" diff -c -r old/snmptrapd/snmptrapd.c new/snmptrapd/snmptrapd.c *** old/snmptrapd/snmptrapd.c Tue Aug 1 15:32:43 1989 --- new/snmptrapd/snmptrapd.c Fri May 17 16:15:10 1991 *************** *** 1,6 **** /* ! * $Header: snmptrapd.c,v 1.2 89/02/17 19:06:01 jrd Exp $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" --- 1,6 ---- /* ! * $Header: snmptrapd.c,v 3.0 91/05/17 16:15:09 jrd Rel $ * Author: J. Davin * Copyright 1988, 1989, Massachusetts Institute of Technology * See permission and disclaimer notice in file "notice.h" *************** *** 27,33 **** #include #include ! #define cmdTextSize (64) #define cmdBufferSize (2048) static void cmdInit () --- 27,33 ---- #include #include ! #define cmdTextSize (128) #define cmdBufferSize (2048) static void cmdInit () *************** *** 48,54 **** { SmpIndexType i; SmpBindPtrType bind; ! CCharType text [ cmdTextSize ]; if (req->smpRequestCmd != smpCommandTrap) { --- 48,54 ---- { SmpIndexType i; SmpBindPtrType bind; ! CCharType text [ (cmdTextSize + 1) ]; if (req->smpRequestCmd != smpCommandTrap) {