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)
Thu, Jan 15, 2:02 AM
Unknown Object (File)
Wed, Jan 14, 10:30 AM
Unknown Object (File)
Mon, Jan 12, 9:11 PM
Unknown Object (File)
Sat, Jan 10, 9:23 PM
Unknown Object (File)
Sat, Jan 10, 4:28 PM
Unknown Object (File)
Sat, Jan 10, 5:43 AM
Unknown Object (File)
Sat, Jan 10, 5:32 AM
Unknown Object (File)
Sat, Jan 10, 5:10 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