ICMP TIMESTAMP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux