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

int nla_put_nested ( struct nl_msg *  n,
int  attrtype,
struct nl_msg *  nested 

Add a nested netlink attribute to a netlink message

  • n netlink message
  • attrtype attribute type
  • nested netlink attribute to nest
-1 if the tailroom of the skb is insufficient to store the attribute header and payload.

Definition at line 523 of file attr.c.

References nla_put(), nlmsg_data(), and nlmsg_len().

Referenced by rtnl_neightbl_build_change_request().

      return nla_put(n, attrtype, nlmsg_len(nested->nm_nlh),

Generated by  Doxygen 1.6.0   Back to index