mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-13 20:12:26 +00:00
Rationale: we already had a non buildroot build system, maintaining both will be hard, and having short paths is more awesome.
11 lines
365 B
C
11 lines
365 B
C
#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
|