Communication between kernel and userspace via local socket

Maxim Ignatenko gelraen.ua at gmail.com
Wed Nov 16 09:48:17 UTC 2011


On 16 November 2011 10:55, Ed Schouten <ed at 80386.nl> wrote:
> * Maxim Ignatenko <gelraen.ua at gmail.com>, 20111115 21:18:
>> I'm currently inventing the wheel^W^W^Wwriting a firewall from scratch and
>> looking for most convenient way to establish communication between userspace
>> processes and kernel part. Communication pattern best fits to listening
>> PF_LOCAL socket opened from kernel and userspace processes connecting to it.
>
> What's wrong with a character device?
>

With character device I'll need to manually maintain "per-connection"
buffers, this will bloat the code.


More information about the freebsd-hackers mailing list