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

int nlmsg_padlen ( int  payload  ) 

length of padding at the message's tail

  • payload length of message payload

Definition at line 184 of file msg.c.

References nlmsg_msg_size(), and nlmsg_total_size().

Referenced by nlmsg_put().

{
      return nlmsg_total_size(payload) - nlmsg_msg_size(payload);
}


Generated by  Doxygen 1.6.0   Back to index