Page MenuHomeFreeBSD

netlink: improve snl(3)
ClosedPublic

Authored by melifaro on Mar 15 2023, 2:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 14, 9:38 AM
Unknown Object (File)
Fri, Oct 10, 7:57 AM
Unknown Object (File)
Fri, Oct 10, 7:56 AM
Unknown Object (File)
Fri, Oct 10, 7:56 AM
Unknown Object (File)
Fri, Oct 10, 4:03 AM
Unknown Object (File)
Fri, Oct 10, 1:54 AM
Unknown Object (File)
Mon, Sep 22, 9:54 PM
Unknown Object (File)
Sep 17 2025, 2:30 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