Erste Seite Zurück Weiter Letzte Seite Übersicht Grafik
Sending a netlink message
Netlink message buffers are set up through macros from linux/netlink.h
Find the length of the buffer using NLMSG_SPACE passing payload length
Allocate a buffer. Setup nlmsghdr at beginning of buffer. Nlmsg_length is computed by NLMSG_LENGTH.
Get a pointer to payload using NLMSG_DATA and set it up.