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

int nla_put_flag ( struct nl_msg *  msg,
int  attrtype 
)

Add flag netlink attribute to netlink message.

  • msg Netlink message.
  • attrtype Attribute type.
See also:
nla_put
Returns:
0 on success or a negative error code.

Definition at line 1045 of file attr.c.

References nla_put().

{
      return nla_put(msg, attrtype, 0, NULL);
}


Generated by  Doxygen 1.6.0   Back to index