106107108109110111112113114115116
final int id = JRegistry.mapDLTToId(pcap.datalink()); PcapPacket packet = new PcapPacket(header, buffer); assertNotNull(packet); packet.scan(id); } }, pcap); }