-
Thomas Haller authored
Add parameter to accept a pre-allocated buffer for nl_recv(). In practice, rtnetlink messages are not larger than 32k, so we can always pre-allocate it and avoid the need to heap allocate it.
Add parameter to accept a pre-allocated buffer for nl_recv(). In practice, rtnetlink messages are not larger than 32k, so we can always pre-allocate it and avoid the need to heap allocate it.