Hello, I need my char device driver to have support for socket interface. Basically i need to establish 2 connections on the char device i have. So to identify the packets coming on each connection on my char device, i need to have a socket interface, something similar to the AF_WANPIPE sock support for the sangoma sync serial cards. Thanks Vanitha On Friday, October 29, 2004 7:11 PM, prasanna wakhare [SMTP:prasannawakhare@xxxxxxxxx] wrote: > Hi, > If u meant socket operations in kernel space then i > had done this one , a year back I'm just sending you > those > as attachment. > These files contains one kernel thread which > continuosly listens on socket.The transfer is UDP ,as > soon as it gets the data it fills the data in common > queue this whole module runs with the device driver > that's why i send it. > Basically this idea is from Allesendro Rubini's > article on socket programming from kernel space. > See if this is your requirement. > Thanks > Prasanna > > --- Vanitha Ramaswami <vanitha@xxxxxxxxxxxxxxxx> > wrote: > > > Hello, > > > > I have written a char device driver in linux for the > > High Speed Serial > > Interface(HSSI) of IXP425. I need to add a socket > > interface to the HSSI > > driver inorder to support multiple connections on > > the device., similar to > > the sangoma drivers (AF_WANPIPE). Inorder to do that > > should i register a > > separate address family in the file socket.h ?. Can > > anyone tell me the > > steps to add support for socket Interface? > > > > > > I appreciate any inputs on this. > > > > Thanks > > Vanitha > > > > -- > > Kernelnewbies: Help each other learn about the Linux > > kernel. > > Archive: > > http://mail.nl.linux.org/kernelnewbies/ > > FAQ: http://kernelnewbies.org/faq/ > > > > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - Helps protect you from nasty viruses. > http://promotions.yahoo.com/new_mail << File: recvserver.c >> << File: kspcecs1.h >> << File: inet.h >> -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/