PcapHandle.datalink

int datalink()

Returns the link-layer header type for the handle.

Returns

The DLT value.