Searched refs:pcap (Results 1 – 4 of 4) sorted by relevance
27 pcap = None variable70 pcap = a variable79 if pcap != None and os.path.exists(pcap):80 os.remove(pcap)94 if pcap != None:95 wrpcap(pcap, packet, append=True)
50 static struct pcap_fd *pcap; variable114 if (!pcap) in monitor_pcap_free()117 if (pcap->fd >= 0) in monitor_pcap_free()118 close(pcap->fd); in monitor_pcap_free()120 g_free(pcap); in monitor_pcap_free()128 pcap = g_new0(struct pcap_fd, 1); in monitor_pcap_create()129 pcap->fd = open(pathname, O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC, in monitor_pcap_create()131 if (pcap->fd < 0) { in monitor_pcap_create()133 g_free(pcap); in monitor_pcap_create()150 len = write(pcap->fd, &hdr, PCAP_FILE_HDR_SIZE); in monitor_pcap_create()[all …]
192 Usage : monitor_15_4 <sample pcap file> [<pipe_1> <pipe_2>]194 $ monitor_15_4 sample.pcap198 $ monitor_15_4 sample.pcap /tmp/ip-15-4-1 /tmp/ip-15-4-2
131 GITIGNOREDS:= core \*~ \*.[oa] \*.gz \*.cap \*.pcap Makefile \