/// <summary> /// pcap_activate() is used to activate a packet capture handle to look at packets on the network, with the options that were set on the handle being in effect. /// </summary> /// <param name="p">A <see cref="IntPtr"/></param> /// <returns>Returns 0 on success without warnings, a non-zero positive value on success with warnings, and a negative value on error. A non-zero return value indicates what warning or error condition occurred.</returns> internal static int pcap_activate(IntPtr /* pcap_t* */ p) { return(UseWindows ? Windows.pcap_activate(p) : Unix.pcap_activate(p)); }