[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tcpdump for tr frames and netbios packets?



Hi everyone,		

I'm trying to get tcpdump version that recognizes tr frames and netbios
packets.  Tried applying tcpdump-3.4a5-token-ring.patch against
tcpdump-3.4a5 and libpcap-0.4a5 (could not find libpcap-0.4a3) that patch
seems to be for.  There were rejections when applying patch and the
following when making tcpdump.  Patch against older libpcap (could someone
point in right direction) or is there another patch?  

Sven

gcc -O2 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_MEMORY_H=1
-DTIME_WITH_SYS_TIME=1 -DHAVE_NET_SLIP_H=1 -DHAVE_VFPRINTF=1
-DHAVE_STRCASECMP=1 -DHAVE_ETHER_NTOA=1 -DHAVE_SETLINEBUF=1
-DRETSIGTYPE=void
-DRETSIGVAL= -DHAVE_SIGACTION=1  -DHAVE_FDDI -I. -I../libpcap-0.4a5
-Ilinux-include -c ./print-tr.cIn file included from ./print-tr.c:37:
linux-include/netinet/if_tr.h:49: parse error before `__u8'
linux-include/netinet/if_tr.h:49: warning: no semicolon at end of struct
or union
linux-include/netinet/if_tr.h:50: warning: data definition has no type or
storage class
linux-include/netinet/if_tr.h:51: parse error before `daddr'
linux-include/netinet/if_tr.h:51: warning: data definition has no type or
storage class
linux-include/netinet/if_tr.h:52: parse error before `saddr'
linux-include/netinet/if_tr.h:52: warning: data definition has no type or
storage class
linux-include/netinet/if_tr.h:53: parse error before `rcf'
linux-include/netinet/if_tr.h:53: warning: data definition has no type or
storage class
linux-include/netinet/if_tr.h:54: parse error before `rseg'
linux-include/netinet/if_tr.h:54: warning: data definition has no type or
storage class
linux-include/netinet/if_tr.h:55: parse error before `}'
linux-include/netinet/if_tr.h:59: parse error before `__u8'
linux-include/netinet/if_tr.h:59: warning: no semicolon at end of struct
or union
linux-include/netinet/if_tr.h:60: warning: data definition has no type or
storage class
linux-include/netinet/if_tr.h:61: parse error before `llc'
linux-include/netinet/if_tr.h:61: warning: data definition has no type or
storage class
linux-include/netinet/if_tr.h:62: parse error before `protid'
linux-include/netinet/if_tr.h:62: warning: data definition has no type or
storage class
linux-include/netinet/if_tr.h:63: parse error before `ethertype'
linux-include/netinet/if_tr.h:63: warning: data definition has no type or
storage class
./print-tr.c:59: field `th' has incomplete type
./print-tr.c:60: field `tl' has incomplete type
make: *** [print-tr.o] Error 1