|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sourceforge.jpcap.net.LinkLayer
Information about network link layers.
Fields inherited from interface net.sourceforge.jpcap.net.LinkLayers |
ARCNET, ATM_RFC1483, AX25, CHAOS, EN10MB, EN3MB, FDDI, IEEE802, NULL, PPP, PRONET, RAW, SLIP, UNKNOWN |
Constructor Summary | |
LinkLayer()
|
Method Summary | |
static java.lang.String |
getDescription(int code)
Fetch a link-layer type description. |
static int |
getLinkLayerLength(int layerType)
Fetch the header length associated with various link-layer types. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LinkLayer()
Method Detail |
public static int getLinkLayerLength(int layerType)
layerType
- the link-layer codepublic static java.lang.String getDescription(int code)
code
- the code associated with the description.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |