pub unsafe extern "C" fn pbuf_alloc_reference(
    payload: *mut c_void,
    length: u16_t,
    type_: pbuf_type
) -> *mut pbuf