isc.sensor
Class IPBean

java.lang.Object
  extended by isc.sensor.IPBean
Direct Known Subclasses:
IPT_IPBean

public class IPBean
extends java.lang.Object

Processed IP Packet Structure

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

Field Summary
 java.lang.String dstAddr
          destination address
 java.lang.Long dstAddrBin
          binary version of the destination address
 java.lang.Integer dstPort
          destination port - placed here for optimization
 java.lang.Short flags
          IP flags
 java.lang.Integer fragOffset
          IP fragmentation offset
 java.lang.Integer ident
          IP ident field
protected static org.apache.log4j.Logger log
          log4j
 java.lang.String packetInterface
          The interface name the packet arrived on
 java.lang.Integer pktLen
          the packet length including headers
 java.lang.String protoName
          the name of the protocol
 java.lang.Integer protoNum
          the protocol number
 java.lang.String sensorName
          sensor name that received this packet
 java.lang.String srcAddr
          Source Address
 java.lang.Long srcAddrBin
          binary version of the source address
 java.lang.Integer srcPort
          Source port - placed here for optimization
 java.sql.Timestamp timeStamp
          timestamp of the packet
 java.lang.Integer ttl
          TTL time
 
Constructor Summary
IPBean()
          Create a new IPBean
IPBean(IPBean bean)
          make a copy of of this IPPacket
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

timeStamp

public java.sql.Timestamp timeStamp
timestamp of the packet


srcAddr

public java.lang.String srcAddr
Source Address


srcPort

public java.lang.Integer srcPort
Source port - placed here for optimization


dstAddr

public java.lang.String dstAddr
destination address


dstPort

public java.lang.Integer dstPort
destination port - placed here for optimization


pktLen

public java.lang.Integer pktLen
the packet length including headers


protoName

public java.lang.String protoName
the name of the protocol


protoNum

public java.lang.Integer protoNum
the protocol number


ident

public java.lang.Integer ident
IP ident field


flags

public java.lang.Short flags
IP flags


fragOffset

public java.lang.Integer fragOffset
IP fragmentation offset


ttl

public java.lang.Integer ttl
TTL time


srcAddrBin

public java.lang.Long srcAddrBin
binary version of the source address


dstAddrBin

public java.lang.Long dstAddrBin
binary version of the destination address


sensorName

public java.lang.String sensorName
sensor name that received this packet


packetInterface

public java.lang.String packetInterface
The interface name the packet arrived on


log

protected static org.apache.log4j.Logger log
log4j

Constructor Detail

IPBean

public IPBean()
Create a new IPBean


IPBean

public IPBean(IPBean bean)
make a copy of of this IPPacket

Parameters:
bean - Packet to copy