Package org.jnetpcap.packet.format

Examples of org.jnetpcap.packet.format.XmlFormatter.format()


  public void testXmlFormatter() throws IOException {
    JFormatter out = new XmlFormatter(OUT);
   
    JPacket packet = TestUtils.getPcapPacket("tests/test-afs.pcap", 0);

    out.format(packet);
  }
 
  /**
   * Test xml ip4 record route opt.
   *
 
View Full Code Here


  public void testXmlIp4RecordRouteOpt() throws IOException {
    JFormatter out = new XmlFormatter(OUT);
   
    JPacket packet = TestUtils.getPcapPacket("tests/test-icmp-recordroute-opt.pcap", 0);

    out.format(packet);
  }

 
  /**
   * Test sub header.
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.