Searched refs:pcap_save (Results 1 – 1 of 1) sorted by relevance
839 static pcap_t pcap_save; variable859 int len = pcap_read_dos (&pcap_save, 1, watt32_recv_hook, NULL); in pcap_recv_hook()996 memcpy (&pcap_save, pcap, sizeof(pcap_save)); in init_watt32()998 pcap_save.fcode.bf_insns = NULL; in init_watt32()999 pcap_save.linktype = _eth_get_hwtype (NULL, NULL); in init_watt32()1000 pcap_save.snapshot = MTU > 0 ? MTU : ETH_MAX; /* assume 1514 */ in init_watt32()