* ICMP TIMESTAMP
@ 2006-05-04 11:40 Felipe Maya
0 siblings, 0 replies; only message in thread
From: Felipe Maya @ 2006-05-04 11:40 UTC (permalink / raw)
To: linux-kernel
Hello people.
I am trying to take data timestamp from an icmp sk_buff, the icmphdr don´t
have this information. I feel that timestamp information could be in data
sk_buff. How take this information?? Is it wrong?
struct tstamp{
__u32 times[3];
} ;
{
struct tstamp *tstamp;
tstamp = (struct tstamp *)(skb->data + skb->hh.iph->ihl * 4 +
sizeof(struct icmphdr));
}
If it is ok, why can´t i take the data timestamp?
THANKS for any help.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-05-04 11:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-04 11:40 ICMP TIMESTAMP Felipe Maya
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®