Home
last modified time | relevance | path

Searched refs:file_encap (Results 1 – 25 of 280) sorted by relevance

12345678910>>...12

/dports/net/wireshark/wireshark-3.6.1/wiretap/
H A Dradcom.c197 wth->file_encap = WTAP_ENCAP_LAPB; in radcom_open()
199 wth->file_encap = WTAP_ENCAP_ETHERNET; in radcom_open()
201 wth->file_encap = WTAP_ENCAP_ATM_RFC1483; in radcom_open()
222 if (wth->file_encap == WTAP_ENCAP_ETHERNET) { in radcom_open()
225 } else if (wth->file_encap == WTAP_ENCAP_LAPB) { in radcom_open()
228 } else if (wth->file_encap == WTAP_ENCAP_ATM_RFC1483) { in radcom_open()
258 if (wth->file_encap == WTAP_ENCAP_LAPB) { in radcom_read()
337 switch (wth->file_encap) { in radcom_read_rec()
H A Dbtsnoop.c83 int file_encap=WTAP_ENCAP_UNKNOWN; in btsnoop_open() local
113 file_encap=WTAP_ENCAP_BLUETOOTH_HCI; in btsnoop_open()
116 file_encap=WTAP_ENCAP_BLUETOOTH_H4_WITH_PHDR; in btsnoop_open()
127 file_encap=WTAP_ENCAP_BLUETOOTH_LINUX_MONITOR; in btsnoop_open()
141 wth->file_encap = file_encap; in btsnoop_open()
212 if(wth->file_encap == WTAP_ENCAP_BLUETOOTH_H4_WITH_PHDR) in btsnoop_read_record()
215 } else if(wth->file_encap == WTAP_ENCAP_BLUETOOTH_HCI) { in btsnoop_read_record()
232 } else if (wth->file_encap == WTAP_ENCAP_BLUETOOTH_LINUX_MONITOR) { in btsnoop_read_record()
H A Dlibpcap.c105 int file_encap; in libpcap_open() local
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()
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()
[all …]
H A Dnettl.c233 wth->file_encap = WTAP_ENCAP_NETTL_FDDI; in nettl_open()
237 wth->file_encap = WTAP_ENCAP_NETTL_TOKEN_RING; in nettl_open()
244 wth->file_encap = WTAP_ENCAP_NETTL_RAW_IP; in nettl_open()
247 wth->file_encap = WTAP_ENCAP_NETTL_RAW_ICMP; in nettl_open()
250 wth->file_encap = WTAP_ENCAP_NETTL_RAW_ICMPV6; in nettl_open()
253 wth->file_encap = WTAP_ENCAP_NETTL_RAW_TELNET; in nettl_open()
257 wth->file_encap = WTAP_ENCAP_NETTL_ETHERNET; in nettl_open()
287 if (wth->file_encap == WTAP_ENCAP_UNKNOWN) in nettl_read()
288 wth->file_encap = rec->rec_header.packet_header.pkt_encap; in nettl_read()
291 wth->file_encap = WTAP_ENCAP_PER_PACKET; in nettl_read()
[all …]
H A Dnetxray.c471 int file_encap; in netxray_open() local
793 file_encap = WTAP_ENCAP_PPP_WITH_PHDR; in netxray_open()
827 file_encap = WTAP_ENCAP_LAPB; in netxray_open()
833 file_encap = WTAP_ENCAP_ISDN; in netxray_open()
849 file_encap = WTAP_ENCAP_SDLC; in netxray_open()
866 file_encap = WTAP_ENCAP_ETHERNET; in netxray_open()
868 file_encap = netxray_encap[network_type]; in netxray_open()
876 wth->file_encap = file_encap; in netxray_open()
888 switch (file_encap) { in netxray_open()
1187 switch (wth->file_encap) { in netxray_process_rec_header()
[all …]
H A Dnetscreen.c165 wth->file_encap = WTAP_ENCAP_UNKNOWN; in netscreen_open()
199 if (wth->file_encap == WTAP_ENCAP_UNKNOWN) in netscreen_read()
200 wth->file_encap = rec->rec_header.packet_header.pkt_encap; in netscreen_read()
202 if (wth->file_encap != rec->rec_header.packet_header.pkt_encap) in netscreen_read()
203 wth->file_encap = WTAP_ENCAP_PER_PACKET; in netscreen_read()
/dports/net/wireshark-lite/wireshark-3.6.1/wiretap/
H A Dradcom.c197 wth->file_encap = WTAP_ENCAP_LAPB; in radcom_open()
199 wth->file_encap = WTAP_ENCAP_ETHERNET; in radcom_open()
201 wth->file_encap = WTAP_ENCAP_ATM_RFC1483; in radcom_open()
222 if (wth->file_encap == WTAP_ENCAP_ETHERNET) { in radcom_open()
225 } else if (wth->file_encap == WTAP_ENCAP_LAPB) { in radcom_open()
228 } else if (wth->file_encap == WTAP_ENCAP_ATM_RFC1483) { in radcom_open()
258 if (wth->file_encap == WTAP_ENCAP_LAPB) { in radcom_read()
337 switch (wth->file_encap) { in radcom_read_rec()
H A Dbtsnoop.c83 int file_encap=WTAP_ENCAP_UNKNOWN; in btsnoop_open() local
113 file_encap=WTAP_ENCAP_BLUETOOTH_HCI; in btsnoop_open()
116 file_encap=WTAP_ENCAP_BLUETOOTH_H4_WITH_PHDR; in btsnoop_open()
127 file_encap=WTAP_ENCAP_BLUETOOTH_LINUX_MONITOR; in btsnoop_open()
141 wth->file_encap = file_encap; in btsnoop_open()
212 if(wth->file_encap == WTAP_ENCAP_BLUETOOTH_H4_WITH_PHDR) in btsnoop_read_record()
215 } else if(wth->file_encap == WTAP_ENCAP_BLUETOOTH_HCI) { in btsnoop_read_record()
232 } else if (wth->file_encap == WTAP_ENCAP_BLUETOOTH_LINUX_MONITOR) { in btsnoop_read_record()
H A Dlibpcap.c105 int file_encap; in libpcap_open() local
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()
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()
[all …]
H A Dnettl.c233 wth->file_encap = WTAP_ENCAP_NETTL_FDDI; in nettl_open()
237 wth->file_encap = WTAP_ENCAP_NETTL_TOKEN_RING; in nettl_open()
244 wth->file_encap = WTAP_ENCAP_NETTL_RAW_IP; in nettl_open()
247 wth->file_encap = WTAP_ENCAP_NETTL_RAW_ICMP; in nettl_open()
250 wth->file_encap = WTAP_ENCAP_NETTL_RAW_ICMPV6; in nettl_open()
253 wth->file_encap = WTAP_ENCAP_NETTL_RAW_TELNET; in nettl_open()
257 wth->file_encap = WTAP_ENCAP_NETTL_ETHERNET; in nettl_open()
287 if (wth->file_encap == WTAP_ENCAP_UNKNOWN) in nettl_read()
288 wth->file_encap = rec->rec_header.packet_header.pkt_encap; in nettl_read()
291 wth->file_encap = WTAP_ENCAP_PER_PACKET; in nettl_read()
[all …]
H A Dnetxray.c471 int file_encap; in netxray_open() local
793 file_encap = WTAP_ENCAP_PPP_WITH_PHDR; in netxray_open()
827 file_encap = WTAP_ENCAP_LAPB; in netxray_open()
833 file_encap = WTAP_ENCAP_ISDN; in netxray_open()
849 file_encap = WTAP_ENCAP_SDLC; in netxray_open()
866 file_encap = WTAP_ENCAP_ETHERNET; in netxray_open()
868 file_encap = netxray_encap[network_type]; in netxray_open()
876 wth->file_encap = file_encap; in netxray_open()
888 switch (file_encap) { in netxray_open()
1187 switch (wth->file_encap) { in netxray_process_rec_header()
[all …]
H A Dnetscreen.c165 wth->file_encap = WTAP_ENCAP_UNKNOWN; in netscreen_open()
199 if (wth->file_encap == WTAP_ENCAP_UNKNOWN) in netscreen_read()
200 wth->file_encap = rec->rec_header.packet_header.pkt_encap; in netscreen_read()
202 if (wth->file_encap != rec->rec_header.packet_header.pkt_encap) in netscreen_read()
203 wth->file_encap = WTAP_ENCAP_PER_PACKET; in netscreen_read()
H A Diptrace.c377 if (wth->file_encap == WTAP_ENCAP_UNKNOWN) in iptrace_read_1_0()
378 wth->file_encap = rec->rec_header.packet_header.pkt_encap; in iptrace_read_1_0()
380 if (wth->file_encap != rec->rec_header.packet_header.pkt_encap) in iptrace_read_1_0()
381 wth->file_encap = WTAP_ENCAP_PER_PACKET; in iptrace_read_1_0()
649 if (wth->file_encap == WTAP_ENCAP_UNKNOWN) in iptrace_read_2_0()
650 wth->file_encap = rec->rec_header.packet_header.pkt_encap; in iptrace_read_2_0()
652 if (wth->file_encap != rec->rec_header.packet_header.pkt_encap) in iptrace_read_2_0()
653 wth->file_encap = WTAP_ENCAP_PER_PACKET; in iptrace_read_2_0()
/dports/net/tshark/wireshark-3.6.1/wiretap/
H A Dradcom.c197 wth->file_encap = WTAP_ENCAP_LAPB; in radcom_open()
199 wth->file_encap = WTAP_ENCAP_ETHERNET; in radcom_open()
201 wth->file_encap = WTAP_ENCAP_ATM_RFC1483; in radcom_open()
222 if (wth->file_encap == WTAP_ENCAP_ETHERNET) { in radcom_open()
225 } else if (wth->file_encap == WTAP_ENCAP_LAPB) { in radcom_open()
228 } else if (wth->file_encap == WTAP_ENCAP_ATM_RFC1483) { in radcom_open()
258 if (wth->file_encap == WTAP_ENCAP_LAPB) { in radcom_read()
337 switch (wth->file_encap) { in radcom_read_rec()
H A Dbtsnoop.c83 int file_encap=WTAP_ENCAP_UNKNOWN;
113 file_encap=WTAP_ENCAP_BLUETOOTH_HCI;
116 file_encap=WTAP_ENCAP_BLUETOOTH_H4_WITH_PHDR;
127 file_encap=WTAP_ENCAP_BLUETOOTH_LINUX_MONITOR;
141 wth->file_encap = file_encap;
212 if(wth->file_encap == WTAP_ENCAP_BLUETOOTH_H4_WITH_PHDR)
215 } else if(wth->file_encap == WTAP_ENCAP_BLUETOOTH_HCI) {
232 } else if (wth->file_encap == WTAP_ENCAP_BLUETOOTH_LINUX_MONITOR) {
H A Dlibpcap.c105 int file_encap; in libpcap_open() local
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()
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()
[all …]
H A Dnettl.c233 wth->file_encap = WTAP_ENCAP_NETTL_FDDI; in nettl_open()
237 wth->file_encap = WTAP_ENCAP_NETTL_TOKEN_RING; in nettl_open()
244 wth->file_encap = WTAP_ENCAP_NETTL_RAW_IP; in nettl_open()
247 wth->file_encap = WTAP_ENCAP_NETTL_RAW_ICMP; in nettl_open()
250 wth->file_encap = WTAP_ENCAP_NETTL_RAW_ICMPV6; in nettl_open()
253 wth->file_encap = WTAP_ENCAP_NETTL_RAW_TELNET; in nettl_open()
257 wth->file_encap = WTAP_ENCAP_NETTL_ETHERNET; in nettl_open()
287 if (wth->file_encap == WTAP_ENCAP_UNKNOWN) in nettl_read()
288 wth->file_encap = rec->rec_header.packet_header.pkt_encap; in nettl_read()
291 wth->file_encap = WTAP_ENCAP_PER_PACKET; in nettl_read()
[all …]
H A Dnetxray.c471 int file_encap;
793 file_encap = WTAP_ENCAP_PPP_WITH_PHDR;
827 file_encap = WTAP_ENCAP_LAPB;
833 file_encap = WTAP_ENCAP_ISDN;
849 file_encap = WTAP_ENCAP_SDLC;
866 file_encap = WTAP_ENCAP_ETHERNET;
868 file_encap = netxray_encap[network_type];
876 wth->file_encap = file_encap;
888 switch (file_encap) {
1187 switch (wth->file_encap) {
[all …]
H A Dnetscreen.c165 wth->file_encap = WTAP_ENCAP_UNKNOWN;
199 if (wth->file_encap == WTAP_ENCAP_UNKNOWN)
200 wth->file_encap = rec->rec_header.packet_header.pkt_encap;
202 if (wth->file_encap != rec->rec_header.packet_header.pkt_encap)
203 wth->file_encap = WTAP_ENCAP_PER_PACKET;
/dports/net/tshark-lite/wireshark-3.6.1/wiretap/
H A Dradcom.c197 wth->file_encap = WTAP_ENCAP_LAPB; in radcom_open()
199 wth->file_encap = WTAP_ENCAP_ETHERNET; in radcom_open()
201 wth->file_encap = WTAP_ENCAP_ATM_RFC1483; in radcom_open()
222 if (wth->file_encap == WTAP_ENCAP_ETHERNET) { in radcom_open()
225 } else if (wth->file_encap == WTAP_ENCAP_LAPB) { in radcom_open()
228 } else if (wth->file_encap == WTAP_ENCAP_ATM_RFC1483) { in radcom_open()
258 if (wth->file_encap == WTAP_ENCAP_LAPB) { in radcom_read()
337 switch (wth->file_encap) { in radcom_read_rec()
H A Dbtsnoop.c83 int file_encap=WTAP_ENCAP_UNKNOWN; in btsnoop_open() local
113 file_encap=WTAP_ENCAP_BLUETOOTH_HCI; in btsnoop_open()
116 file_encap=WTAP_ENCAP_BLUETOOTH_H4_WITH_PHDR; in btsnoop_open()
127 file_encap=WTAP_ENCAP_BLUETOOTH_LINUX_MONITOR; in btsnoop_open()
141 wth->file_encap = file_encap; in btsnoop_open()
212 if(wth->file_encap == WTAP_ENCAP_BLUETOOTH_H4_WITH_PHDR) in btsnoop_read_record()
215 } else if(wth->file_encap == WTAP_ENCAP_BLUETOOTH_HCI) { in btsnoop_read_record()
232 } else if (wth->file_encap == WTAP_ENCAP_BLUETOOTH_LINUX_MONITOR) { in btsnoop_read_record()
H A Dlibpcap.c105 int file_encap; in libpcap_open() local
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()
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()
[all …]
H A Dnettl.c233 wth->file_encap = WTAP_ENCAP_NETTL_FDDI; in nettl_open()
237 wth->file_encap = WTAP_ENCAP_NETTL_TOKEN_RING; in nettl_open()
244 wth->file_encap = WTAP_ENCAP_NETTL_RAW_IP; in nettl_open()
247 wth->file_encap = WTAP_ENCAP_NETTL_RAW_ICMP; in nettl_open()
250 wth->file_encap = WTAP_ENCAP_NETTL_RAW_ICMPV6; in nettl_open()
253 wth->file_encap = WTAP_ENCAP_NETTL_RAW_TELNET; in nettl_open()
257 wth->file_encap = WTAP_ENCAP_NETTL_ETHERNET; in nettl_open()
287 if (wth->file_encap == WTAP_ENCAP_UNKNOWN) in nettl_read()
288 wth->file_encap = rec->rec_header.packet_header.pkt_encap; in nettl_read()
291 wth->file_encap = WTAP_ENCAP_PER_PACKET; in nettl_read()
[all …]
H A Dnetxray.c471 int file_encap;
793 file_encap = WTAP_ENCAP_PPP_WITH_PHDR;
827 file_encap = WTAP_ENCAP_LAPB;
833 file_encap = WTAP_ENCAP_ISDN;
849 file_encap = WTAP_ENCAP_SDLC;
866 file_encap = WTAP_ENCAP_ETHERNET;
868 file_encap = netxray_encap[network_type];
876 wth->file_encap = file_encap;
888 switch (file_encap) {
1187 switch (wth->file_encap) {
[all …]
H A Dnetscreen.c165 wth->file_encap = WTAP_ENCAP_UNKNOWN; in netscreen_open()
199 if (wth->file_encap == WTAP_ENCAP_UNKNOWN) in netscreen_read()
200 wth->file_encap = rec->rec_header.packet_header.pkt_encap; in netscreen_read()
202 if (wth->file_encap != rec->rec_header.packet_header.pkt_encap) in netscreen_read()
203 wth->file_encap = WTAP_ENCAP_PER_PACKET; in netscreen_read()

12345678910>>...12