Home | History | Annotate | Download | only in netlink

Lines Matching full:attrtype

139  * @arg attrtype	Attribute type.
143 #define NLA_PUT(msg, attrtype, attrlen, data) \
145 if (nla_put(msg, attrtype, attrlen, data) < 0) \
154 * @arg attrtype Attribute type.
157 #define NLA_PUT_TYPE(msg, type, attrtype, value) \
160 NLA_PUT(msg, attrtype, sizeof(type), &__tmp); \
166 * @arg attrtype Attribute type.
169 #define NLA_PUT_U8(msg, attrtype, value) \
170 NLA_PUT_TYPE(msg, uint8_t, attrtype, value)
175 * @arg attrtype Attribute type.
178 #define NLA_PUT_U16(msg, attrtype, value) \
179 NLA_PUT_TYPE(msg, uint16_t, attrtype, value)
184 * @arg attrtype Attribute type.
187 #define NLA_PUT_U32(msg, attrtype, value) \
188 NLA_PUT_TYPE(msg, uint32_t, attrtype, value)
193 * @arg attrtype Attribute type.
196 #define NLA_PUT_U64(msg, attrtype, value) \
197 NLA_PUT_TYPE(msg, uint64_t, attrtype, value)
202 * @arg attrtype Attribute type.
205 #define NLA_PUT_STRING(msg, attrtype, value) \
206 NLA_PUT(msg, attrtype, strlen(value) + 1, value)
211 * @arg attrtype Attribute type.
213 #define NLA_PUT_FLAG(msg, attrtype) \
214 NLA_PUT(msg, attrtype, 0, NULL)
219 * @arg attrtype Attribute type.
222 #define NLA_PUT_MSECS(msg, attrtype, msecs) \
223 NLA_PUT_U64(msg, attrtype, msecs)
228 * @arg attrtype Attribute type.
231 #define NLA_PUT_ADDR(msg, attrtype, addr) \
232 NLA_PUT(msg, attrtype, nl_addr_get_len(addr), \
238 * @arg attrtype Attribute type.
241 #define NLA_PUT_DATA(msg, attrtype, data) \
242 NLA_PUT(msg, attrtype, nl_data_get_size(data), \