/// <summary> Return the link layer of an adapter. </summary> internal static int pcap_datalink(IntPtr /* pcap_t* */ adaptHandle) { return(UseWindows ? Windows.pcap_datalink(adaptHandle) : Unix.pcap_datalink(adaptHandle)); }