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)
Wed, Jul 8, 12:03 AM
Unknown Object (File)
Sun, Jul 5, 5:39 AM
Unknown Object (File)
Fri, Jul 3, 2:55 AM
Unknown Object (File)
Wed, Jul 1, 2:27 AM
Unknown Object (File)
Mon, Jun 29, 4:21 AM
Unknown Object (File)
Jun 11 2026, 8:45 PM
Unknown Object (File)
Jun 3 2026, 5:44 PM
Unknown Object (File)
May 14 2026, 12:34 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