コード例 #1
0
 /// <summary>
 ///  Save a packet to disk.
 /// </summary>
 internal static void  pcap_dump(IntPtr /*u_char * */ user, IntPtr /*const struct pcap_pkthdr * */ h, IntPtr /*const u_char * */ sp)
 {
     if (UseWindows)
     {
         Windows.pcap_dump(user, h, sp);
     }
     else
     {
         Unix.pcap_dump(user, h, sp);
     }
 }