Character device interface over existing socket interface.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am looking for help in writing character
device interface for existing socket interface.

Planning to write as kernel module. Kernel 2.4.20.
It will be a simple pass through to the socket. I mean
it sits above socket and whatever user gives, the
driver passes it to socket and vice versa. In that
sense its pass-through or a psuedo driver.

When user creates the device, he gives already
connected socket to char device driver. Once device
gets created, user closes the socket!

My hunch is that this looks so common that somebody
would have already written or have some pointer to it.

Somebody may wonder why one needs this ...but for
we can take it as *application specific* requirement.

Please let me know if you know anything about it.


		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux