diff options
author | itojun <itojun> | 1999-10-30 05:11:06 +0000 |
---|---|---|
committer | itojun <itojun> | 1999-10-30 05:11:06 +0000 |
commit | c9d84d15c5c4dc8eca7594101fe5026080ed641e (patch) | |
tree | 79e5976a7e801dfa189fd653936ab06481654f91 /print-atm.c | |
parent | ce751501abbddbe91d683d13b5cd845a5d551d8f (diff) | |
download | tcpdump-c9d84d15c5c4dc8eca7594101fe5026080ed641e.tar.gz |
Bring in KAME IPv6 tcpdump. replaces esp/ah/isakmp decoder.
Hope I did not break anything. Portability on IPv4-only node needs checking,
I'll do this very soon. (sorry for rather jumbo commit)
XXx what is _FAVOR_BSD?
Diffstat (limited to 'print-atm.c')
-rw-r--r-- | print-atm.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/print-atm.c b/print-atm.c index 13f5369f..74dc4c74 100644 --- a/print-atm.c +++ b/print-atm.c @@ -20,7 +20,7 @@ */ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/print-atm.c,v 1.10 1999-10-17 21:37:11 mcr Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/print-atm.c,v 1.11 1999-10-30 05:11:11 itojun Exp $ (LBL)"; #endif #include <sys/param.h> @@ -37,7 +37,9 @@ struct rtentry; #include <netinet/if_ether.h> #include <netinet/in_systm.h> #include <netinet/ip.h> +#include <netinet/ip_var.h> #include <netinet/udp.h> +#include <netinet/udp_var.h> #include <netinet/tcp.h> #include <stdio.h> @@ -103,6 +105,12 @@ atm_if_print(u_char *user, const struct pcap_pkthdr *h, const u_char *p) ip_print(p, length); break; +#ifdef INET6 + case ETHERTYPE_IPV6: + ip6_print(p, length); + break; +#endif /*INET6*/ + /*XXX this probably isn't right */ case ETHERTYPE_ARP: case ETHERTYPE_REVARP: |