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

int nlmsg_len ( const struct nlmsghdr nlh  ) 

length of message payload

  • nlh netlink message header

Definition at line 232 of file msg.c.

References nlmsghdr::nlmsg_len.

Referenced by nl_msg_dump(), nla_put_nested(), nlmsg_attrlen(), and nlmsg_reserve().

{
      return nlh->nlmsg_len - NLMSG_HDRLEN;
}


Generated by  Doxygen 1.6.0   Back to index