Re: Sockets from kernel space?

From: Martin Waitz
Date: Thu Dec 16 2004 - 02:43:53 EST


hoi :)

On Wed, Dec 15, 2004 at 08:38:40PM -0500, John Richard Moser wrote:
> Is it possible to create socket connections (AF_UNIX for example) from
> the kernel to local user processes that are listen()ing?

AF_NETLINK is made for exactly that purpose.

look at linux/netlink.h and net/ipv4/netfilter/ipt_ULOG.c for example code.

--
Martin Waitz

Attachment: signature.asc
Description: Digital signature