* netif_rx for ATM
@ 2005-09-05 13:17 manomugdha biswas
2005-09-06 4:16 ` manomugdha biswas
0 siblings, 1 reply; 3+ messages in thread
From: manomugdha biswas @ 2005-09-05 13:17 UTC (permalink / raw)
To: linux-kernel; +Cc: linux-net
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* netif_rx for ATM
2005-09-05 13:17 netif_rx for ATM manomugdha biswas
@ 2005-09-06 4:16 ` manomugdha biswas
2005-09-06 6:34 ` Mehul Vora
0 siblings, 1 reply; 3+ messages in thread
From: manomugdha biswas @ 2005-09-06 4:16 UTC (permalink / raw)
To: linux-kernel; +Cc: linux-net
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: netif_rx for ATM
2005-09-06 4:16 ` manomugdha biswas
@ 2005-09-06 6:34 ` Mehul Vora
0 siblings, 0 replies; 3+ messages in thread
From: Mehul Vora @ 2005-09-06 6:34 UTC (permalink / raw)
To: manomugdha biswas, linux-kernel; +Cc: linux-net
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-09-06 6:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-05 13:17 netif_rx for ATM manomugdha biswas
2005-09-06 4:16 ` manomugdha biswas
2005-09-06 6:34 ` Mehul Vora
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®