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)
Wed, Mar 18, 1:13 PM
Unknown Object (File)
Sat, Mar 14, 2:06 PM
Unknown Object (File)
Mon, Mar 9, 10:39 AM
Unknown Object (File)
Mon, Mar 9, 4:54 AM
Unknown Object (File)
Sun, Mar 8, 10:24 PM
Unknown Object (File)
Thu, Mar 5, 8:11 AM
Unknown Object (File)
Thu, Mar 5, 7:55 AM
Unknown Object (File)
Wed, Mar 4, 8:14 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