Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 58) sorted by relevance

123

/btstack/3rd-party/lwip/core/src/include/lwip/
H A Dnetbuf.h88 #define netbuf_copy_partial(buf, dataptr, len, offset) \ argument
90 #define netbuf_copy(buf,dataptr,len) netbuf_copy_partial(buf, dataptr, len, 0) argument
91 #define netbuf_take(buf, dataptr, len) pbuf_take((buf)->p, dataptr, len) argument
92 #define netbuf_len(buf) ((buf)->p->tot_len) argument
93 #define netbuf_fromaddr(buf) (&((buf)->addr)) argument
94 #define netbuf_set_fromaddr(buf, fromaddr) ip_addr_set(&((buf)->addr), fromaddr) argument
95 #define netbuf_fromport(buf) ((buf)->port) argument
97 #define netbuf_destaddr(buf) (&((buf)->toaddr)) argument
98 #define netbuf_set_destaddr(buf, destaddr) ip_addr_set(&((buf)->toaddr), destaddr) argument
100 #define netbuf_destport(buf) (((buf)->flags & NETBUF_FLAG_DESTADDR) ? (buf)->toport_chksum … argument
[all …]
H A Dinet.h147 #define inet_ntoa_r(addr, buf, buflen) ip4addr_ntoa_r((const ip4_addr_t*)&(addr), buf, buflen) argument
165 #define inet6_ntoa_r(addr, buf, buflen) ip6addr_ntoa_r((const ip6_addr_t*)&(addr), buf, buflen) argument
/btstack/3rd-party/lwip/core/src/api/
H A Dnetbuf.c65 struct netbuf *buf; in netbuf_new() local
81 netbuf_delete(struct netbuf *buf) in netbuf_delete()
102 netbuf_alloc(struct netbuf *buf, u16_t size) in netbuf_alloc()
127 netbuf_free(struct netbuf *buf) in netbuf_free()
151 netbuf_ref(struct netbuf *buf, const void *dataptr, u16_t size) in netbuf_ref()
196 netbuf_data(struct netbuf *buf, void **dataptr, u16_t *len) in netbuf_data()
222 netbuf_next(struct netbuf *buf) in netbuf_next()
244 netbuf_first(struct netbuf *buf) in netbuf_first()
H A Dapi_lib.c581 void *buf = NULL; in netconn_recv_data() local
706 struct pbuf *buf; in netconn_recv_data_tcp() local
863 struct netbuf *buf = NULL; in netconn_recv() local
922 netconn_sendto(struct netconn *conn, struct netbuf *buf, const ip_addr_t *addr, u16_t port) in netconn_sendto()
941 netconn_send(struct netconn *conn, struct netbuf *buf) in netconn_send()
/btstack/chipset/sx128x/SMTC_Drivers/sx1280-driver-c/
H A Dsx1280.c158 uint8_t buf[3]; in SX1280SetTx() local
179 uint8_t buf[3]; in SX1280SetRx() local
201 uint8_t buf[5]; in SX1280SetRxDutyCycle() local
243 uint8_t buf[3]; in SX1280SetRfFrequency() local
255 uint8_t buf[2]; in SX1280SetTxParams() local
272 uint8_t buf[2]; in SX1280SetBufferBaseAddresses() local
281 uint8_t buf[3]; in SX1280SetModulationParams() local
329 uint8_t buf[7]; in SX1280SetPacketParams() local
523 uint8_t buf[8]; in SX1280SetDioIrqParams() local
547 uint8_t buf[2]; in SX1280ClearIrqStatus() local
[all …]
/btstack/platform/posix/
H A Dwav_util.c73 uint8_t buf[2]; in little_endian_fstore_16() local
79 uint8_t buf[4]; in little_endian_fstore_32() local
194 uint8_t buf[40]; in wav_reader_open() local
240 uint8_t buf[2]; in wav_reader_read_int8() local
244 uint8_t buf[1]; in wav_reader_read_int8() local
263 uint8_t buf[2]; in wav_reader_read_int16() local
/btstack/port/stm32-wb55xx-nucleo-freertos/Middlewares/STM32_WPAN/utilities/
H A Ddbg_trace.c170 uint8_t* buf; in DbgTrace_TxCpltCallback() local
228 size_t _write(int handle, const unsigned char * buf, size_t bufSize) in _write()
242 size_t __write(int handle, const unsigned char * buf, size_t bufSize) in __write()
255 size_t DbgTraceWrite(int handle, const unsigned char * buf, size_t bufSize) in DbgTraceWrite()
/btstack/port/stm32-wb55xx-nucleo-freertos/port/
H A Dbtstack_port.c66 ssize_t _write(int fd, const void* buf, size_t count) in _write()
84 ssize_t _read(int file, void * buf, size_t count) in _read()
91 ssize_t _write(int fd, const void* buf, size_t count){ in _write()
/btstack/port/stm32-f4discovery-usb/Middlewares/ST/STM32_USB_Host_Library/Core/Src/
H A Dusbh_ctlreq.c346 static void USBH_ParseDevDesc(USBH_DevDescTypeDef *dev_desc, uint8_t *buf, in USBH_ParseDevDesc()
380 static void USBH_ParseCfgDesc(USBH_CfgDescTypeDef *cfg_desc, uint8_t *buf, in USBH_ParseCfgDesc()
442 uint8_t *buf) in USBH_ParseInterfaceDesc()
464 uint8_t *buf) in USBH_ParseEPDesc()
/btstack/port/stm32-f4discovery-usb/Middlewares/ST/STM32_USB_Host_Library/Class/HID/Src/
H A Dusbh_hid.c702 static void USBH_HID_ParseHIDDesc(HID_DescTypeDef *desc, uint8_t *buf) in USBH_HID_ParseHIDDesc()
794 void USBH_HID_FifoInit(FIFO_TypeDef *f, uint8_t *buf, uint16_t size) in USBH_HID_FifoInit()
811 uint16_t USBH_HID_FifoRead(FIFO_TypeDef *f, void *buf, uint16_t nbytes) in USBH_HID_FifoRead()
855 uint16_t USBH_HID_FifoWrite(FIFO_TypeDef *f, void *buf, uint16_t nbytes) in USBH_HID_FifoWrite()
/btstack/port/zephyr/src/
H A Dmain.c95 struct net_buf *buf; in transport_send_packet() local
148 static void transport_deliver_controller_packet(struct net_buf * buf){ in transport_deliver_controller_packet()
198 struct net_buf *buf = net_buf_get(&rx_queue, timeout); in btstack_run_loop_zephyr_execute() local
/btstack/3rd-party/lwip/core/src/netif/ppp/
H A Dutils.c120 int ppp_slprintf(char *buf, int buflen, const char *fmt, ...) { in ppp_slprintf()
135 int ppp_vslprintf(char *buf, int buflen, const char *fmt, va_list args) { in ppp_vslprintf()
606 char buf[1024]; in ppp_logit() local
612 static void ppp_log_write(int level, char *buf) { in ppp_log_write()
H A Dmagic.c162 void magic_random_bytes(unsigned char *buf, u32_t buf_len) { in magic_random_bytes()
274 void magic_random_bytes(unsigned char *buf, u32_t buf_len) { in magic_random_bytes()
H A Deui64.c48 static char buf[20]; in eui64_ntoa() local
/btstack/3rd-party/lwip/core/src/apps/snmp/
H A Dsnmp_netconn.c52 struct netbuf *buf; in snmp_netconn_thread() local
85 struct netbuf buf; in snmp_sendto() local
/btstack/chipset/realtek/
H A Dbtstack_chipset_realtek.c79 #define HCI_CMD_SET_OPCODE(buf, opcode) little_endian_store_16(buf, 0, opcode) argument
80 #define HCI_CMD_SET_LENGTH(buf, length) buf[2] = length argument
81 #define HCI_CMD_DOWNLOAD_SET_INDEX(buf, index) buf[3] = index argument
82 #define HCI_CMD_DOWNLOAD_COPY_FW_DATA(buf, firmware, ptr, len) memcpy(buf + 4, firmware + ptr, len) argument
491 static uint32_t read_file(FILE **file, uint8_t **buf, const char *name) { in read_file()
/btstack/3rd-party/lwip/core/src/netif/
H A Dlowpan6.c69 #define LWIP_6LOWPAN_DO_CALC_CRC(buf, len) 0 argument
71 #define LWIP_6LOWPAN_DO_CALC_CRC(buf, len) LWIP_6LOWPAN_CALC_CRC(buf, len) argument
262 lowpan6_calc_crc(const void* buf, u16_t len) in lowpan6_calc_crc()
/btstack/3rd-party/lwip/core/src/apps/http/makefsdata/
H A Dmakefsdata.c427 void *buf; in copy_file() local
561 u8_t *buf; in get_file_data() local
783 char *buf; in checkSsiByFilelist() local
1264 int s_put_ascii(char *buf, const char *ascii_string, int len, int *i) in s_put_ascii()
/btstack/port/stm32-f4discovery-cc256x/port/
H A Dport.c224 ssize_t _write(int file, const void *buf, size_t len){ in _write()
246 ssize_t _read(int fd, void * buf, size_t count){ in _read()
/btstack/port/stm32-f4discovery-usb/Drivers/CMSIS/NN/Source/ActivationFunctions/
H A Darm_relu_q7.c65 q31_t buf; in arm_relu_q7() local
H A Darm_relu_q15.c65 q31_t buf; in arm_relu_q15() local
/btstack/3rd-party/lwip/core/src/apps/mdns/
H A Dmdns_domain.c358 char buf[4]; in mdns_build_reverse_v4_domain() local
397 char buf; in mdns_build_reverse_v6_domain() local
/btstack/3rd-party/lwip/core/src/core/
H A Dpbuf.c1027 pbuf_copy_partial(const struct pbuf *buf, void *dataptr, u16_t len, u16_t offset) in pbuf_copy_partial()
1196 pbuf_take(struct pbuf *buf, const void *dataptr, u16_t len) in pbuf_take()
1240 pbuf_take_at(struct pbuf *buf, const void *dataptr, u16_t len, u16_t offset) in pbuf_take_at()
H A Dip.c101 char *ipaddr_ntoa_r(const ip_addr_t *addr, char *buf, int buflen) in ipaddr_ntoa_r()
/btstack/3rd-party/lwip/core/src/include/netif/
H A Dlowpan6_opts.h80 #define LWIP_6LOWPAN_CALC_CRC(buf, len) lowpan6_calc_crc(buf, len) argument

123