I'm trying to send a relatively "big" string (+/- 60Kb) through generic netlink, for this, I know that I've to use the multipart mechanism offered by the API, using the flags NLM_F_MULTI and NLMSG_DONE, but I don't know how to implement it, there is some example which breaks the string in various packages and send it to kernel? I looked a lot for some example but I didn't find any that does this. If there is none, so how do I do that using only the mechanism offered by libnl and generic netlink?
- Generic Netlink multipart messages Matheus Rodrigues
- Re: Generic Netlink multipart messages Jakub Kicinski