|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--SSF.OS.NetFlow.NetFlow
|
+--SSF.OS.NetFlow.IpNetFlow
|
+--SSF.OS.NetFlow.IpNetFlowWD
IpNetFlow With Domain information
| Field Summary | |
static byte |
EXTERNAL
|
byte |
inputType
|
static byte |
INTERNAL
link types, so are EXTERNAL and NOT_CONNECTED |
static byte |
NOT_PTP
|
byte |
outputType
|
| Fields inherited from class SSF.OS.NetFlow.IpNetFlow |
dOctets, dPkts, dst_mask, dstAddr, First, input, Last, nextHop, nhi, output, protocol, src_mask, srcAddr, tcp_flags |
| Fields inherited from class SSF.OS.NetFlow.NetFlow |
next |
| Constructor Summary | |
IpNetFlowWD()
|
|
IpNetFlowWD(IpHeader ipPacket,
short inID,
byte inputType,
short outID,
byte outputType,
float curTime,
java.lang.String nhiAddr,
byte srcMask,
byte dstMask)
constructor for IpNetFlow With Domain information |
|
| Method Summary | |
void |
dumpBinaryOut(java.io.DataOutputStream outStream)
Dump the flow to a stream. |
byte[] |
dumpToBytes()
Generate a byte array from this record. |
void |
readBinaryIn(java.io.DataOutputStream inStream)
|
void |
readFromBytes(byte[] bytes,
int len)
extract the record information from a byte array |
int |
recordSize()
Size of IpNetFlow plus 2 bytes for inputType and outputType |
java.lang.String |
toString()
dump to String |
| Methods inherited from class SSF.OS.NetFlow.IpNetFlow |
acceptPacket, makeKey, makeKey, readBinaryIn, update |
| Methods inherited from class SSF.OS.NetFlow.NetFlow |
removeFlow |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final byte INTERNAL
public static final byte EXTERNAL
public static final byte NOT_PTP
public byte inputType
public byte outputType
| Constructor Detail |
public IpNetFlowWD()
public IpNetFlowWD(IpHeader ipPacket,
short inID,
byte inputType,
short outID,
byte outputType,
float curTime,
java.lang.String nhiAddr,
byte srcMask,
byte dstMask)
inputType - true if the peer is an exteranl hostoutputType - true if the peer is an exteranl host.| Method Detail |
public byte[] dumpToBytes()
IpNetFlow
dumpToBytes in class IpNetFlow
public void readFromBytes(byte[] bytes,
int len)
IpNetFlow
readFromBytes in class IpNetFlowbytes - the byte array that stores the datalen - the length of the data stored in the array (Not the length of the array)public int recordSize()
recordSize in class IpNetFlowpublic java.lang.String toString()
toString in class IpNetFlowpublic void dumpBinaryOut(java.io.DataOutputStream outStream)
IpNetFlow
dumpBinaryOut in class IpNetFlowoutStream - the outputStream into which the data is dumped.public void readBinaryIn(java.io.DataOutputStream inStream)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||