Lines Matching refs:linktype
73 /* fake hpcap, it only needs errbuf, snaplen, and linktype to
77 hpcap.linktype = link;
138 /* send oflag, netmask, snaplen and linktype */
288 p->linktype = v;
291 if (p->linktype == DLT_PFLOG && p->snapshot < 160)
342 hp->linktype = swap32(hp->linktype);
409 p->linktype = hdr.linktype;
415 switch (p->linktype) {
457 sf_write_header(FILE *fp, int linktype, int thiszone, int snaplen)
469 hdr.linktype = linktype;
508 (void)sf_write_header(f, p->linktype, p->tzoff, p->snapshot);