mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Brian Pomerantz <bapper@piratehaven.org>
To: rishikeshsn <rishikeshsn@indiatimes.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: to see 802.11 frames thru kernel code
Date: Mon, 19 Sep 2005 11:30:58 -0700	[thread overview]
Message-ID: <20050919183058.GA477@skull.piratehaven.org> (raw)
In-Reply-To: <200509191711.WAA28816@WS0005.indiatimes.com>

On Mon, Sep 19, 2005 at 10:53:22PM -0400, rishikeshsn wrote:
> hello,
> 
> i want to know:
> 
> can i see 802.11 frames in skbuff structure?
> I get only ethernet II frame format.
> 
> thanks already for help.
> 

This is hardware and driver specific.  Most of the time, the driver
will have access to the 802.11 header, however, it will reformat the
packet into a standard ethernet frame before passing it up to the
network layer.

So, no you cannot see the 802.11 header in a sk_buff because it is
already stripped off.  If you look in the driver before it hits the
network layer (in the rx routine) then you may be able to get access
to it there.


BAPper

  reply	other threads:[~2005-09-19 18:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-20  2:53 rishikeshsn
2005-09-19 18:30 ` Brian Pomerantz [this message]
2005-09-22 18:05 ` Pavel Machek

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=20050919183058.GA477@skull.piratehaven.org \
    --to=bapper@piratehaven.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rishikeshsn@indiatimes.com \
    /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®