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
F124998147: D48311.id148746.diff
Sat, Aug 2, 5:20 AM
Unknown Object (File)
Sat, Jul 26, 12:40 PM
Unknown Object (File)
Sun, Jul 20, 6:16 PM
Unknown Object (File)
Sat, Jul 5, 4:15 PM
Unknown Object (File)
Sat, Jul 5, 12:04 PM
Unknown Object (File)
Jul 1 2025, 6:27 AM
Unknown Object (File)
Jun 29 2025, 3:07 PM
Unknown Object (File)
Jun 29 2025, 4:39 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