mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Felipe Maya" <fmay@midiacom.uff.br>
To: <linux-kernel@vger.kernel.org>
Subject: ICMP TIMESTAMP
Date: Thu, 4 May 2006 08:40:49 -0300	[thread overview]
Message-ID: <039101c66f6f$9720f3d0$440a14c8@sossego> (raw)

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.


                 reply	other threads:[~2006-05-04 11:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='039101c66f6f$9720f3d0$440a14c8@sossego' \
    --to=fmay@midiacom.uff.br \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®