3 @@ -68,34 +68,38 @@ RANLIB = @RANLIB@
5 CSRC = addrtoname.c af.c checksum.c cpack.c gmpls.c oui.c gmt2local.c ipproto.c \
6 nlpid.c l2vpn.c machdep.c parsenfsfh.c \
7 - print-802_11.c print-ap1394.c print-ah.c print-arcnet.c \
8 - print-aodv.c print-arp.c print-ascii.c print-atalk.c print-atm.c \
9 - print-beep.c print-bfd.c print-bgp.c print-bootp.c print-bt.c \
10 - print-cdp.c print-cfm.c print-chdlc.c print-cip.c print-cnfp.c \
11 - print-dccp.c print-decnet.c \
12 - print-domain.c print-dtp.c print-dvmrp.c print-enc.c print-egp.c \
13 - print-eap.c print-eigrp.c\
14 - print-esp.c print-ether.c print-fddi.c print-fr.c \
15 - print-gre.c print-hsrp.c print-icmp.c print-igmp.c \
16 - print-igrp.c print-ip.c print-ipcomp.c print-ipfc.c print-ipnet.c \
17 - print-ipx.c print-isoclns.c print-juniper.c print-krb.c \
18 - print-l2tp.c print-lane.c print-ldp.c print-lldp.c print-llc.c \
19 - print-lmp.c print-lspping.c print-lwapp.c \
20 - print-lwres.c print-mobile.c print-mpcp.c print-mpls.c print-msdp.c \
21 + print-802_11.c print-aodv.c print-arp.c print-ascii.c \
22 + print-bgp.c print-bootp.c print-cdp.c print-domain.c print-eap.c print-ether.c \
23 + print-gre.c print-icmp.c print-igmp.c print-ip.c \
24 + print-l2tp.c print-lldp.c print-llc.c \
25 print-nfs.c print-ntp.c print-null.c print-olsr.c print-ospf.c \
26 - print-pgm.c print-pim.c print-ppp.c print-pppoe.c print-pptp.c \
27 - print-radius.c print-raw.c print-rip.c print-rrcp.c print-rsvp.c \
28 - print-rx.c print-sctp.c print-sflow.c print-sip.c print-sl.c print-sll.c \
29 - print-slow.c print-snmp.c print-stp.c print-sunatm.c print-sunrpc.c \
30 - print-symantec.c print-syslog.c print-tcp.c print-telnet.c print-tftp.c \
31 - print-timed.c print-token.c print-udld.c print-udp.c print-usb.c \
32 - print-vjc.c print-vqp.c print-vrrp.c print-vtp.c print-forces.c \
33 - print-wb.c print-zephyr.c signature.c setsignal.c tcpdump.c util.c
34 + print-ppp.c print-pppoe.c print-pptp.c print-radius.c print-raw.c print-rsvp.c \
35 + print-sctp.c print-sip.c print-snmp.c print-stp.c print-sunrpc.c \
36 + print-syslog.c print-tcp.c print-telnet.c print-tftp.c print-udp.c \
37 + setsignal.c tcpdump.c util.c signature.c print-ipnet.c print-forces.c
42 + print-ah.c print-ap1394.c print-arcnet.c print-atalk.c print-atm.c \
43 + print-beep.c print-bfd.c print-bt.c print-cfm.c print-chdlc.c \
44 + print-cip.c print-cnfp.c print-dccp.c print-decnet.c print-dtp.c \
45 + print-dvmrp.c print-eigrp.c print-enc.c print-esp.c print-fddi.c print-fr.c print-hsrp.c \
46 + print-igrp.c print-ipfc.c print-ipx.c print-ipcomp.c print-isoclns.c print-juniper.c print-lane.c \
47 + print-ldp.c print-lmp.c print-lspping.c print-lwapp.c print-egp.c print-krb.c \
48 + print-lwres.c print-mobile.c print-mpcp.c print-mpls.c print-msdp.c \
49 + print-pim.c print-pgm.c print-rip.c print-rrcp.c print-rx.c print-sflow.c print-slow.c print-sl.c \
50 + print-sll.c print-sunatm.c print-symantec.c print-timed.c print-token.c print-udld.c \
51 + print-vjc.c print-vqp.c print-wb.c print-zephyr.c print-vrrp.c print-vtp.c \
55 LIBNETDISSECT_SRC=print-isakmp.c
56 LIBNETDISSECT_OBJ=$(LIBNETDISSECT_SRC:.c=.o)
57 LIBNETDISSECT=libnetdissect.a
64 @@ -358,10 +362,12 @@ $(PROG): $(OBJ) @V_PCAPDEP@
66 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJ) $(LIBS)
69 $(LIBNETDISSECT): $(LIBNETDISSECT_OBJ)
71 $(AR) cr $@ $(LIBNETDISSECT_OBJ)
75 datalinks.o: $(srcdir)/missing/datalinks.c
76 $(CC) $(CFLAGS) -o $@ -c $(srcdir)/missing/datalinks.c
79 @@ -519,10 +519,10 @@ linkaddr_string(const u_char *ep, const
81 if (type == LINKADDR_ETHER && len == ETHER_ADDR_LEN)
82 return (etheraddr_string(ep));
85 if (type == LINKADDR_FRELAY)
86 return (q922_string(ep));
89 tp = lookup_bytestring(ep, len);
92 @@ -1122,6 +1122,7 @@ init_addrtoname(u_int32_t localnet, u_in
98 dnaddr_string(u_short dnaddr)
100 @@ -1141,6 +1142,7 @@ dnaddr_string(u_short dnaddr)
106 /* Return a zero'ed hnamemem struct and cuts down on calloc() overhead */
110 @@ -195,7 +195,7 @@ llc_print(const u_char *p, u_int length,
111 control = EXTRACT_LE_16BITS(p + 2);
115 +#ifndef TCPDUMP_MINI
116 if (ssap_field == LLCSAP_GLOBAL && dsap_field == LLCSAP_GLOBAL) {
118 * This is an Ethernet_802.3 IPX frame; it has an
119 @@ -218,6 +218,7 @@ llc_print(const u_char *p, u_int length,
120 ipx_print(p, length);
125 dsap = dsap_field & ~LLC_IG;
126 ssap = ssap_field & ~LLC_GSAP;
127 @@ -250,6 +251,7 @@ llc_print(const u_char *p, u_int length,
131 +#ifndef TCPDUMP_MINI
132 if (ssap == LLCSAP_IPX && dsap == LLCSAP_IPX &&
135 @@ -265,6 +267,7 @@ llc_print(const u_char *p, u_int length,
136 ipx_print(p+3, length-3);
141 #ifdef TCPDUMP_DO_SMB
142 if (ssap == LLCSAP_NETBEUI && dsap == LLCSAP_NETBEUI
143 @@ -296,11 +299,13 @@ llc_print(const u_char *p, u_int length,
147 +#ifndef TCPDUMP_MINI
148 if (ssap == LLCSAP_ISONS && dsap == LLCSAP_ISONS
149 && control == LLC_UI) {
150 isoclns_print(p + 3, length - 3, caplen - 3);
155 if (ssap == LLCSAP_SNAP && dsap == LLCSAP_SNAP
156 && control == LLC_UI) {
157 @@ -443,6 +448,7 @@ snap_print(const u_char *p, u_int length
159 cdp_print(p, length, caplen);
161 +#ifndef TCPDUMP_MINI
163 dtp_print(p, length);
165 @@ -452,6 +458,7 @@ snap_print(const u_char *p, u_int length
167 vtp_print(p, length);
171 stp_print(p, length);
173 @@ -482,6 +489,7 @@ snap_print(const u_char *p, u_int length
174 ether_print(p, length, caplen, NULL, NULL);
177 +#ifndef TCPDUMP_MINI
178 case PID_RFC2684_802_5_FCS:
179 case PID_RFC2684_802_5_NOFCS:
181 @@ -523,6 +531,7 @@ snap_print(const u_char *p, u_int length
183 fddi_print(p, length, caplen);
187 case PID_RFC2684_BPDU:
188 stp_print(p, length);
191 @@ -128,7 +128,7 @@ null_if_print(const struct pcap_pkthdr *
192 ip6_print(p, length);
196 +#ifndef TCPDUMP_MINI
198 isoclns_print(p, length, caplen);
200 @@ -140,7 +140,7 @@ null_if_print(const struct pcap_pkthdr *
202 ipx_print(p, length);
207 /* unknown AF_ value */
211 @@ -148,11 +148,14 @@ struct ndo_printer {
214 static struct printer printers[] = {
215 +#ifndef TCPDUMP_MINI
216 { arcnet_if_print, DLT_ARCNET },
217 #ifdef DLT_ARCNET_LINUX
218 { arcnet_linux_if_print, DLT_ARCNET_LINUX },
221 { ether_if_print, DLT_EN10MB },
222 +#ifndef TCPDUMP_MINI
223 { token_if_print, DLT_IEEE802 },
225 { lane_if_print, DLT_LANE8023 },
226 @@ -167,19 +170,23 @@ static struct printer printers[] = {
227 #ifdef DLT_SLIP_BSDOS
228 { sl_bsdos_if_print, DLT_SLIP_BSDOS },
231 { ppp_if_print, DLT_PPP },
232 #ifdef DLT_PPP_WITHDIRECTION
233 { ppp_if_print, DLT_PPP_WITHDIRECTION },
235 +#ifndef TCPDUMP_MINI
237 { ppp_bsdos_if_print, DLT_PPP_BSDOS },
239 { fddi_if_print, DLT_FDDI },
241 { null_if_print, DLT_NULL },
243 { null_if_print, DLT_LOOP },
245 { raw_if_print, DLT_RAW },
246 +#ifndef TCPDUMP_MINI
247 { atm_if_print, DLT_ATM_RFC1483 },
249 { chdlc_if_print, DLT_C_HDLC },
250 @@ -190,15 +197,19 @@ static struct printer printers[] = {
251 #ifdef DLT_PPP_SERIAL
252 { ppp_hdlc_if_print, DLT_PPP_SERIAL },
256 { pppoe_if_print, DLT_PPP_ETHER },
258 +#ifndef TCPDUMP_MINI
260 { sll_if_print, DLT_LINUX_SLL },
263 #ifdef DLT_IEEE802_11
264 { ieee802_11_if_print, DLT_IEEE802_11},
266 +#ifndef TCPDUMP_MINI
268 { ltalk_if_print, DLT_LTALK },
270 @@ -217,12 +228,14 @@ static struct printer printers[] = {
271 #ifdef DLT_IP_OVER_FC
272 { ipfc_if_print, DLT_IP_OVER_FC },
275 #ifdef DLT_PRISM_HEADER
276 { prism_if_print, DLT_PRISM_HEADER },
278 #ifdef DLT_IEEE802_11_RADIO
279 { ieee802_11_radio_if_print, DLT_IEEE802_11_RADIO },
281 +#ifndef TCPDUMP_MINI
283 { enc_if_print, DLT_ENC },
285 @@ -232,9 +245,11 @@ static struct printer printers[] = {
286 #ifdef DLT_APPLE_IP_OVER_IEEE1394
287 { ap1394_if_print, DLT_APPLE_IP_OVER_IEEE1394 },
290 #ifdef DLT_IEEE802_11_RADIO_AVS
291 { ieee802_11_radio_avs_if_print, DLT_IEEE802_11_RADIO_AVS },
293 +#ifndef TCPDUMP_MINI
294 #ifdef DLT_JUNIPER_ATM1
295 { juniper_atm1_print, DLT_JUNIPER_ATM1 },
297 @@ -300,6 +315,7 @@ static struct printer printers[] = {
299 { raw_if_print, DLT_IPV6 },
307 @@ -269,6 +269,7 @@ ethertype_print(u_short ether_type, cons
308 arp_print(gndo, p, length, caplen);
311 +#ifndef TCPDUMP_MINI
313 decnet_print(p, length, caplen);
315 @@ -287,11 +288,13 @@ ethertype_print(u_short ether_type, cons
316 printf("(NOV-ETHII) ");
317 ipx_print(p, length);
321 +#ifndef TCPDUMP_MINI
323 isoclns_print(p+1, length-1, length-1);
327 case ETHERTYPE_PPPOED:
328 case ETHERTYPE_PPPOES:
329 case ETHERTYPE_PPPOED2:
330 @@ -303,10 +306,11 @@ ethertype_print(u_short ether_type, cons
331 eap_print(gndo, p, length);
334 +#ifndef TCPDUMP_MINI
336 rrcp_print(gndo, p - 14 , length + 14);
343 @@ -314,6 +318,7 @@ ethertype_print(u_short ether_type, cons
347 +#ifndef TCPDUMP_MINI
349 mpcp_print(p, length);
351 @@ -326,7 +331,7 @@ ethertype_print(u_short ether_type, cons
352 case ETHERTYPE_CFM_OLD:
353 cfm_print(p, length);
358 lldp_print(p, length);
360 @@ -334,11 +339,12 @@ ethertype_print(u_short ether_type, cons
361 case ETHERTYPE_LOOPBACK:
364 +#ifndef TCPDUMP_MINI
366 case ETHERTYPE_MPLS_MULTI:
367 mpls_print(p, length);
373 case ETHERTYPE_MOPRC:
376 @@ -213,6 +213,7 @@ gre_print_0(const u_char *bp, u_int leng
380 +#ifndef TCPDUMP_MINI
384 @@ -228,6 +229,7 @@ gre_print_0(const u_char *bp, u_int leng
386 ether_print(bp, len, len, NULL, NULL);
390 printf("gre-proto-0x%x", prot);
394 @@ -303,6 +303,7 @@ igmp_print(register const u_char *bp, re
396 (void)printf("igmp leave %s", ipaddr_string(&bp[4]));
398 +#ifndef TCPDUMP_MINI
400 (void)printf("igmp dvmrp");
402 @@ -314,6 +315,7 @@ igmp_print(register const u_char *bp, re
403 (void)printf("igmp pimv1");
404 pimv1_print(bp, len);
408 print_mresp(bp, len);
412 @@ -380,6 +380,7 @@ ip_print_demux(netdissect_options *ndo,
416 +#ifndef TCPDUMP_MINI
418 ipds->nh = *ipds->cp;
419 ipds->advance = ah_print(ipds->cp);
420 @@ -414,14 +415,16 @@ again:
421 ipds->nh = enh & 0xff;
427 sctp_print(ipds->cp, (const u_char *)ipds->ip, ipds->len);
430 +#ifndef TCPDUMP_MINI
432 dccp_print(ipds->cp, (const u_char *)ipds->ip, ipds->len);
437 /* pass on the MF bit plus the offset to detect fragments */
438 @@ -441,6 +444,7 @@ again:
439 ipds->off & (IP_MF|IP_OFFMASK));
442 +#ifndef TCPDUMP_MINI
445 * XXX - the current IANA protocol number assignments
446 @@ -461,15 +465,16 @@ again:
448 eigrp_print(ipds->cp, ipds->len);
453 ND_PRINT((ndo, " nd %d", ipds->len));
456 +#ifndef TCPDUMP_MINI
458 egp_print(ipds->cp, ipds->len);
463 ospf_print(ipds->cp, ipds->len, (const u_char *)ipds->ip);
465 @@ -503,10 +508,10 @@ again:
466 gre_print(ipds->cp, ipds->len);
469 +#ifndef TCPDUMP_MINI
471 mobile_print(ipds->cp, ipds->len);
475 pim_print(ipds->cp, ipds->len,
476 in_cksum((const u_short*)ipds->cp, ipds->len, 0));
477 @@ -519,7 +524,7 @@ again:
479 pgm_print(ipds->cp, ipds->len, (const u_char *)ipds->ip);
484 if ((proto = getprotobynumber(ipds->nh)) != NULL)
485 ND_PRINT((ndo, " %s", proto->p_name));
488 @@ -1262,7 +1262,7 @@ trunc:
493 +#ifndef TCPDUMP_MINI
495 ppp_hdlc(const u_char *p, int length)
497 @@ -1327,17 +1327,19 @@ cleanup:
506 handle_ppp(u_int proto, const u_char *p, int length)
508 +#ifndef TCPDUMP_MINI
509 if ((proto & 0xff00) == 0x7e00) {/* is this an escape code ? */
510 ppp_hdlc(p-1, length);
516 case PPP_LCP: /* fall through */
518 @@ -1371,6 +1373,7 @@ handle_ppp(u_int proto, const u_char *p,
519 ip6_print(p, length);
522 +#ifndef TCPDUMP_MINI
523 case ETHERTYPE_IPX: /*XXX*/
525 ipx_print(p, length);
526 @@ -1382,6 +1385,7 @@ handle_ppp(u_int proto, const u_char *p,
528 mpls_print(p, length);
532 printf("compressed PPP data");
534 @@ -1520,6 +1524,7 @@ ppp_if_print(const struct pcap_pkthdr *h
538 +#ifndef TCPDUMP_MINI
540 * PPP I/F printer to use if we know that RFC 1662-style PPP in HDLC-like
541 * framing, or Cisco PPP with HDLC framing as per section 4.3.1 of RFC 1547,
542 @@ -1747,7 +1752,7 @@ printx:
543 #endif /* __bsdi__ */
553 @@ -649,8 +649,10 @@ tcp_print(register const u_char *bp, reg
554 else if (sport == SMB_PORT || dport == SMB_PORT)
555 smb_tcp_print(bp, length);
557 +#ifndef TCPDUMP_MINI
558 else if (sport == BEEP_PORT || dport == BEEP_PORT)
559 beep_print(bp, length);
561 else if (length > 2 &&
562 (sport == NAMESERVER_PORT || dport == NAMESERVER_PORT ||
563 sport == MULTICASTDNS_PORT || dport == MULTICASTDNS_PORT)) {
564 @@ -659,11 +661,12 @@ tcp_print(register const u_char *bp, reg
565 * XXX packet could be unaligned, it can go strange
567 ns_print(bp + 2, length - 2, 0);
568 +#ifndef TCPDUMP_MINI
569 } else if (sport == MSDP_PORT || dport == MSDP_PORT) {
570 msdp_print(bp, length);
572 - else if (length > 0 && (sport == LDP_PORT || dport == LDP_PORT)) {
573 + } else if (length > 0 && (sport == LDP_PORT || dport == LDP_PORT)) {
574 ldp_print(bp, length);
581 @@ -478,11 +478,12 @@ udp_print(register const u_char *bp, u_i
582 vat_print((void *)(up + 1), up);
585 +#ifndef TCPDUMP_MINI
587 udpipaddr_print(ip, sport, dport);
588 wb_print((void *)(up + 1), length);
593 rp = (struct sunrpc_msg *)(up + 1);
594 direction = (enum sunrpc_msg_type)EXTRACT_32BITS(&rp->rm_direction);
595 @@ -510,11 +511,12 @@ udp_print(register const u_char *bp, u_i
596 snmp_print((const u_char *)(up + 1), length);
599 +#ifndef TCPDUMP_MINI
601 udpipaddr_print(ip, sport, dport);
602 cnfp_print(cp, (const u_char *)ip);
607 udpipaddr_print(ip, sport, dport);
608 tftp_print(cp, length);
609 @@ -557,6 +559,7 @@ udp_print(register const u_char *bp, u_i
613 +#ifndef TCPDUMP_MINI
614 if (TTEST(((struct LAP *)cp)->type) &&
615 ((struct LAP *)cp)->type == lapDDP &&
616 (atalk_port(sport) || atalk_port(dport))) {
617 @@ -565,6 +568,7 @@ udp_print(register const u_char *bp, u_i
618 llap_print(cp, length);
623 udpipaddr_print(ip, sport, dport);
625 @@ -600,14 +604,18 @@ udp_print(register const u_char *bp, u_i
626 ns_print((const u_char *)(up + 1), length, 0);
627 else if (ISPORT(MULTICASTDNS_PORT))
628 ns_print((const u_char *)(up + 1), length, 1);
629 +#ifndef TCPDUMP_MINI
630 else if (ISPORT(TIMED_PORT))
631 timed_print((const u_char *)(up + 1));
633 else if (ISPORT(TFTP_PORT))
634 tftp_print((const u_char *)(up + 1), length);
635 else if (ISPORT(IPPORT_BOOTPC) || ISPORT(IPPORT_BOOTPS))
636 bootp_print((const u_char *)(up + 1), length);
637 +#ifndef TCPDUMP_MINI
638 else if (ISPORT(RIP_PORT))
639 rip_print((const u_char *)(up + 1), length);
641 else if (ISPORT(AODV_PORT))
642 aodv_print((const u_char *)(up + 1), length,
644 @@ -615,6 +623,7 @@ udp_print(register const u_char *bp, u_i
648 +#ifndef TCPDUMP_MINI
649 else if (ISPORT(ISAKMP_PORT))
650 isakmp_print(gndo, (const u_char *)(up + 1), length, bp2);
651 else if (ISPORT(ISAKMP_PORT_NATT))
652 @@ -623,12 +632,15 @@ udp_print(register const u_char *bp, u_i
653 else if (ISPORT(ISAKMP_PORT_USER1) || ISPORT(ISAKMP_PORT_USER2))
654 isakmp_print(gndo, (const u_char *)(up + 1), length, bp2);
657 else if (ISPORT(SNMP_PORT) || ISPORT(SNMPTRAP_PORT))
658 snmp_print((const u_char *)(up + 1), length);
659 else if (ISPORT(NTP_PORT))
660 ntp_print((const u_char *)(up + 1), length);
661 +#ifndef TCPDUMP_MINI
662 else if (ISPORT(KERBEROS_PORT) || ISPORT(KERBEROS_SEC_PORT))
663 krb_print((const void *)(up + 1));
665 else if (ISPORT(L2TP_PORT))
666 l2tp_print((const u_char *)(up + 1), length);
667 #ifdef TCPDUMP_DO_SMB
668 @@ -639,6 +651,7 @@ udp_print(register const u_char *bp, u_i
670 else if (dport == 3456)
671 vat_print((const void *)(up + 1), up);
672 +#ifndef TCPDUMP_MINI
673 else if (ISPORT(ZEPHYR_SRV_PORT) || ISPORT(ZEPHYR_CLT_PORT))
674 zephyr_print((const void *)(up + 1), length);
676 @@ -649,6 +662,7 @@ udp_print(register const u_char *bp, u_i
677 (dport >= RX_PORT_LOW && dport <= RX_PORT_HIGH))
678 rx_print((const void *)(up + 1), length, sport, dport,
682 else if (ISPORT(RIPNG_PORT))
683 ripng_print((const u_char *)(up + 1), length);
684 @@ -659,21 +673,25 @@ udp_print(register const u_char *bp, u_i
686 * Kludge in test for whiteboard packets.
688 +#ifndef TCPDUMP_MINI
689 else if (dport == 4567)
690 wb_print((const void *)(up + 1), length);
691 else if (ISPORT(CISCO_AUTORP_PORT))
692 cisco_autorp_print((const void *)(up + 1), length);
694 else if (ISPORT(RADIUS_PORT) ||
695 ISPORT(RADIUS_NEW_PORT) ||
696 ISPORT(RADIUS_ACCOUNTING_PORT) ||
697 ISPORT(RADIUS_NEW_ACCOUNTING_PORT) )
698 radius_print((const u_char *)(up+1), length);
699 +#ifndef TCPDUMP_MINI
700 else if (dport == HSRP_PORT)
701 hsrp_print((const u_char *)(up + 1), length);
702 else if (ISPORT(LWRES_PORT))
703 lwres_print((const u_char *)(up + 1), length);
704 else if (ISPORT(LDP_PORT))
705 ldp_print((const u_char *)(up + 1), length);
707 else if (ISPORT(OLSR_PORT))
708 olsr_print((const u_char *)(up + 1), length,
710 @@ -681,6 +699,7 @@ udp_print(register const u_char *bp, u_i
714 +#ifndef TCPDUMP_MINI
715 else if (ISPORT(MPLS_LSP_PING_PORT))
716 lspping_print((const u_char *)(up + 1), length);
717 else if (dport == BFD_CONTROL_PORT ||
718 @@ -698,6 +717,7 @@ udp_print(register const u_char *bp, u_i
719 lwapp_control_print((const u_char *)(up + 1), length, 0);
720 else if (ISPORT(LWAPP_DATA_PORT))
721 lwapp_data_print((const u_char *)(up + 1), length);
723 else if (ISPORT(SIP_PORT))
724 sip_print((const u_char *)(up + 1), length);
725 else if (ISPORT(SYSLOG_PORT))
728 @@ -186,9 +186,11 @@ ip6_print(register const u_char *bp, reg
730 sctp_print(cp, (const u_char *)ip6, len);
732 +#ifndef TCPDUMP_MINI
734 dccp_print(cp, (const u_char *)ip6, len);
738 tcp_print(cp, len, (const u_char *)ip6, fragmented);
740 @@ -198,6 +200,7 @@ ip6_print(register const u_char *bp, reg
742 icmp6_print(gndo, cp, len, (const u_char *)ip6, fragmented);
744 +#ifndef TCPDUMP_MINI
746 advance = ah_print(cp);
748 @@ -222,7 +225,7 @@ ip6_print(register const u_char *bp, reg
749 pim_print(cp, len, nextproto6_cksum(ip6, (u_short *)cp, len,
755 ospf6_print(cp, len);
757 @@ -234,11 +237,11 @@ ip6_print(register const u_char *bp, reg
759 ip_print(gndo, cp, len);
762 +#ifndef TCPDUMP_MINI
764 pgm_print(cp, len, (const u_char *)ip6);