blob: dc3d0f90b3bed36d29d9c78e9c27c30409d50917 (
plain)
1
2
3
4
5
6
7
|
/* nla_put_flag() appends a zero sized attribute to the message. */
nla_put_flag(msg, ATTR_FLAG);
/* There is no need for a receival function, the presence is the value. */
if (attrs[ATTR_FLAG])
/* flag is present */
|