Home | History | Annotate | Download | only in qemu

Lines Matching refs:hdr

1951     struct pcap_sf_pkthdr hdr;
1963 hdr.ts.tv_sec = ts / 1000000;
1964 hdr.ts.tv_usec = ts % 1000000;
1965 hdr.caplen = caplen;
1966 hdr.len = size;
1967 if (write(s->fd, &hdr, sizeof(hdr)) != sizeof(hdr) ||
1988 struct pcap_file_hdr hdr;
2001 hdr.magic = PCAP_MAGIC;
2002 hdr.version_major = 2;
2003 hdr.version_minor = 4;
2004 hdr.thiszone = 0;
2005 hdr.sigfigs = 0;
2006 hdr.snaplen = s->pcap_caplen;
2007 hdr.linktype = 1;
2009 if (write(s->fd, &hdr, sizeof(hdr)) < sizeof(hdr)) {