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

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

Value:

do { \
            type __tmp = value; \
            NLA_PUT(n, attrtype, sizeof(type), &__tmp); \
      } while(0)
Add a basic netlink attribute to a netlink message
  • n netlink message
  • type atomic type
  • attrtype attribute type
  • value head of attribute payload

Definition at line 165 of file attr.h.


Generated by  Doxygen 1.6.0   Back to index