libnl: nla_policy Struct Reference

libnl 3.7.0

Data Fields
nla_policy Struct Reference
Core Library (libnl) » Message Construction & Parsing » Attributes

Attribute validation policy. More...

`#include <attr.h>`

## Data Fields
uint16_t | type
| Type of attribute or NLA_UNSPEC.
uint16_t | minlen
| Minimal length of payload required.
uint16_t | maxlen
| Maximal length of payload allowed.

## Detailed Description

Attribute validation policy.

See section Attribute Parsing (Netlink Core Library Development Guide) for more details.

Definition at line 63 of file attr.h.