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

int nla_put_data ( struct nl_msg *  n,
int  attrtype,
struct nl_data *  data 
)

Add an abstract data netlink attribute to a netlink message

  • n netlink message
  • attrtype attribute type
  • data abstract data

Definition at line 611 of file attr.c.

References nl_data_get(), nl_data_get_size(), and nla_put().

{
      return nla_put(n, attrtype, nl_data_get_size(data),
                   nl_data_get(data));
}


Generated by  Doxygen 1.6.0   Back to index