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)
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
Unknown Object (File)
Sun, Aug 2, 2:23 AM
Unknown Object (File)
Sat, Aug 1, 5:35 AM
Unknown Object (File)
Fri, Jul 31, 4:16 PM
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