From: Mehul Vora <mehul_linux@yahoo.com>
To: manomugdha biswas <manomugdhab@yahoo.co.in>,
linux-kernel@vger.kernel.org
Cc: linux-net@vger.kernel.org
Subject: Re: netif_rx for ATM
Date: Tue, 6 Sep 2005 07:34:16 +0100 (BST) [thread overview]
Message-ID: <20050906063416.17001.qmail@web33806.mail.mud.yahoo.com> (raw)
In-Reply-To: <20050906041604.50601.qmail@web8505.mail.in.yahoo.com>
hi,
For submitting an sk_buff to upper layer you have to
use atm_vcc structure, provided by kernel. This has
one "push" entry point where you can pass your skbuff
structure. go through drivers/atm/zatm.c.
Mehul.
--- manomugdha biswas <manomugdhab@yahoo.co.in> wrote:
>
>
> Hi,
> I am writing a new driver module for ATM. I want to
> send a packet to protocol stack using netif_rx().
> For
> ethernet i am using netif_rx() in the following
> way.
> I
> have dev pointer.
>
> skbuff->dev = device;
> skbuff->protocol = eth_type_trans(skbuff,
> device);
>
> netif_rx(skbuff);
>
> It works for ethernet and POS and does not work for
> ATM. Could anyone please tell me what to do for
> ATM?
>
> Regards,
> Mano
>
>
> > Manomugdha Biswas
> >
> >
> >
> >
> >
> >
> >
>
__________________________________________________________
> >
> > Yahoo! India Matrimony: Find your partner online.
> Go
> > to http://yahoo.shaadi.com
> > -
> > To unsubscribe from this list: send the line
> > "unsubscribe linux-kernel" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at
> > http://vger.kernel.org/majordomo-info.html
> > Please read the FAQ at http://www.tux.org/lkml/
> >
>
>
> Manomugdha Biswas
>
>
>
>
>
>
>
__________________________________________________________
>
> Yahoo! India Matrimony: Find your partner online. Go
> to http://yahoo.shaadi.com
> -
> To unsubscribe from this list: send the line
> "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at
> http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
Send instant messages to your online friends http://uk.messenger.yahoo.com
prev parent reply other threads:[~2005-09-06 6:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-05 13:17 manomugdha biswas
2005-09-06 4:16 ` manomugdha biswas
2005-09-06 6:34 ` Mehul Vora [this message]
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=20050906063416.17001.qmail@web33806.mail.mud.yahoo.com \
--to=mehul_linux@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-net@vger.kernel.org \
--cc=manomugdhab@yahoo.co.in \
/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®