nla_flag.c

00001 /* nla_put_flag() appends a zero sized attribute to the message. */
00002 nla_put_flag(msg, ATTR_FLAG);
00003 
00004 
00005 /* There is no need for a receival function, the presence is the value. */
00006 if (attrs[ATTR_FLAG])
00007         /* flag is present */