PcapHandle.setDatalink

PcapStatus setDatalink(int dlt)

Sets the link-layer header type for the handle.

Parameters

dltThe DLT value to set.

Returns

A PcapStatus indicating success or error.