Page MenuHomeFreeBSD

netlink: improve snl(3)
ClosedPublic

Authored by melifaro on Mar 15 2023, 2:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 20 2024, 5:28 AM
Unknown Object (File)
Mar 20 2024, 5:28 AM
Unknown Object (File)
Mar 20 2024, 5:28 AM
Unknown Object (File)
Mar 18 2024, 7:08 PM
Unknown Object (File)
Jan 14 2024, 7:22 AM
Unknown Object (File)
Jan 10 2024, 12:35 AM
Unknown Object (File)
Jan 10 2024, 12:35 AM
Unknown Object (File)
Jan 10 2024, 12:35 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