Logo Search packages:      
Sourcecode: libnl 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 242 of file msg.c.

References nlmsg_len().

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

{
      return nlmsg_len(nlh) - NLMSG_ALIGN(hdrlen);
}


Generated by  Doxygen 1.6.0   Back to index