Page MenuHomeFreeBSD

netlink: add attr parser utility functions
ClosedPublic

Authored by kp on Oct 16 2023, 12:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Aug 17, 10:48 PM
Unknown Object (File)
Thu, Aug 13, 9:02 AM
Unknown Object (File)
Mon, Aug 10, 2:01 AM
Unknown Object (File)
Sun, Aug 9, 5:28 AM
Unknown Object (File)
Fri, Aug 7, 6:42 PM
Unknown Object (File)
Tue, Aug 4, 4:48 AM
Unknown Object (File)
Tue, Aug 4, 3:42 AM
Unknown Object (File)
Mon, Aug 3, 5:32 AM
Subscribers

Details

Summary
  • nlattr_get_chara() to read a string into a char array, rather than to a char *
  • nlattr_get_bytes() to read an arbitrary (fixed length) byte sequence
  • nlattr_get_nested_ptr() to read a nested type to a struct foo *, rather than struct foo

Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 54000
Build 50890: arc lint + arc unit