A socket in kernel-space

Jaroslav Snajdr (jarda@tinysoftware.com)
Mon, 07 Feb 2000 18:56:15 +0100


Hello,

is it possible to have a socket inside a kernel driver? I mean, I want
to write a network driver that would encapsulate IP packets in UDP. The
interface would receive and transmit packets via the UDP socket's
sendmsg and recvmsg. I looked at cipe driver, which does similar thing
with encryption, and they use a socket provided by a user-space daemon.
I wonder if it's possible to have a kernel thread instead.

-jns

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/