Skip to content

Files

Latest commit

047a231 · Jun 10, 2020

History

History

unicast_example

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jun 8, 2020
Jun 10, 2020
Jun 10, 2020
Jun 10, 2020

Unicast Example

Example adapted to newer Linux kernel versions.

Compile kernel module and user space program.

make

Load kernel module:

insmod ./netlink_test.ko

Also check kernel log dmesg for module debug output.

./nl_recv "Hello you!"
Hello you!

Unload kernel module:

rmmod netlink_test.ko