<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#00ffff>
<DIV><FONT size=2>I think that my question represents also other
users.</FONT></DIV>
<DIV><FONT size=2><FONT size=3>When using the function "pcap_loop" the
system uses the fallowing callback<BR>whenever a packet arrives
-<BR><BR> typedef void(* pcap_handler)(u_char
*user, const struct pcap_pkthdr<BR>*pkt_header, const u_char
*pkt_data)<BR><BR><BR>My questions-<BR><BR>1. I saw that the pointers pkt_data
and pkt_header differ from packet to<BR>packet.<BR>Does that mean that the data
on which they point occupies different area in<BR>memory?<BR>2. How do I know if
the data pointed by them is still valid in a
certain<BR>moment?<BR><BR>Regards<BR><BR>I.
Lesher</FONT><BR><BR></DIV></FONT></BODY></HTML>