From: shankar krishnamurthy <kshan_77@yahoo.com>
To: lkml <linux-kernel@vger.kernel.org>
Subject: character device interface to existing socket interface.
Date: Fri, 8 Oct 2004 11:13:54 -0700 (PDT) [thread overview]
Message-ID: <20041008181354.75169.qmail@web52306.mail.yahoo.com> (raw)
In-Reply-To: <70640000.1097257199@w-hlinder.beaverton.ibm.com>
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 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!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail
next prev parent reply other threads:[~2004-10-08 19:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-08 17:39 [PATCH 2.6] pSeries_pci.c replace pci_find_device with pci_get_device Hanna Linder
2004-10-08 18:13 ` shankar krishnamurthy [this message]
2004-10-08 19:17 ` character device interface to existing socket interface Neil Horman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041008181354.75169.qmail@web52306.mail.yahoo.com \
--to=kshan_77@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®