pcap
struct pcap *next; /* list of open pcaps that need stuff cleared on close */
static struct pcap *pcaps_to_close;
struct pcap *handle;
typedef struct pcap pcap_t;
pthread_t pcap;
CHECKr(pthread_create(&pcap, NULL, pcap_thread, NULL));
hdr.pcap.ts.tv_sec = tv.tv_sec;
hdr.pcap.ts.tv_usec = tv.tv_usec;
hdr.pcap.caplen = datalen + hdrlen;
hdr.pcap.len = datalen + hdrlen;
struct pcap_pkthdr pcap;/* pcap file packet header */
fddi_if_print(u_char *pcap, const struct pcap_pkthdr *h,
fddi_if_print(u_char *pcap, const struct pcap_pkthdr *h,