Property | Type | Description | |
---|---|---|---|
_ethOffset | int | ||
_timeval |
Method | Description | |
---|---|---|
EthernetPacket ( int lLen, byte bytes ) : System |
Construct a new ethernet packet. For the purpose of jpcap, when the type of ethernet packet is recognized as a protocol for which a class exists network library, then a more specific class like IPPacket or ARPPacket is instantiated. The subclass can always be cast into a more generic form.
|
|
EthernetPacket ( int lLen, byte bytes, |
Construct a new ethernet packet, including the capture time.
|
|
OnOffsetChanged ( ) : void |
should be overriden by upper classes
|
|
ToColoredString ( bool colored ) : System.String |
Generate string with contents describing this ethernet packet.
|
|
ToColoredVerboseString ( bool colored ) : System.String |
Convert this IP packet to a more verbose string.
|
|
ToString ( ) : System.String |
Convert this ethernet packet to a readable string.
|
|
extractProtocol ( byte packetBytes ) : int |
Extract the protocol type field from packet data. The type field indicates what type of data is contained in the packet's data block.
|
public EthernetPacket ( int lLen, byte bytes ) : System | ||
lLen | int | |
bytes | byte | |
return | System |
public EthernetPacket ( int lLen, byte bytes, |
||
lLen | int | |
bytes | byte | |
tv | ||
return | System |
public ToColoredString ( bool colored ) : System.String | ||
colored | bool | whether or not the string should contain ansi /// color escape sequences. /// |
return | System.String |
public ToColoredVerboseString ( bool colored ) : System.String | ||
colored | bool | |
return | System.String |
public static extractProtocol ( byte packetBytes ) : int | ||
packetBytes | byte | packet bytes. /// |
return | int |