Lines Matching refs:nla_put
140 * // The binary structure is appened to the message using nla_put()
142 * nla_put(msg, ATTR_MY_STRUCT, sizeof(foo), &foo);
837 int nla_put(struct nl_msg *msg, int attrtype, int datalen, const void *data)
858 * Equivalent to nla_put() except that the length of the payload is
861 * @see nla_put
866 return nla_put(msg, attrtype, nl_data_get_size(data),
876 * @see nla_put
881 return nla_put(msg, attrtype, nl_addr_get_len(addr),
897 * @see nla_put
902 return nla_put(msg, attrtype, sizeof(uint8_t), &value);
922 * @see nla_put
927 return nla_put(msg, attrtype, sizeof(uint16_t), &value);
947 * @see nla_put
952 return nla_put(msg, attrtype, sizeof(uint32_t), &value);
972 * @see nla_put
977 return nla_put(msg, attrtype, sizeof(uint64_t), &value);
1007 * @see nla_put
1012 return nla_put(msg, attrtype, strlen(str) + 1, str);
1042 * @see nla_put
1047 return nla_put(msg, attrtype, 0, NULL);
1105 * @see nla_put
1110 return nla_put(msg, attrtype, nlmsg_len(nested->nm_nlh),
1126 if (nla_put(msg, attrtype, 0, NULL) < 0)