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

int nla_put_string ( struct nl_msg *  n,
int  attrtype,
const char *  str 

Add a string netlink attribute to a netlink message

  • n netlink message
  • attrtype attribute type
  • str NUL terminated string

Definition at line 579 of file attr.c.

References nla_put().

Referenced by rtnl_neightbl_build_change_request().

      return nla_put(n, attrtype, strlen(str) + 1, str);

Generated by  Doxygen 1.6.0   Back to index