How can I listen to the tcp port in kernel space (freebsd)?

As the name says, how can I work with tcp sockets in kernel space? Are there any tricky notes?

+3
source share
2 answers

I found a message on linuxjournal.com about networking in the kernel.

May be helpful.

0
source

Take a look at ng_ksocket. Even if you will not use netgraph, this is a good kernel-level implementation of socket manipulations.

+2
source

All Articles