rename kernel_module to kernel_modules, start README mass factorings

This commit is contained in:
Ciro Santilli
2018-09-08 07:14:31 +01:00
parent 0a2446edf7
commit a99e041c8a
101 changed files with 558 additions and 430 deletions

View File

@@ -0,0 +1,10 @@
#ifndef NETLINK_H
#define NETLINK_H
/* Socket identifier, matches userland. TODO can be anything?
* Is there a more scalable way to do it? E.g. ioctl device,
* kernel generates one on the fly, then give it back and connect?
* https://stackoverflow.com/questions/32898173/can-i-have-more-than-32-netlink-sockets-in-kernelspace */
#define NETLINK_USER 31
#endif