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
F115913129: D48311.diff
Wed, Apr 30, 8:17 AM
Unknown Object (File)
Tue, Apr 29, 10:54 AM
Unknown Object (File)
Mon, Apr 7, 8:19 AM
Unknown Object (File)
Mar 4 2025, 3:06 PM
Unknown Object (File)
Feb 26 2025, 1:54 PM
Unknown Object (File)
Feb 22 2025, 6:45 PM
Unknown Object (File)
Feb 12 2025, 2:28 AM
Unknown Object (File)
Feb 8 2025, 8:30 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