| /components/net/lwip/lwip-2.1.2/src/core/ipv6/ |
| A D | ip6_addr.c | 222 ip6addr_ntoa_r(const ip6_addr_t *addr, char *buf, int buflen) in ip6addr_ntoa_r() argument 235 int buflen_ip4 = buflen - sizeof(IP4MAPPED_HEADER) + 1; in ip6addr_ntoa_r() 236 if (buflen < (int)sizeof(IP4MAPPED_HEADER)) { in ip6addr_ntoa_r() 264 if (i >= buflen) { in ip6addr_ntoa_r() 280 if (i >= buflen) { in ip6addr_ntoa_r() 296 if (i >= buflen) { in ip6addr_ntoa_r() 306 if (i >= buflen) { in ip6addr_ntoa_r() 316 if (i >= buflen) { in ip6addr_ntoa_r() 327 if (i >= buflen) { in ip6addr_ntoa_r() 333 if (i >= buflen) { in ip6addr_ntoa_r()
|
| /components/net/lwip/lwip-2.0.3/src/core/ipv6/ |
| A D | ip6_addr.c | 191 ip6addr_ntoa_r(const ip6_addr_t *addr, char *buf, int buflen) in ip6addr_ntoa_r() argument 213 if (i >= buflen) { in ip6addr_ntoa_r() 229 if (i >= buflen) { in ip6addr_ntoa_r() 245 if (i >= buflen) { in ip6addr_ntoa_r() 255 if (i >= buflen) { in ip6addr_ntoa_r() 265 if (i >= buflen) { in ip6addr_ntoa_r() 276 if (i >= buflen) { in ip6addr_ntoa_r() 282 if (i >= buflen) { in ip6addr_ntoa_r()
|
| /components/net/netdev/src/ |
| A D | netdev_ipaddr.c | 185 char *netdev_ip4addr_ntoa_r(const ip4_addr_t *addr, char *buf, int buflen) in netdev_ip4addr_ntoa_r() argument 211 if (len++ >= buflen) in netdev_ip4addr_ntoa_r() 217 if (len++ >= buflen) in netdev_ip4addr_ntoa_r() 408 netdev_ip6addr_ntoa_r(const ip6_addr_t *addr, char *buf, int buflen) in netdev_ip6addr_ntoa_r() argument 434 if (i >= buflen) in netdev_ip6addr_ntoa_r() 454 if (i >= buflen) in netdev_ip6addr_ntoa_r() 476 if (i >= buflen) in netdev_ip6addr_ntoa_r() 490 if (i >= buflen) in netdev_ip6addr_ntoa_r() 504 if (i >= buflen) in netdev_ip6addr_ntoa_r() 518 if (i >= buflen) in netdev_ip6addr_ntoa_r() [all …]
|
| /components/drivers/usb/cherryusb/class/wireless/ |
| A D | usbh_bluetooth.c | 167 static int usbh_bluetooth_hci_bulk_out(uint8_t *buffer, uint32_t buflen) in usbh_bluetooth_hci_bulk_out() argument 187 memcpy(&g_bluetooth_tx_buf[1], buffer, buflen); in usbh_bluetooth_hci_write() 188 usbh_bluetooth_hci_dump(g_bluetooth_tx_buf, buflen + 1); in usbh_bluetooth_hci_write() 189 ret = usbh_bluetooth_hci_bulk_out(g_bluetooth_tx_buf, buflen + 1); in usbh_bluetooth_hci_write() 235 static int usbh_bluetooth_hci_cmd(uint8_t *buffer, uint32_t buflen) in usbh_bluetooth_hci_cmd() argument 249 setup->wLength = buflen; in usbh_bluetooth_hci_cmd() 260 memcpy(&g_bluetooth_cmd_buf[1], buffer, buflen); in usbh_bluetooth_hci_write() 261 usbh_bluetooth_hci_dump(g_bluetooth_cmd_buf, buflen + 1); in usbh_bluetooth_hci_write() 262 ret = usbh_bluetooth_hci_cmd(&g_bluetooth_cmd_buf[1], buflen); in usbh_bluetooth_hci_write() 265 memcpy(&g_bluetooth_tx_buf[1], buffer, buflen); in usbh_bluetooth_hci_write() [all …]
|
| A D | usbh_rndis.h | 47 int usbh_rndis_eth_output(uint32_t buflen); 48 void usbh_rndis_eth_input(uint8_t *buf, uint32_t buflen);
|
| /components/net/lwip/lwip-2.1.2/src/netif/ppp/ |
| A D | utils.c | 133 #define OUTCHAR(c) (buflen > 0? (--buflen, *buf++ = (c)): 0) 154 --buflen; in ppp_vslprintf() 160 if (len > buflen) in ppp_vslprintf() 161 len = buflen; in ppp_vslprintf() 164 buflen -= len; in ppp_vslprintf() 356 --buflen; in ppp_vslprintf() 387 width = buflen; in ppp_vslprintf() 389 buflen -= n; in ppp_vslprintf() 394 if (len > buflen) in ppp_vslprintf() 395 len = buflen; in ppp_vslprintf() [all …]
|
| /components/net/lwip/lwip-2.0.3/src/netif/ppp/ |
| A D | utils.c | 135 #define OUTCHAR(c) (buflen > 0? (--buflen, *buf++ = (c)): 0) 156 --buflen; in ppp_vslprintf() 162 if (len > buflen) in ppp_vslprintf() 163 len = buflen; in ppp_vslprintf() 166 buflen -= len; in ppp_vslprintf() 358 --buflen; in ppp_vslprintf() 389 width = buflen; in ppp_vslprintf() 391 buflen -= n; in ppp_vslprintf() 396 if (len > buflen) in ppp_vslprintf() 397 len = buflen; in ppp_vslprintf() [all …]
|
| /components/drivers/usb/cherryusb/platform/rtthread/ |
| A D | usbh_lwip.c | 136 void usbh_cdc_ecm_eth_input(uint8_t *buf, uint32_t buflen) in usbh_cdc_ecm_eth_input() argument 138 usbh_lwip_eth_input_common(g_cdc_ecm_dev.netif, buf, buflen); in usbh_cdc_ecm_eth_input() 225 void usbh_rndis_eth_input(uint8_t *buf, uint32_t buflen) in usbh_rndis_eth_input() argument 227 usbh_lwip_eth_input_common(g_rndis_dev.netif, buf, buflen); in usbh_rndis_eth_input() 297 void usbh_cdc_ncm_eth_input(uint8_t *buf, uint32_t buflen) in usbh_cdc_ncm_eth_input() argument 299 usbh_lwip_eth_input_common(g_cdc_ncm_dev.netif, buf, buflen); in usbh_cdc_ncm_eth_input() 366 void usbh_asix_eth_input(uint8_t *buf, uint32_t buflen) in usbh_asix_eth_input() argument 368 usbh_lwip_eth_input_common(g_asix_dev.netif, buf, buflen); in usbh_asix_eth_input() 435 void usbh_rtl8152_eth_input(uint8_t *buf, uint32_t buflen) in usbh_rtl8152_eth_input() argument 437 usbh_lwip_eth_input_common(g_rtl8152_dev.netif, buf, buflen); in usbh_rtl8152_eth_input()
|
| /components/drivers/usb/cherryusb/common/ |
| A D | usb_log.h | 103 static inline void usb_hexdump(const void *ptr, uint32_t buflen) in usb_hexdump() argument 110 for (i = 0; i < buflen; i += 16) { in usb_hexdump() 114 if (i + j < buflen) { in usb_hexdump() 125 if (i + j < buflen) in usb_hexdump()
|
| /components/drivers/usb/cherryusb/class/hid/ |
| A D | usbh_hid.h | 31 int usbh_hid_get_report_descriptor(struct usbh_hid *hid_class, uint8_t *buffer, uint32_t buflen); 36 …uct usbh_hid *hid_class, uint8_t report_type, uint8_t report_id, uint8_t *buffer, uint32_t buflen); 37 …uct usbh_hid *hid_class, uint8_t report_type, uint8_t report_id, uint8_t *buffer, uint32_t buflen);
|
| A D | usbh_hid.c | 53 int usbh_hid_get_report_descriptor(struct usbh_hid *hid_class, uint8_t *buffer, uint32_t buflen) in usbh_hid_get_report_descriptor() argument 66 setup->wLength = buflen; in usbh_hid_get_report_descriptor() 155 …ruct usbh_hid *hid_class, uint8_t report_type, uint8_t report_id, uint8_t *buffer, uint32_t buflen) in usbh_hid_set_report() argument 168 setup->wLength = buflen; in usbh_hid_set_report() 173 …ruct usbh_hid *hid_class, uint8_t report_type, uint8_t report_id, uint8_t *buffer, uint32_t buflen) in usbh_hid_get_report() argument 187 setup->wLength = buflen; in usbh_hid_get_report() 193 memcpy(buffer, g_hid_buf[hid_class->minor], MIN(ret - 8, buflen)); in usbh_hid_get_report()
|
| /components/net/lwip/lwip-2.1.2/src/core/ |
| A D | ip.c | 101 char *ipaddr_ntoa_r(const ip_addr_t *addr, char *buf, int buflen) in ipaddr_ntoa_r() argument 107 return ip6addr_ntoa_r(ip_2_ip6(addr), buf, buflen); in ipaddr_ntoa_r() 109 return ip4addr_ntoa_r(ip_2_ip4(addr), buf, buflen); in ipaddr_ntoa_r()
|
| /components/net/lwip/lwip-1.4.1/src/include/lwip/ |
| A D | netdb.h | 102 size_t buflen, struct hostent **result, int *h_errnop); 111 #define gethostbyname_r(name, ret, buf, buflen, result, h_errnop) \ argument 112 lwip_gethostbyname_r(name, ret, buf, buflen, result, h_errnop)
|
| /components/net/lwip/lwip-2.1.2/src/include/lwip/ |
| A D | inet.h | 142 #define inet_ntoa_r(addr, buf, buflen) ip4addr_ntoa_r((const ip4_addr_t*)&(addr), buf, buflen) argument 160 #define inet6_ntoa_r(addr, buf, buflen) ip6addr_ntoa_r((const ip6_addr_t*)&(addr), buf, buflen) argument
|
| A D | netdb.h | 124 size_t buflen, struct hostent **result, int *h_errnop); 135 #define gethostbyname_r(name, ret, buf, buflen, result, h_errnop) \ argument 136 lwip_gethostbyname_r(name, ret, buf, buflen, result, h_errnop)
|
| /components/net/lwip/lwip-2.0.3/src/include/lwip/ |
| A D | netdb.h | 124 size_t buflen, struct hostent **result, int *h_errnop); 135 #define gethostbyname_r(name, ret, buf, buflen, result, h_errnop) \ argument 136 lwip_gethostbyname_r(name, ret, buf, buflen, result, h_errnop)
|
| A D | inet.h | 144 #define inet_ntoa_r(addr, buf, buflen) ip4addr_ntoa_r((const ip4_addr_t*)&(addr), buf, buflen) argument 163 #define inet6_ntoa_r(addr, buf, buflen) ip6addr_ntoa_r((const ip6_addr_t*)&(addr), buf, buflen) argument
|
| /components/net/netdev/include/ |
| A D | netdev_ipaddr.h | 138 char *netdev_ip4addr_ntoa_r(const ip4_addr_t *addr, char *buf, int buflen); 200 char *netdev_ip6addr_ntoa_r(const ip6_addr_t *addr, char *buf, int buflen); 259 #define inet_ntoa_r(addr, buf, buflen) ((IP_IS_V6_VAL(addr)) ? \ argument 260 … netdev_ip6addr_ntoa_r(ip_2_ip6(&addr), buf, buflen) : \ 261 netdev_ip4addr_ntoa_r(ip_2_ip4(&addr), buf, buflen)) 282 #define inet_ntoa_r(addr, buf, buflen) netdev_ip4addr_ntoa_r((const ip4_addr_t*)&(addr), buf, … argument 302 #define inet_ntoa_r(addr, buf, buflen) netdev_ip6addr_ntoa_r((const ip6_addr_t*)&(addr), buf, … argument
|
| /components/drivers/usb/cherryusb/port/ehci/ |
| A D | usb_hc_ehci.c | 287 if (buflen < rest) { in ehci_qtd_bpl_fill() 288 rest = buflen; in ehci_qtd_bpl_fill() 325 qtd->length = buflen; in ehci_qtd_fill() 458 buflen -= 0x4000; in ehci_bulk_urb_init() 461 buflen = 0; in ehci_bulk_urb_init() 474 if (buflen == 0) { in ehci_bulk_urb_init() 490 if (buflen == 0) { in ehci_bulk_urb_init() 554 buflen -= 0x4000; in ehci_intr_urb_init() 557 buflen = 0; in ehci_intr_urb_init() 570 if (buflen == 0) { in ehci_intr_urb_init() [all …]
|
| /components/net/sal/socket/ |
| A D | net_netdb.c | 24 size_t buflen, struct hostent **result, int *h_errnop) in gethostbyname_r() argument 26 return sal_gethostbyname_r(name, ret, buf, buflen, result, h_errnop); in gethostbyname_r()
|
| /components/drivers/usb/cherryusb/class/cdc/ |
| A D | usbh_cdc_ecm.h | 42 int usbh_cdc_ecm_eth_output(uint32_t buflen); 43 void usbh_cdc_ecm_eth_input(uint8_t *buf, uint32_t buflen);
|
| A D | usbh_cdc_ncm.h | 46 int usbh_cdc_ncm_eth_output(uint32_t buflen); 47 void usbh_cdc_ncm_eth_input(uint8_t *buf, uint32_t buflen);
|
| A D | usbh_cdc_acm.h | 40 …n_transfer(struct usbh_cdc_acm *cdc_acm_class, uint8_t *buffer, uint32_t buflen, uint32_t timeout); 41 …t_transfer(struct usbh_cdc_acm *cdc_acm_class, uint8_t *buffer, uint32_t buflen, uint32_t timeout);
|
| /components/drivers/usb/cherryusb/class/vendor/net/ |
| A D | usbh_asix.c | 769 int usbh_asix_eth_output(uint32_t buflen) argument 777 g_asix_tx_buffer[0] = buflen & 0xff; 778 g_asix_tx_buffer[1] = (buflen >> 8) & 0xff; 783 USB_LOG_DBG("txlen:%d\r\n", buflen + 8); 784 g_asix_tx_buffer[buflen + 4 + 0] = 0x00; 785 g_asix_tx_buffer[buflen + 4 + 1] = 0x00; 786 g_asix_tx_buffer[buflen + 4 + 2] = 0xff; 787 g_asix_tx_buffer[buflen + 4 + 3] = 0xff; 788 actual_len = buflen + 8; 790 USB_LOG_DBG("txlen:%d\r\n", buflen + 4); [all …]
|
| /components/drivers/usb/cherryusb/class/vendor/serial/ |
| A D | usbh_pl2303.h | 52 int usbh_pl2303_bulk_in_transfer(struct usbh_pl2303 *pl2303_class, uint8_t *buffer, uint32_t buflen… 53 …out_transfer(struct usbh_pl2303 *pl2303_class, uint8_t *buffer, uint32_t buflen, uint32_t timeout);
|