Lines Matching refs:linktype
71 sf_write_header(FILE *fp, int linktype, int thiszone, int snaplen)
82 hdr.linktype = linktype;
98 hp->linktype = SWAPLONG(hp->linktype);
181 switch (hdr.linktype) {
185 p->linktype = DLT_ATM_RFC1483;
190 p->linktype = DLT_RAW;
195 p->linktype = DLT_SLIP_BSDOS;
200 p->linktype = DLT_PPP_BSDOS;
205 p->linktype = DLT_LOOP;
210 p->linktype = DLT_ENC;
215 p->linktype = DLT_PFSYNC;
219 p->linktype = hdr.linktype;
227 switch (p->linktype) {
420 if (sf_write_header(f, p->linktype, p->tzoff, p->snapshot) == -1) {