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

int nlmsg_attrlen ( const struct nlmsghdr nlh,
int  hdrlen 

length of attributes data

  • nlh netlink message header
  • hdrlen length of family specific header

Definition at line 260 of file msg.c.

References nlmsg_len().

Referenced by nl_msg_dump(), nlmsg_find_attr(), nlmsg_parse(), and nlmsg_validate().

      return nlmsg_len(nlh) - NLMSG_ALIGN(hdrlen);

Generated by  Doxygen 1.6.0   Back to index