buf_t is in kernel_types.h on macOS (and maybe BSD)

Let's consider using some other name?