A socket in kernel-space

From: Jaroslav Snajdr (jarda@tinysoftware.com)
Date: Mon Feb 07 2000 - 12:56:15 EST


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/



This archive was generated by hypermail 2b29 : Mon Feb 07 2000 - 21:00:15 EST