Exemplo n.º 1
0
 /// <summary>
 /// Fills in the pcap_stat structure passed to the function
 /// based on the pcap_t adapter
 /// </summary>
 /// <param name="adapter">
 /// A <see cref="IntPtr"/>
 /// </param>
 /// <param name="stat">
 /// A <see cref="IntPtr"/>
 /// </param>
 /// <returns>
 /// A <see cref="System.Int32"/>
 /// </returns>
 internal static int pcap_stats(IntPtr /* pcap_t* */ adapter, IntPtr /* struct pcap_stat* */ stat)
 {
     return(UseWindows ? Windows.pcap_stats(adapter, stat) : Unix.pcap_stats(adapter, stat));
 }