libnl 3.7.0

Attribute validation policy. More...

#include <attr.h>

Data Fields

uint16_t type
 Type of attribute or NLA_UNSPEC. More...
 
uint16_t minlen
 Minimal length of payload required. More...
 
uint16_t maxlen
 Maximal length of payload allowed. More...
 

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.

Field Documentation

◆ type

uint16_t nla_policy::type

Type of attribute or NLA_UNSPEC.

Definition at line 65 of file attr.h.

◆ minlen

uint16_t nla_policy::minlen

Minimal length of payload required.

Definition at line 68 of file attr.h.

◆ maxlen

uint16_t nla_policy::maxlen

Maximal length of payload allowed.

Definition at line 71 of file attr.h.