Page MenuHomeFreeBSD

netlink: add attr parser utility functions
ClosedPublic

Authored by kp on Oct 16 2023, 12:07 PM.
Tags
None
Referenced Files
F155020710: D42221.diff
Thu, Apr 30, 5:55 PM
Unknown Object (File)
Tue, Apr 28, 3:01 PM
Unknown Object (File)
Tue, Apr 21, 11:14 AM
Unknown Object (File)
Sun, Apr 19, 1:36 PM
Unknown Object (File)
Tue, Apr 14, 7:23 PM
Unknown Object (File)
Tue, Apr 14, 7:15 PM
Unknown Object (File)
Sat, Apr 11, 4:16 PM
Unknown Object (File)
Thu, Apr 9, 11:17 PM
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 Not Applicable
Unit
Tests Not Applicable