Page MenuHomeFreeBSD

netlink: improve snl(3)
ClosedPublic

Authored by melifaro on Mar 15 2023, 2:00 PM.
Tags
None
Referenced Files
F97470605: D39092.diff
Sun, Sep 29, 1:24 PM
F97462437: D39092.id118849.diff
Sun, Sep 29, 12:55 PM
F97462434: D39092.id.diff
Sun, Sep 29, 12:55 PM
F97461949: D39092.id118873.diff
Sun, Sep 29, 12:50 PM
F97444426: D39092.diff
Sun, Sep 29, 9:05 AM
F97364997: D39092.diff
Sat, Sep 28, 9:31 PM
Unknown Object (File)
Fri, Sep 27, 2:24 AM
Unknown Object (File)
Thu, Sep 26, 8:28 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