]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-enc.c
NDOize more small decoders
[tcpdump] / print-enc.c
index a3c59b35b3d4d8a007ebe05c9165bcdfd00f1fd0..c8bb3dec19d8dfe6efd7e474facf8e8cc0e71a75 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-enc.c,v 1.6 2008-11-18 07:35:32 guy Exp $ (LBL)";
-#endif
-
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
 
 #include <tcpdump-stdinc.h>
 
-#include <pcap.h>
-
 #include "interface.h"
 #include "extract.h"
-#include "addrtoname.h"
 
 /* From $OpenBSD: if_enc.h,v 1.8 2001/06/25 05:14:00 angelos Exp $ */
 /*
@@ -118,7 +110,7 @@ enc_if_print(const struct pcap_pkthdr *h, register const u_char *p)
        length -= ENC_HDRLEN;
        caplen -= ENC_HDRLEN;
        p += ENC_HDRLEN;
-       
+
        switch (hdr->af) {
        case AF_INET:
                ip_print(gndo, p, length);