Add buf_info struct

Change-Id: I6406bcc45a170ab0b9f6c323a33e620cfbb6b6df