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, Oct 3, 10:56 AM
Unknown Object (File)
Fri, Oct 2, 5:02 PM
Unknown Object (File)
Fri, Oct 2, 4:11 PM
Unknown Object (File)
Wed, Sep 30, 6:56 PM
Unknown Object (File)
Sun, Sep 27, 10:58 PM
Unknown Object (File)
Sun, Sep 27, 10:55 PM
Unknown Object (File)
Sun, Sep 27, 7:03 PM
Unknown Object (File)
Tue, Sep 8, 7:20 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