Results 1 to 2 of 2
Hi All,
I am working on a Linux kernel module; one of the functionality being to create IPv4 routes from kernel. I could find lot of material on user-kernel space ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-28-2009 #1Just Joined!
- Join Date
- Aug 2009
- Posts
- 4
How to send rtnetlink message from kernel space to create IP route
Hi All,
I am working on a Linux kernel module; one of the functionality being to create IPv4 routes from kernel. I could find lot of material on user-kernel space interaction but nothing that describes a kernel module, which uses rtnetlink to create ip route.
After a bit of digging in kernel code, I could find the following apis - kernel_sendmsg, sock_create_kern. Can anyone point to some links where I can find relevant info.
Many Thanks
- 08-31-2009 #2Linux Newbie
- Join Date
- Jan 2008
- Location
- Canada
- Posts
- 109
Not sure if this helps.
compile networking stack kernel module
Cheers...
Robert


Reply With Quote
