|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--SSF.OS.DumpPro
A standalone class that translates binaryTcpDump files into ASCII format. Numerous command line options are available for output formatting.
| Constructor Summary | |
DumpPro(java.lang.String infile,
java.lang.String option)
Constructors |
|
| Method Summary | |
int |
byteToInt(boolean swap,
byte[] b)
|
void |
format()
output with standard format |
SSF.OS.DumpPro.DumpFileHeader |
getFileHeader()
read information from binary tcpdump file header |
SSF.OS.DumpPro.IPHeader |
getIpHeader()
read ip header |
SSF.OS.DumpPro.PktHeader |
getPktHeader()
read packet tcpdump header |
SSF.OS.DumpPro.TCPHeader |
getTcpHeader()
read tcp header |
double |
getTime(SSF.OS.DumpPro.PktHeader hdr)
|
SSF.OS.DumpPro.UDPHeader |
getUdpHeader()
|
static java.lang.String |
IPtoString(int ipAddr)
|
static void |
main(java.lang.String[] args)
|
void |
output(int[] fields)
output data according to options, (current version has no udp matrix format support ) |
int[] |
scanForIpAddr()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DumpPro(java.lang.String infile,
java.lang.String option)
throws java.io.IOException
| Method Detail |
public SSF.OS.DumpPro.DumpFileHeader getFileHeader()
throws java.io.IOException
java.io.IOException
public SSF.OS.DumpPro.PktHeader getPktHeader()
throws java.io.IOException
java.io.IOException
public double getTime(SSF.OS.DumpPro.PktHeader hdr)
throws java.io.IOException
java.io.IOException
public SSF.OS.DumpPro.IPHeader getIpHeader()
throws java.io.IOException
java.io.IOException
public int[] scanForIpAddr()
throws java.io.IOException
java.io.IOException
public SSF.OS.DumpPro.TCPHeader getTcpHeader()
throws java.io.IOException
java.io.IOException
public SSF.OS.DumpPro.UDPHeader getUdpHeader()
throws java.io.IOException
java.io.IOExceptionpublic void format()
public void output(int[] fields)
public static java.lang.String IPtoString(int ipAddr)
public int byteToInt(boolean swap,
byte[] b)
public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||