Skip to content

Sample kernel module and user programs to do simple UKU messaging with netlink.

License

Notifications You must be signed in to change notification settings

coloroco/netlink_demos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Started (and updated for some errors at 4.12) from

https://gist.github.com/arunk-s/c897bb9d75a6c98733d6, actually https://github.com/arunk-s, look for "Instructions"

Which was taken from

https://stackoverflow.com/questions/15215865/netlink-sockets-in-c-using-the-3-x-linux-kernel?lq=1

Other useful links:

https://wiki.linuxfoundation.org/networking/generic_netlink_howto

  1. make
  2. insmod netlinkKernel.ko
  3. execute netlinkUser

Currently testing under SLES15 with a 4.12 kernel (because that's what was handy).

The goal is a Python3 program built around pyroute2 (package python3-pyroute2).

About

Sample kernel module and user programs to do simple UKU messaging with netlink.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published