tcpdump mailing list archives
sniffer.c
From: Derrick <derrick () logicalsi com>
Date: Thu, 30 Jan 2003 14:57:11 -0500
I've been looking for the sniffer.c file that the pcap.html documentation refers to. however none of the mirrors have this file nor the main www.tcpdump.org site.(arg!). I'm having problems with the structures that contain the TCP and IP headers. specifically /* Ethernet header */ struct sniff_ethernet { u_char ether_dhost[ETHER_ADDR_LEN]; /* Destination host address */ u_char ether_shost[ETHER_ADDR_LEN]; /* Source host address */ u_short ether_type; /* IP? ARP? RARP? etc */ }; ETHER_ADDR_LEN is not defined ANYWERE !!! I'm new to network programming so finding this is has been difficult. I had hoped that finding the sniffer.c program would help unravel this mystery that every one else seams to know about... Any help or pointers would be appreciated. or a link to sniffer.c would help ALOT!!!!! -- It isn't necessary to have relatives in Kansas City in order to be unhappy. -- Groucho Marx - This is the TCPDUMP workers list. It is archived at http://www.tcpdump.org/lists/workers/index.html To unsubscribe use mailto:tcpdump-workers-request () tcpdump org?body=unsubscribe
Current thread:
- sniffer.c Derrick (Jan 30)
- Re: sniffer.c Hannes Gredler (Jan 31)
- Re: sniffer.c Jose . Araujo (Jan 31)