Logo Search packages:      
Sourcecode: libnl2 version File versions  Download package

int nla_len ( const struct nlattr *  nla  ) 

Return length of the payload .

  • nla Attribute
Length of payload in bytes.

Definition at line 471 of file attr.c.

Referenced by nl_addr_alloc_attr(), nl_data_alloc_attr(), nla_memcmp(), nla_memcpy(), nla_parse_nested(), nla_strcmp(), nla_strlcpy(), and rtnl_ematch_parse().

      return nla->nla_len - NLA_HDRLEN;

Generated by  Doxygen 1.6.0   Back to index