[Winpcap-users] QUERY REGARDING PCAP_NEXT_EX function

rajath kumara rajathkumara at gmail.com
Fri Jul 15 02:23:03 PDT 2011


Hi,

 I wanted to clarify what this func pcap_next_ex( ) and pcap_open_live(
)actually does.
The reason why i am asking is, when i use these  functions, i see some
packets generated.

for instance, in example program pckdump_ex,

code contains pcap_open_live( ) and pcap_next_ex( ), and the below printf
statement,

printf("\n\n%ld:%ld (%ld) %s\n", header->ts.tv_sec, header->ts.tv_usec,
header->len,d->name);

 i see the output as

1310721525:970437 (150) \Device\NPF_{557064F1-7C1C-49D3-9633-A7E002B01AD2}


where and how is the packet generated?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winpcap.org/pipermail/winpcap-users/attachments/20110715/26e153da/attachment.html>


More information about the Winpcap-users mailing list