Lines Matching refs:file_encap
105 int file_encap; in libpcap_open() local
329 file_encap = wtap_pcap_encap_to_wtap_encap(hdr.network & 0x03FFFFFF); in libpcap_open()
330 if (file_encap == WTAP_ENCAP_UNKNOWN) { in libpcap_open()
347 wth->file_encap = file_encap; in libpcap_open()
601 wth->file_encap = WTAP_ENCAP_ATM_PDUS; in libpcap_open()
603 if (wth->file_encap == WTAP_ENCAP_ERF) { in libpcap_open()
728 if (rec_hdr.hdr.incl_len > wtap_max_snaplen_for_encap(wth->file_encap)) { in libpcap_try_record()
848 if (hdr.hdr.incl_len > wtap_max_snaplen_for_encap(wth->file_encap)) { in libpcap_read_packet()
858 wtap_max_snaplen_for_encap(wth->file_encap)); in libpcap_read_packet()
871 (wth->file_encap == WTAP_ENCAP_FDDI || in libpcap_read_packet()
872 wth->file_encap == WTAP_ENCAP_FDDI_BITSWAPPED)) { in libpcap_read_packet()
889 wth->file_encap, packet_size, rec, err, err_info); in libpcap_read_packet()
904 if (wth->file_encap != WTAP_ENCAP_ERF) { in libpcap_read_packet()
928 pcap_read_post_process(is_nokia, wth->file_encap, rec, in libpcap_read_packet()
1132 switch (wth->file_encap) { in libpcap_close()