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

#define NLA_PUT_TYPE ( msg,
type,
attrtype,
value   ) 

Value:

do { \
            type __tmp = value; \
            NLA_PUT(msg, attrtype, sizeof(type), &__tmp); \
      } while(0)
Add atomic type attribute to netlink message.
  • msg Netlink message.
  • type Atomic type.
  • attrtype Attribute type.
  • value Head of attribute payload.

Definition at line 157 of file attr.h.


Generated by  Doxygen 1.6.0   Back to index