Page MenuHomeFreeBSD

netlink: improve snl(3)
ClosedPublic

Authored by melifaro on Mar 15 2023, 2:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 14, 2:25 PM
Unknown Object (File)
Wed, Nov 13, 4:38 AM
Unknown Object (File)
Mon, Oct 21, 7:05 PM
Unknown Object (File)
Sun, Oct 20, 10:54 AM
Unknown Object (File)
Fri, Oct 18, 7:12 AM
Unknown Object (File)
Oct 16 2024, 1:14 PM
Unknown Object (File)
Oct 7 2024, 5:52 PM
Unknown Object (File)
Oct 6 2024, 9:57 AM
Subscribers

Details

Summary
  • add snl_send_message() as a convenient send wrapper
  • add signed integer parsers
  • add snl_read_reply_code() to simplify operation result checks
  • add snl_read_reply_multi() to simplify reading multipart messages
  • add snl_create_genl_msg_request()
  • add snl_get_genl_family() to simplify family name->id resolution
  • add tests for some of the functionality

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable