Skip to contentSkip to conversation

Network Device Driver Help Required

DISCUSSION Harish Kulkarni 2 participants 2 messages Oct 30, 2002

lore
Share & tools
lore
#0 lore raw

Hello All,
I have worked on PCI-Device driver on Linux 2.4.18-3 (i386), at presently i am working on a T1/E1 device driver development.
The following are the questions i have:

How one n/w layer will interact with other n/w layer ( driver)
e.g. in my case T1/E1 driver will interface with Lapd, i have found skbuffs
utilization for
doing the same. I am not clear on the same?. How skbuffs can be used. ( if
possible please provide/suggest me with a piece of
demo code which can be handy to understand "skbuffs" concepts.

Can i have any other interface for applications other then sockets?

Can any one suggest me any documents/articles to read, i have Rubini's
"Linux Device Drivers".

-Thanks in advance.
Hari

#1 lore raw
Quoted 5 lines · Harish Kulkarni

e.g. in my case T1/E1 driver will interface with Lapd, i have found skbuffs
utilization for
doing the same. I am not clear on the same?. How skbuffs can be used. ( if
possible please provide/suggest me with a piece of
demo code which can be handy to understand "skbuffs" concepts.

See Documentation/networking/lapb-module, for the LAPB interface.

Quoted 1 line

Can i have any other interface for applications other then sockets?

Up to you. For WAN drivers there is a standardised set of interfaces