Home
last modified time | relevance | path

Searched refs:dataptr (Results 1 – 24 of 24) sorted by relevance

/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/
Dnetbuf.h98 const void *dataptr, u16_t size);
103 void **dataptr, u16_t *len);
108 #define netbuf_copy_partial(buf, dataptr, len, offset) \ argument
109 pbuf_copy_partial((buf)->p, (dataptr), (len), (offset))
110 #define netbuf_copy(buf, dataptr, len) netbuf_copy_partial(buf, dataptr, len, 0) argument
111 #define netbuf_take(buf, dataptr, len) pbuf_take((buf)->p, dataptr, len) argument
Dsockets.h1829 ssize_t lwip_send(int s, const void *dataptr, size_t size, int flags);
1974 ssize_t lwip_sendto(int s, const void *dataptr, size_t size, int flags,
2072 int lwip_write(int s, const void *dataptr, size_t size);
2473 #define send(s, dataptr, size, flags) lwip_send(s, dataptr, size, flags) argument
2477 #define sendto(s, dataptr, size, flags, to, tolen) lwip_sendto(s, dataptr, size, flags, to, tolen) argument
2496 #define write(s, dataptr, len) lwip_write(s, dataptr, len) argument
Dpbuf.h422 u16_t pbuf_copy_partial(const struct pbuf *p, void *dataptr, u16_t len, u16_t offset);
426 err_t pbuf_take(struct pbuf *buf, const void *dataptr, u16_t len);
440 err_t pbuf_take_at(struct pbuf *buf, const void *dataptr, u16_t len, u16_t offset);
469 err_t pbuf_fill_chksum(struct pbuf *p, u16_t start_offset, const void *dataptr,
Dapi.h439 err_t netconn_write_partly(struct netconn *conn, const void *dataptr, size_t size,
442 #define netconn_write(conn, dataptr, size, apiflags) \ argument
443 netconn_write_partly(conn, dataptr, size, apiflags, NULL)
Dinet_chksum.h106 u16_t inet_chksum(const void *dataptr, u16_t len);
Dtcp.h787 err_t tcp_write (struct tcp_pcb *pcb, const void *dataptr, tcpwnd_size_t len,
/device/soc/amlogic/a311d/soc/amlogic/unifykey/
Dnormal_key.c127 if (obj->dataptr) { in dump_object()
129 dump_mem(obj->dataptr, obj->datasize); in dump_object()
269 pcontent->dataptr = kmalloc(pcontent->datasize, GFP_KERNEL); in Tlv_ReadObject()
270 if (!pcontent->dataptr) { in Tlv_ReadObject()
273 memcpy(pcontent->dataptr, input + idx, pcontent->datasize); in Tlv_ReadObject()
283 kfree(pcontent->dataptr); in Tlv_ReadObject()
352 if (object->dataptr && object->datasize != 0) { in Tlv_WriteObject()
356 if (!WRT_BUF(EMTLVOBJDATABUF, object->datasize, object->dataptr)) { in Tlv_WriteObject()
433 kfree(pos->object.dataptr); in normalkey_deinit()
490 kfree(obj->dataptr); in normalkey_add()
[all …]
Dnormal_key.h25 u8 *dataptr; member
Dstorage_key.c397 memcpy(buffer, obj->dataptr, size); in _amlkey_read_normal()
/device/soc/esp/esp32/components/esp_lwip/port/include/lwip/
Dsockets.h616 ssize_t lwip_send(int s, const void *dataptr, size_t size, int flags);
618 ssize_t lwip_sendto(int s, const void *dataptr, size_t size, int flags,
621 ssize_t lwip_write(int s, const void *dataptr, size_t size);
665 static inline ssize_t send(int s,const void *dataptr,size_t size,int flags) in send() argument
666 { return lwip_send(s,dataptr,size,flags); } in send()
669 static inline ssize_t sendto(int s,const void *dataptr,size_t size,int flags,const struct sockaddr … in sendto() argument
670 { return lwip_sendto(s,dataptr,size,flags,to,tolen); } in sendto()
683 static inline ssize_t write(int s,const void *dataptr,size_t len) in write() argument
684 { return lwip_write(s,dataptr,len); } in write()
724 #define send(s,dataptr,size,flags) lwip_send(s,dataptr,size,flags) argument
[all …]
Dpbuf.h303 u16_t pbuf_copy_partial(const struct pbuf *p, void *dataptr, u16_t len, u16_t offset);
305 err_t pbuf_take(struct pbuf *buf, const void *dataptr, u16_t len);
306 err_t pbuf_take_at(struct pbuf *buf, const void *dataptr, u16_t len, u16_t offset);
311 err_t pbuf_fill_chksum(struct pbuf *p, u16_t start_offset, const void *dataptr,
/device/soc/esp/esp32/components/esp_lwip/lwip/src/core/
Dpbuf.c1036 pbuf_copy_partial(const struct pbuf *buf, void *dataptr, u16_t len, u16_t offset) in pbuf_copy_partial() argument
1044 LWIP_ERROR("pbuf_copy_partial: invalid dataptr", (dataptr != NULL), return 0;); in pbuf_copy_partial()
1058 MEMCPY(&((char *)dataptr)[left], &((char *)p->payload)[offset], buf_copy_len); in pbuf_copy_partial()
1205 pbuf_take(struct pbuf *buf, const void *dataptr, u16_t len) in pbuf_take() argument
1213 LWIP_ERROR("pbuf_take: invalid dataptr", (dataptr != NULL), return ERR_ARG;); in pbuf_take()
1216 if ((buf == NULL) || (dataptr == NULL) || (buf->tot_len < len)) { in pbuf_take()
1229 MEMCPY(p->payload, &((const char *)dataptr)[copied_total], buf_copy_len); in pbuf_take()
1249 pbuf_take_at(struct pbuf *buf, const void *dataptr, u16_t len, u16_t offset) in pbuf_take_at() argument
1257 const u8_t *src_ptr = (const u8_t *)dataptr; in pbuf_take_at()
1262 MEMCPY(((u8_t *)q->payload) + target_offset, dataptr, first_copy_len); in pbuf_take_at()
[all …]
/device/soc/chipsea/cst85/liteos_m/sdk/modules/lwip-2.1/porting/src/
Dporting_net_al.c51 u16_t lwip_standard_chksum(const void *dataptr, int len);
132 uint16_t net_ip_chksum(const void *dataptr, int len) in net_ip_chksum() argument
135 return lwip_standard_chksum(dataptr, len); in net_ip_chksum()
/device/soc/winnermicro/wm800/board/src/network/api2.0.3/
Dtls_netconn.h66 void *dataptr; member
Dtls_netconn.c329 err = tcp_write(pcb, net_msg->dataptr, net_msg->len, TCP_WRITE_FLAG_COPY); in net_skt_tcp_send()
/device/soc/chipsea/cst85/liteos_m/sdk/modules/lwip-2.1/porting/include/
Dporting_net_al.h40 uint16_t net_ip_chksum(const void *dataptr, int len);
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/
Dhi_net_api.h821 int send(int s, const void *dataptr, size_t size, int flags);
850 int sendto(int s, const void *dataptr, size_t size, int flags,
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/priv/
Dapi_msg.h142 const void *dataptr; member
/device/soc/chipsea/cst85/liteos_m/sdk/modules/wifi/fhost/
Dwifi_host.h579 uint16_t fhost_ip_chksum(const void *dataptr, int len);
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
Ddhd_wlfc.h132 uint8 *dataptr; /* Aligned pointer into databuf */ member
Ddhd_sdio.c5512 } else if (bus->dataptr) { in dhdsdio_rxglom()
5515 F2SYNC, bus->dataptr, in dhdsdio_rxglom()
5517 sublen = (uint16)pktfrombuf(osh, pfirst, 0, dlen, bus->dataptr); in dhdsdio_rxglom()
8473 bus->dataptr = bus->databuf + (DHD_SDALIGN - ((uintptr)bus->databuf % DHD_SDALIGN)); in dhdsdio_probe_malloc()
8475 bus->dataptr = bus->databuf; in dhdsdio_probe_malloc()
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/
Ddhd_sdio.c320 uint8 *dataptr; /* Aligned pointer into databuf */ member
6018 } else if (bus->dataptr) { in dhdsdio_rxglom()
6020 SDIO_FUNC_2, F2SYNC, bus->dataptr, in dhdsdio_rxglom()
6022 sublen = (uint16)pktfrombuf(osh, pfirst, 0, dlen, bus->dataptr); in dhdsdio_rxglom()
9137 bus->dataptr = bus->databuf + in dhdsdio_probe_malloc()
9140 bus->dataptr = bus->databuf; in dhdsdio_probe_malloc()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/
Ddhd_sdio.c305 uint8 *dataptr; /* Aligned pointer into databuf */ member
5463 } else if (bus->dataptr) { in dhdsdio_rxglom()
5466 F2SYNC, bus->dataptr, in dhdsdio_rxglom()
5468 sublen = (uint16)pktfrombuf(osh, pfirst, 0, dlen, bus->dataptr); in dhdsdio_rxglom()
8155 bus->dataptr = bus->databuf + (DHD_SDALIGN - ((uintptr)bus->databuf % DHD_SDALIGN)); in dhdsdio_probe_malloc()
8157 bus->dataptr = bus->databuf; in dhdsdio_probe_malloc()
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/
Ddhd_sdio.c328 uint8 *dataptr; /* Aligned pointer into databuf */ member
6410 } else if (bus->dataptr) { in dhdsdio_rxglom()
6413 F2SYNC, bus->dataptr, in dhdsdio_rxglom()
6415 sublen = (uint16)pktfrombuf(osh, pfirst, 0, dlen, bus->dataptr); in dhdsdio_rxglom()
9578 bus->dataptr = bus->databuf + (DHD_SDALIGN - ((uintptr)bus->databuf % DHD_SDALIGN)); in dhdsdio_probe_malloc()
9580 bus->dataptr = bus->databuf; in dhdsdio_probe_malloc()