src/org/jnetpcap/PcapUtils.java
private native static <T> int injectLoop(
	    int cnt,
	    int id,
	    PcapPacketHandler<T> handler,
	    T user,
	    PcapPacket packet,
	    JPacket.State state,
	    PcapHeader header,
	    JScanner scanner);
/**
	 * A special method invokes the real native loop callback with fake pcap
	 * packets. The loop is used to test for memory leaks and performance that
	 * bypasses libpcap calls.
	 * 
	 * @param <T>
	 *          type of user data
	 * @param cnt
	 *          the cnt
	 * @param id
	 *          the id
	 * @param handler
	 *          handler to dispatch the injected packet to
	 * @param user
	 *          user data
	 * @param packet
	 *          packet to inject into the loop and callback
	 * @param state
	 *          the state
	 * @param header
	 *          pcap header for this packet
	 * @param scanner
	 *          the scanner
	 * @return number of packets injected
	 */
A special method invokes the real native loop callback with fake pcap
packets. The loop is used to test for memory leaks and performance that
bypasses libpcap calls.


A special method invokes the real native loop callback with fake pcap packets . The loop is used to test for memory leaks and performance that bypasses libpcap calls .
private native static <T> int injectLoop(
	    int cnt,
	    int id,
	    PcapPacketHandler<T> handler,
	    T user,
	    PcapPacket packet,
	    JPacket.State state,
	    PcapHeader header,
	    JScanner scanner);
private native static < T > int injectLoop ( int cnt , int id , PcapPacketHandler < T > handler , T user , PcapPacket packet , JPacket . State state , PcapHeader header , JScanner scanner ) ;
A special method invokes the real native loop callback with fake pcap
 packets.
A special method invokes the real native loop callback with fake pcap packets .