jnetpcap.capture.file.snoop
Interface SnoopBlockRecord
- All Superinterfaces:
- BlockRecord, Record
public interface SnoopBlockRecord
- extends BlockRecord
- Author:
- Mark Bednarczyk, Sly Technologies, Inc.
| Methods inherited from interface jnetpcap.capture.file.Record |
getCaptureFile, getFilePosition, getHeaderBuffer, getHeaderLength, getRecordLength, getRecordType, isModified, isWritten, read, readHeader, setFilePosition, setModified, setWritten, validateRecord, write, writeHeader |
HEADER_LENGTH
static final int HEADER_LENGTH
- See Also:
- Constant Field Values
getMagicNumber
byte[] getMagicNumber()
throws java.io.IOException
- Throws:
java.io.IOException
setMagicNumber
void setMagicNumber(byte[] magic)
throws java.io.IOException
- Throws:
java.io.IOException
getMajorVersion
int getMajorVersion()
throws java.io.IOException
- Throws:
java.io.IOException
setMajorVesion
void setMajorVesion(int version)
throws java.io.IOException
- Throws:
java.io.IOException
getLinktype
int getLinktype()
throws java.io.IOException
- Throws:
java.io.IOException
setLinktype
void setLinktype(int linktype)
throws java.io.IOException
- Throws:
java.io.IOException