436437438439440441442443444445446
Pcap pcap = Pcap.openOffline(HTTP_IP6, errbuf); assertNotNull(errbuf.toString(), pcap); pcap.loop(Pcap.LOOP_INFINATE, new PcapPacketHandler<String>() { Ip6 ip = new Ip6(); Tcp tcp = new Tcp(); public void nextPacket(PcapPacket packet, String user) {
467468469470471472473474475476477
Pcap pcap = Pcap.openOffline(HTTP_IP6, errbuf); assertNotNull(errbuf.toString(), pcap); pcap.loop(Pcap.LOOP_INFINATE, new PcapPacketHandler<String>() { Ip6 ip = new Ip6(); Udp udp = new Udp(); public void nextPacket(PcapPacket packet, String user) {