HomeFreeBSD

netlink: provide snl(3) API for variable length raw data attribute

Description

netlink: provide snl(3) API for variable length raw data attribute

Rename supposedly internal _snl_reserve_msg_attr() into an official
snl_reserve_msg_attr_raw(), that would return pointer to a struct
nlattr followed by allocated memory. Adjust the snl_reserve_msg_attr()
macro to work on top of that function.

Reviewed by: melifaro
Differential Revision: https://reviews.freebsd.org/D48311

Details

Provenance
glebiusAuthored on Mon, Jan 20, 8:53 PM
Reviewer
melifaro
Differential Revision
D48311: netlink: provide snl(3) API for variable length raw data attribute
Parents
rG127b443124d1: gvinum: Emit deprecation notice upon drive tasting
Branches
Unknown
Tags
Unknown