J
J
jajabin2020-07-03 21:49:28
linux
jajabin, 2020-07-03 21:49:28

Is it possible to include libraries in a kernel module?

At the moment, I have implemented a program for changing the packet route in the satellite segment (at the L3 L4 level) using Go, but I plan to rewrite it in C, make a kernel module. I started looking into it but didn't find a concrete answer. You need a cache and sending some data, as I understand it all will have to be written to zero in the kernel?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
jcmvbkbc, 2020-07-03
@jajabin

I plan to rewrite the program for changing the packet route in the satellite segment
in C, to make a kernel module

It's best to start by looking at the existing functionality available in the kernel for this purpose. It may well be that your problem has already been solved.
Ideally, you need a cache and sending some data, as I understand it all will have to be written to zero in the kernel

There are several implementations of specialized caching mechanisms in the kernel. Routing and sending data, in theory, should not intersect in any way.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question