LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 01-27-2012, 02:05 AM   #1
karan2386
Member
 
Registered: Jan 2012
Posts: 34

Rep: Reputation: Disabled
how to use napi to recieve


I am writing a module for wlan0 (wireless LAN) where I send a ping packet through it and recieve a packet for the same. Now I have succeeded in transmitting it but am unsure how to recieve it. For that, I would like to use napi with napi_schedule(struct napi_struct *n);, but I don't know where to get napi_struct within my tasklet.


Can anyone explain how to get napi_struct, or is there any other way of receiving the packets? Any suggestions are welcomed.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
query ..napi and non-napi compatibilty in tg3 ethernet driver for kernel 2.6.28 sarvesh Linux - Kernel 1 04-14-2010 07:19 PM
query ..napi and non-napi compatibilty in tg3 ethernet driver for kernel 2.6.28 sarvesh Linux - Networking 0 04-10-2010 07:45 AM
NAPI netif_rx doctor.sniff Linux - Networking 1 04-21-2009 12:27 AM
How to disable NAPI? TimeSync Linux - Networking 0 10-12-2007 12:44 PM
How to know whether NAPI is used or not? kanth Linux - Networking 0 02-11-2004 06:15 AM


All times are GMT -5. The time now is 03:33 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration