示例#1
0
 /// <summary>
 /// To avoid callback, this returns one packet at a time
 /// </summary>
 internal static int pcap_next_ex(IntPtr /* pcap_t* */ adaptHandle, ref IntPtr /* **pkt_header */ header, ref IntPtr data)
 {
     return(UseWindows ? Windows.pcap_next_ex(adaptHandle, ref header, ref data) : Unix.pcap_next_ex(adaptHandle, ref header, ref data));
 }