kernel-netlink: Use larger buffer for event messages

This commit is contained in:
Tobias Brunner
2018-08-31 12:15:12 +02:00
parent 9de3140dbf
commit c5b94b2483
4 changed files with 35 additions and 16 deletions
@@ -101,4 +101,11 @@ void netlink_add_attribute(struct nlmsghdr *hdr, int rta_type, chunk_t data,
*/
void* netlink_reserve(struct nlmsghdr *hdr, int buflen, int type, int len);
/**
* Determine buffer size for received messages (e.g. events).
*
* @return buffer size
*/
u_int netlink_get_buflen();
#endif /* KERNEL_NETLINK_SHARED_H_ */