Package com.silabs.na.pcap
Class InterfaceDescriptionBlock
- java.lang.Object
-
- com.silabs.na.pcap.InterfaceDescriptionBlock
-
public class InterfaceDescriptionBlock extends java.lang.ObjectSection header block starts the pcapng files and contains sections.
-
-
Constructor Summary
Constructors Constructor Description InterfaceDescriptionBlock(LinkType linkType, int snapLen)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LinkTypelinkType()Returns the link type in this block.intsnapLen()Returns the maximum number of bytes dumped from each packet.java.lang.StringtoString()
-
-
-
Constructor Detail
-
InterfaceDescriptionBlock
public InterfaceDescriptionBlock(LinkType linkType, int snapLen)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
linkType
public LinkType linkType()
Returns the link type in this block.- Returns:
- link type
-
snapLen
public int snapLen()
Returns the maximum number of bytes dumped from each packet. The portion of each packet that exceeds this value will not be stored in the file.- Returns:
- max length of packets.
-
-