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)
Sun, Mar 16, 6:48 PM
Unknown Object (File)
Fri, Mar 14, 6:34 AM
Unknown Object (File)
Feb 21 2025, 9:27 AM
Unknown Object (File)
Feb 11 2025, 10:26 PM
Unknown Object (File)
Feb 11 2025, 10:26 PM
Unknown Object (File)
Feb 6 2025, 4:02 AM
Unknown Object (File)
Jan 18 2025, 1:18 AM
Unknown Object (File)
Jan 12 2025, 3:29 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