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

int nlmsg_len ( const struct nlmsghdr nlh  ) 

length of message payload

  • nlh netlink message header

Definition at line 214 of file msg.c.

References nlmsghdr::nlmsg_len.

Referenced by nla_put_nested(), and nlmsg_attrlen().

{
      return nlh->nlmsg_len - NLMSG_HDRLEN;
}


Generated by  Doxygen 1.6.0   Back to index