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)
Sat, Feb 8, 8:30 PM
Unknown Object (File)
Thu, Feb 6, 11:52 PM
Unknown Object (File)
Sun, Feb 2, 5:02 PM
Unknown Object (File)
Sun, Feb 2, 2:15 PM
Unknown Object (File)
Mon, Jan 20, 8:54 PM
Unknown Object (File)
Jan 12 2025, 3:03 AM
Unknown Object (File)
Jan 10 2025, 10:27 PM
Unknown Object (File)
Jan 8 2025, 4:49 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