public class LanHeader
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
int |
getDataStart()
Returns the byte at which the rest of this packet's header starts.
|
java.lang.String |
getEth2DestMacAddress()
Returns the Ethernet2 destination mac of the Lan header.
|
java.lang.String |
getEth2SrcMacAddress()
Returns the Ethernet2 source mac of the Lan header.
|
java.lang.String |
getEthDestMacAddress()
Returns the Ethernet destination mac of the Lan header.
|
java.lang.String |
getEthFrameType()
Returns the frame type of the Lan header.
|
java.lang.String |
getEthSaps()
Returns the Service Access Points of the Lan header.
|
java.lang.String |
getEthSrcMacAddress()
Returns the Ethernet source mac of the Lan header.
|
int |
getFrameType()
Returns the frame type of this packet.
|
java.lang.String |
getLanRouteLength()
Returns the lan routing length.
|
java.lang.String |
getMacAddress()
Returns the destination MAC address of this packet.
|
java.lang.String |
getTrnDestMacAddress()
Returns the Tokenring destination mac of the Lan header.
|
java.lang.String |
getTrnFrameType()
Returns the Tokenring frame type information of the Lan header.
|
java.lang.String |
getTrnRouteInfo()
Returns the Tokenring routing information of the Lan header.
|
java.lang.String |
getTrnSaps()
Returns the Tokenring Service Access Points of the Lan header.
|
java.lang.String |
getTrnSrcMacAddress()
Returns the Tokenring source mac of the Lan header.
|
java.lang.String |
printRoutingData()
Returns a String with the tokenring routing data.
|
java.lang.String |
toString()
Returns a String representation of this lan header with source/destination mac addresses, frame format, and frametype.
|
public int getDataStart()
public int getFrameType()
public java.lang.String getMacAddress()
public java.lang.String printRoutingData()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getLanRouteLength()
public java.lang.String getEth2DestMacAddress()
public java.lang.String getEth2SrcMacAddress()
public java.lang.String getEthDestMacAddress()
public java.lang.String getEthSrcMacAddress()
public java.lang.String getEthSaps()
public java.lang.String getEthFrameType()
public java.lang.String getTrnDestMacAddress()
public java.lang.String getTrnSrcMacAddress()
public java.lang.String getTrnRouteInfo()
public java.lang.String getTrnSaps()
public java.lang.String getTrnFrameType()