LinuxQuestions.org
Review your favorite Linux distribution.
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
  Search this Thread
Old 01-12-2007, 05:17 AM   #1
sandeepvl
LQ Newbie
 
Registered: May 2006
Posts: 5

Rep: Reputation: 0
Help for developing a device driver code for loopback interface in linux


hi all,
i am a beginner in device driver development. i have just developed a sample driver for a character device and block device. now i would like to know how can i develop a driver for a network interface. in Rubini's 'Linux device drivers'(O'Reilly) there is a chapter explaining this. but i am not getting it. they are explaining about a driver for a loopback interface. please help me. can u suggest me a site where i can refer the device driver development steps for loopback interface. or can u share me the code for the same, if any one has tried it out.

REGARDS,
SANDEEP.
 
Old 01-12-2007, 08:51 PM   #2
xhi
Senior Member
 
Registered: Mar 2005
Location: USA::Pennsylvania
Distribution: Slackware
Posts: 1,065

Rep: Reputation: 45
do you have an example of the part of the code you are not getting. (or are you just not getting the entire concept?)
 
Old 01-14-2007, 02:46 AM   #3
sandeepvl
LQ Newbie
 
Registered: May 2006
Posts: 5

Original Poster
Rep: Reputation: 0
hi
thanx for the kind heart to help me. i got what is the purpose of the whole code. but i donno how to run the module for this loopback interface. as i told u, wen i developed the driver for a char and block device, i tested it by making a device using mknod command. but for a network devcice it is not possible like tat naah. so how can i test the sample code that is there with the text buk. please help me. i think u got my doubt.

Regards
Sandeep.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
DISCUSSION: Developing Linux Device Drivers using Libusb API vikram_cvk LinuxAnswers Discussion 22 10-17-2019 03:54 AM
How to compile device driver code for linux kernel 2.4.21 shrikantpwr245 Programming 1 06-04-2006 07:51 AM
Code for a Polling Linux Device Driver Jay-Whizzle Linux - Hardware 1 03-22-2006 01:52 AM
Oreilly's linux device driver example code... okeyla Linux - Hardware 2 04-27-2005 05:58 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:11 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration