isc.sensor
Class IPT_IPBean

java.lang.Object
  extended by isc.sensor.IPBean
      extended by isc.sensor.IPT_IPBean

public class IPT_IPBean
extends IPBean

IPtables/PCAP adapter class to convert org.savarese.vserv.tcpip byte[] packets internal IPBean format

Author:
John Casey
Project: DNA_sensor - Aug 12, 2005

Field Summary
 
Fields inherited from class isc.sensor.IPBean
dstAddr, dstAddrBin, dstPort, flags, fragOffset, ident, log, packetInterface, pktLen, protoName, protoNum, sensorName, srcAddr, srcAddrBin, srcPort, timeStamp, ttl
 
Constructor Summary
IPT_IPBean()
          create a new IPTABLES/PCAP adapter object
 
Method Summary
 void setBean(IPPacket packet, long ts, long tns, java.lang.String sensorName, java.lang.String packetInterface)
          Convert a raw packet into the internal IPBean structure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IPT_IPBean

public IPT_IPBean()
create a new IPTABLES/PCAP adapter object

Method Detail

setBean

public void setBean(IPPacket packet,
                    long ts,
                    long tns,
                    java.lang.String sensorName,
                    java.lang.String packetInterface)
Convert a raw packet into the internal IPBean structure

Parameters:
packet - The raw IP packet
ts - The packet timestamp in seconds
tns - The packet timestamp nanoseconds
sensorName - The name of the sensor process
packetInterface - The interface name that recieved this packet