private final long numPacketsDroppedByIf;
private final long numPacketsCaptured;
PcapStat(pcap_stat stat) {
if (stat instanceof win_pcap_stat) {
win_pcap_stat win_stat = (win_pcap_stat)stat;
this.numPacketsReceived = win_stat.ps_recv & 0xFFFFFFFFL;
this.numPacketsDropped = win_stat.ps_drop & 0xFFFFFFFFL;
this.numPacketsDroppedByIf = win_stat.ps_ifdrop & 0xFFFFFFFFL;
this.numPacketsCaptured = win_stat.bs_capt & 0xFFFFFFFFL;
}