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)
Tue, Nov 25, 6:24 AM
Unknown Object (File)
Sun, Nov 23, 9:14 AM
Unknown Object (File)
Thu, Nov 13, 2:47 AM
Unknown Object (File)
Fri, Nov 7, 11:28 AM
Unknown Object (File)
Sun, Nov 2, 4:27 AM
Unknown Object (File)
Thu, Oct 30, 5:13 AM
Unknown Object (File)
Tue, Oct 28, 9:18 PM
Unknown Object (File)
Oct 28 2025, 7:44 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