org.jnetpcap
Interface DataLinkType

All Known Implementing Classes:
PcapDLT

public interface DataLinkType

Describes a data-link type or the first header within a packet buffer.

Author:
Mark Bednarczyk, Sly Technologies, Inc.

Method Summary
 java.lang.String getDescription()
          Retrieves a description of the data-link type if avaiable.
 int getValue()
          The integer value for this type of data-link.
 

Method Detail

getValue

int getValue()
The integer value for this type of data-link.

Returns:
ID of the dlt

getDescription

java.lang.String getDescription()
Retrieves a description of the data-link type if avaiable.

Returns:
description of the datalink type or null if description is not avaialable.