Review your favorite Linux distribution.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


  Search this Thread
Old 01-12-2007, 05:17 AM   #1
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.

Old 01-12-2007, 08:51 PM   #2
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
LQ Newbie
Registered: May 2006
Posts: 5

Original Poster
Rep: Reputation: 0
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.



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 > Forums > Non-*NIX Forums > Programming

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

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