Dear tcpdump-workers:
Firstly merry late christmas to you! I'm a chinese master and engaged in
programing with winpcap. During this period,i found one problem in some routine,and
wish you can answer me. The problem as follows:
in the pcap_loop(pObject->fp, 0, dispatcher_handler, (PUCHAR)pParam);
we need deal with the dispather_hander routine, as
void dispatcher_handler(u_char *pParam,const struct pcap_pkthdr *header, const
u_char *pkt_data)
There are three arguments in it,i'm puzzled with these argument and want to know the
explicit meaning.
Is header->caplen the length of pkt_data ?
Is pkt_data a ip packet of a ethernet data?
what relation is there between header and pkt_data?
As those question, i'm looking for your answer.Thanks very much.
luwuchun
[EMAIL PROTECTED]
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe