Lines Matching defs:buffer
459 // in a BT_HDR buffer, calling BNEP_Write, and then freeing the buffer.
469 BT_HDR* buffer = (BT_HDR*)osi_malloc(PAN_BUF_SIZE);
470 buffer->len = len;
471 buffer->offset = PAN_MINIMUM_OFFSET;
472 memcpy((uint8_t*)buffer + sizeof(BT_HDR) + buffer->offset, p_data,
473 buffer->len);
475 return PAN_WriteBuf(handle, dst, src, protocol, buffer, ext);
487 * should take care of releasing the message buffer.
493 * p_buf - pointer to the data buffer