Home | History | Annotate | Download | only in utils

Lines Matching refs:nbuf

76 		unsigned char *nbuf;
78 nbuf = os_realloc(buf->ext_data, buf->used + add_len);
79 if (nbuf == NULL)
81 os_memset(nbuf + buf->used, 0, add_len);
82 buf->ext_data = nbuf;
85 nbuf = os_realloc(trace, sizeof(struct wpabuf_trace) +
88 if (nbuf == NULL)
90 trace = (struct wpabuf_trace *) nbuf;
92 os_memset(nbuf + sizeof(struct wpabuf_trace) +
96 nbuf = os_realloc(buf, sizeof(struct wpabuf) +
98 if (nbuf == NULL)
100 buf = (struct wpabuf *) nbuf;
101 os_memset(nbuf + sizeof(struct wpabuf) + buf->used, 0,