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, Dec 27, 7:16 PM
Unknown Object (File)
Wed, Dec 10, 10:03 PM
Unknown Object (File)
Nov 30 2025, 3:14 AM
Unknown Object (File)
Nov 20 2025, 6:16 AM
Unknown Object (File)
Nov 5 2025, 4:42 PM
Unknown Object (File)
Nov 2 2025, 5:00 AM
Unknown Object (File)
Oct 30 2025, 12:16 AM
Unknown Object (File)
Oct 29 2025, 7:43 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