186int os_mbuf_append(
struct os_mbuf* om,
const void* data, uint16_t len);
int ble_transport_to_hs_acl(struct os_mbuf *om)
Push an ACL packet up to the host stack.
void ble_transport_ll_init(void)
Bring this port's controller-side transport up.
int ble_transport_to_ll_cmd_impl(void *buf)
Controller-side handler for an HCI command from the host.
int os_mbuf_free_chain(struct os_mbuf *om)
Free every mbuf in a chain.
void ble_transport_free(void *buf)
Release a buffer obtained from ble_transport_alloc_evt().
uint16_t os_mbuf_len(const struct os_mbuf *om)
Total payload length of an mbuf chain.
int ble_transport_to_ll_cmd(void *buf)
Host-to-controller HCI command entry point.
int ble_transport_to_ll_acl(struct os_mbuf *om)
Host-to-controller ACL entry point.
int os_mbuf_copydata(const struct os_mbuf *om, int off, int len, void *dst)
Copy a byte range out of an mbuf chain.
int os_mbuf_append(struct os_mbuf *om, const void *data, uint16_t len)
Append bytes to an mbuf chain (upstream os_mbuf.h).
int ble_transport_to_hs_evt(void *buf)
Push an HCI event up to the host stack.
int ble_transport_to_ll_iso_impl(struct os_mbuf *om)
Controller-side handler for an ISO packet from the host.
void * ble_transport_alloc_evt(int discardable)
Allocate an HCI event buffer (upstream ble_transport.h).
struct os_mbuf * ble_transport_alloc_acl_from_ll(void)
Allocate an ACL mbuf for the LL-to-host direction.
int ble_transport_to_ll_acl_impl(struct os_mbuf *om)
Controller-side handler for an ACL packet from the host.