Lines Matching refs:data
34 struct wpabuf * wpabuf_alloc_ext_data(u8 *data, size_t len);
35 struct wpabuf * wpabuf_alloc_copy(const void *data, size_t len);
108 static inline void wpabuf_put_u8(struct wpabuf *buf, u8 data) in wpabuf_put_u8() argument
111 *pos = data; in wpabuf_put_u8()
114 static inline void wpabuf_put_le16(struct wpabuf *buf, u16 data) in wpabuf_put_le16() argument
117 WPA_PUT_LE16(pos, data); in wpabuf_put_le16()
120 static inline void wpabuf_put_le32(struct wpabuf *buf, u32 data) in wpabuf_put_le32() argument
123 WPA_PUT_LE32(pos, data); in wpabuf_put_le32()
126 static inline void wpabuf_put_be16(struct wpabuf *buf, u16 data) in wpabuf_put_be16() argument
129 WPA_PUT_BE16(pos, data); in wpabuf_put_be16()
132 static inline void wpabuf_put_be24(struct wpabuf *buf, u32 data) in wpabuf_put_be24() argument
135 WPA_PUT_BE24(pos, data); in wpabuf_put_be24()
138 static inline void wpabuf_put_be32(struct wpabuf *buf, u32 data) in wpabuf_put_be32() argument
141 WPA_PUT_BE32(pos, data); in wpabuf_put_be32()
144 static inline void wpabuf_put_data(struct wpabuf *buf, const void *data, in wpabuf_put_data() argument
147 if (data) in wpabuf_put_data()
148 os_memcpy(wpabuf_put(buf, len), data, len); in wpabuf_put_data()
157 static inline void wpabuf_set(struct wpabuf *buf, const void *data, size_t len) in wpabuf_set() argument
159 buf->ext_data = (u8 *) data; in wpabuf_set()