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, Mar 4, 3:06 PM
Unknown Object (File)
Wed, Feb 26, 1:54 PM
Unknown Object (File)
Sat, Feb 22, 6:45 PM
Unknown Object (File)
Feb 12 2025, 2:28 AM
Unknown Object (File)
Feb 8 2025, 8:30 PM
Unknown Object (File)
Feb 6 2025, 11:52 PM
Unknown Object (File)
Feb 2 2025, 5:02 PM
Unknown Object (File)
Feb 2 2025, 2:15 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