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)
Sat, Jul 4, 6:15 PM
Unknown Object (File)
Thu, Jul 2, 8:07 PM
Unknown Object (File)
Thu, Jun 25, 11:09 AM
Unknown Object (File)
Sun, Jun 14, 8:15 AM
Unknown Object (File)
May 17 2026, 7:43 AM
Unknown Object (File)
May 17 2026, 12:47 AM
Unknown Object (File)
May 17 2026, 12:42 AM
Unknown Object (File)
May 17 2026, 12:42 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 Not Applicable
Unit
Tests Not Applicable