SourceForge Jpcap

Uses of Class
net.sourceforge.jpcap.util.Timeval

Packages that use Timeval
net.sourceforge.jpcap.capture Provides an interface for capturing packets and a layer of abstraction around libpcap, a portable native system library for capturing network packets. 
net.sourceforge.jpcap.net Provides a hierarchical inheritance-based library of network packet types and protocols. 
 

Uses of Timeval in net.sourceforge.jpcap.capture
 

Methods in net.sourceforge.jpcap.capture that return Timeval
 Timeval StatisticsEvent.getTimeval()
          Getter for property timeval.
 

Uses of Timeval in net.sourceforge.jpcap.net
 

Fields in net.sourceforge.jpcap.net declared as Timeval
protected  Timeval EthernetPacket._timeval
          Time the packet was captured off the wire.
 

Methods in net.sourceforge.jpcap.net that return Timeval
 Timeval RawPacket.getTimeval()
          Fetch the timeval containing the time the packet arrived on the device where it was captured.
abstract  Timeval Packet.getTimeval()
          Fetch the timeval containing the time the packet arrived on the device where it was captured.
 Timeval EthernetPacket.getTimeval()
          Fetch the timeval containing the time the packet arrived on the device where it was captured.
 

Methods in net.sourceforge.jpcap.net with parameters of type Timeval
protected  Packet PacketFactory.createPacket(int linkType, ByteBuffer bb, Timeval tv)
          Returns a Packet object for the specified linkType and data.
protected static Packet PacketFactory.createPacket(String key, int lLen, ByteBuffer bb, Timeval tv)
          Create a packet given a properties-file key.
protected  Packet PacketFactory.createUnknownPacket(int lLen, ByteBuffer bb, Timeval tv)
          Return a Packet object for an unknown packet format.
static Packet PacketFactory.dataToPacket(int linkType, byte[] bytes, Timeval tv)
          Convert captured packet data into an object.
static Packet SNAP.PacketFactory.dataToPacket(int lLen, ByteBuffer bb, Timeval tv)
           
static Packet PacketFactory.dataToPacket(int linkType, ByteBuffer bb, Timeval tv)
          Convert captured packet data into an object.
static Packet LLC.PacketFactory.dataToPacket(int lLen, ByteBuffer bb, Timeval tv)
           
static IPv4.Packet IPv4.PacketFactory.dataToPacket(int lLen, ByteBuffer bb, Timeval tv)
          Create an IPv4 packet.
static IPv4.Packet IPv4.UDP.PacketFactory.dataToPacket(int lLen, ByteBuffer bb, Timeval tv)
          Create an IPv4 packet.
 

Constructors in net.sourceforge.jpcap.net with parameters of type Timeval
ARPPacket(int lLen, byte[] bytes, Timeval tv)
          Create a new ARP packet.
ARPPacket(int lLen, ByteBuffer bb, Timeval tv)
          Create a new ARP packet.
CDP.Packet(int lLen, byte[] bytes, Timeval tv)
          Create a new CDP packet.
CDP.Packet(int lLen, ByteBuffer bb, Timeval tv)
          Create a new CDP packet.
DTP.Packet(int lLen, byte[] bytes, Timeval tv)
          Create a new DTP packet.
DTP.Packet(int lLen, ByteBuffer bb, Timeval tv)
          Create a new DTP packet
EthernetPacket(int lLen, byte[] bytes, Timeval tv)
          Construct a new ethernet packet, including the capture time.
EthernetPacket(int lLen, ByteBuffer byteBuffer, Timeval tv)
          Construct a new ethernet packet, including the capture time.
ICMPPacket(int lLen, byte[] bytes, Timeval tv)
          Construct a new ICMP packet, including the capture time.
ICMPPacket(int lLen, ByteBuffer bb, Timeval tv)
          Construct a new ICMP packet, including the capture time.
IGMPPacket(int lLen, byte[] bytes, Timeval tv)
          Construct a new IGMP packet, including the capture time.
IGMPPacket(int lLen, ByteBuffer bb, Timeval tv)
          Construct a new IGMP packet, including the capture time.
IP.Packet(int lLen, byte[] bytes, Timeval tv)
           
IP.Packet(int lLen, ByteBuffer bb, Timeval tv)
           
IPPacket(int lLen, byte[] bytes, Timeval tv)
          Create a new IP packet.
IPPacket(int lLen, ByteBuffer bb, Timeval tv)
          Create a new IP packet.
IPv4.Packet(int lLen, byte[] bytes, Timeval tv)
           
IPv4.Packet(int lLen, ByteBuffer bb, Timeval tv)
           
IPv4.TCP.Packet(int lLen, ByteBuffer bb, Timeval tv)
          Create a new TCP packet.
IPv4.UDP.Packet(int lLen, ByteBuffer bb, Timeval tv)
          Create a new UDP packet.
ISL.Packet(int lLen, byte[] bytes, Timeval tv)
          Creates a new instance of ISL.Packet
ISL.Packet(int lLen, ByteBuffer bb, Timeval tv)
          Creates a new instance of ISL.Packet
RawPacket(Timeval timeval, byte[] bytes, int droplen)
          Create a new raw packet.
STP.Packet(int lLen, byte[] bytes, Timeval tv)
          Create a new STP packet.
STP.Packet(int lLen, ByteBuffer bb, Timeval tv)
          Create a new STP packet.
TCPPacket(int lLen, byte[] bytes, Timeval tv)
          Create a new TCP packet.
TCPPacket(int lLen, ByteBuffer bb, Timeval tv)
           
UDPPacket(int lLen, byte[] bytes, Timeval tv)
          Create a new UDP packet.
UDPPacket(int lLen, ByteBuffer bb, Timeval tv)
           
 


Copyright © Patrick Charles & Jonas Lehmann, 2001; Esmond Pitt, 2008.