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

int nla_len ( const struct nlattr nla  ) 

length of payload

  • nla netlink attribute

Definition at line 153 of file attr.c.

References nlattr::nla_len.

Referenced by nla_get_addr(), nla_get_data(), nla_memcmp(), nla_memcpy(), nla_parse_nested(), nla_strcmp(), and nla_strlcpy().

{
      return nla->nla_len - NLA_HDRLEN;
}


Generated by  Doxygen 1.6.0   Back to index