Page MenuHomeFreeBSD

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

Authored by glebius on Jan 3 2025, 6:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Aug 21, 5:29 PM
Unknown Object (File)
Fri, Aug 21, 3:20 PM
Unknown Object (File)
Thu, Aug 13, 7:06 PM
Unknown Object (File)
Mon, Aug 10, 12:36 AM
Unknown Object (File)
Sat, Aug 8, 6:21 PM
Unknown Object (File)
Sat, Aug 8, 11:54 AM
Unknown Object (File)
Thu, Aug 6, 3:01 AM
Unknown Object (File)
Thu, Aug 6, 1:28 AM
Subscribers

Details

Summary

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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable