Deleted Added
full compact
print-snmp.c (26180) print-snmp.c (39297)
1/*
1/*
2 * Copyright (c) 1990, 1991, 1993, 1994, 1995, 1996
2 * Copyright (c) 1990, 1991, 1993, 1994, 1995, 1996, 1997
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms are permitted
6 * provided that the above copyright notice and this paragraph are
7 * duplicated in all such forms and that any documentation,
8 * advertising materials, and other materials related to such
9 * distribution and use acknowledge that the software was developed
10 * by John Robert LoVerso.

--- 10 unchanged lines hidden (view full) ---

21 * that work is preserved below, even though it may not rightly apply
22 * to this file.
23 *
24 * This started out as a very simple program, but the incremental decoding
25 * (into the BE structure) complicated things.
26 *
27 # Los Alamos National Laboratory
28 #
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms are permitted
6 * provided that the above copyright notice and this paragraph are
7 * duplicated in all such forms and that any documentation,
8 * advertising materials, and other materials related to such
9 * distribution and use acknowledge that the software was developed
10 * by John Robert LoVerso.

--- 10 unchanged lines hidden (view full) ---

21 * that work is preserved below, even though it may not rightly apply
22 * to this file.
23 *
24 * This started out as a very simple program, but the incremental decoding
25 * (into the BE structure) complicated things.
26 *
27 # Los Alamos National Laboratory
28 #
29 # Copyright, 1990. The Regents of the University of California.
29 # Copyright (c) 1990, 1991, 1993, 1994, 1995, 1996, 1997
30 # This software was produced under a U.S. Government contract
31 # (W-7405-ENG-36) by Los Alamos National Laboratory, which is
32 # operated by the University of California for the U.S. Department
33 # of Energy. The U.S. Government is licensed to use, reproduce,
34 # and distribute this software. Permission is granted to the
35 # public to copy and use this software without charge, provided
36 # that this Notice and any statement of authorship are reproduced
37 # on all copies. Neither the Government nor the University makes
38 # any warranty, express or implied, or assumes any liability or
39 # responsibility for the use of this software.
40 # @(#)snmp.awk.x 1.1 (LANL) 1/15/90
41 */
42
43#ifndef lint
44static const char rcsid[] =
30 # This software was produced under a U.S. Government contract
31 # (W-7405-ENG-36) by Los Alamos National Laboratory, which is
32 # operated by the University of California for the U.S. Department
33 # of Energy. The U.S. Government is licensed to use, reproduce,
34 # and distribute this software. Permission is granted to the
35 # public to copy and use this software without charge, provided
36 # that this Notice and any statement of authorship are reproduced
37 # on all copies. Neither the Government nor the University makes
38 # any warranty, express or implied, or assumes any liability or
39 # responsibility for the use of this software.
40 # @(#)snmp.awk.x 1.1 (LANL) 1/15/90
41 */
42
43#ifndef lint
44static const char rcsid[] =
45 "@(#) $Header: print-snmp.c,v 1.31 96/12/10 23:22:55 leres Exp $ (LBL)";
45 "@(#) $Header: print-snmp.c,v 1.33 97/06/15 13:20:28 leres Exp $ (LBL)";
46#endif
47
48#include <sys/param.h>
49#include <sys/time.h>
50
46#endif
47
48#include <sys/param.h>
49#include <sys/time.h>
50
51#include <stdio.h>
52#include <ctype.h>
51#include <ctype.h>
52#ifdef HAVE_MEMORY_H
53#include <memory.h>
54#endif
55#include <stdio.h>
53#include <string.h>
54
55#include "interface.h"
56#include "addrtoname.h"
57
58/*
59 * Universal ASN.1 types
60 * (we only care about the tag values for those allowed in the Internet SMI)

--- 980 unchanged lines hidden ---
56#include <string.h>
57
58#include "interface.h"
59#include "addrtoname.h"
60
61/*
62 * Universal ASN.1 types
63 * (we only care about the tag values for those allowed in the Internet SMI)

--- 980 unchanged lines hidden ---