netbuf::p is only used within LwIP.
 
Symbols
loading...
Files
loading...

netbuf::p field

Syntax

struct pbuf *p;

References

LocationReferrerText
netbuf.h:61
struct pbuf *p, *ptr;
api_lib.c:658netconn_recv_data()
len = netbuf_len((struct netbuf *)buf);
api_lib.c:891netconn_recv()
buf->p = p;
api_msg.c:256recv_udp()
buf->p = p;
api_msg.c:1562lwip_netconn_do_send()
err = udp_send(msg->conn->pcb.udp, msg->msg.b->p);
api_msg.c:1564lwip_netconn_do_send()
err = udp_sendto(msg->conn->pcb.udp, msg->msg.b->p, &msg->msg.b->addr, msg->msg.b->port);
netbuf.c:84netbuf_delete()
if (buf->p != NULL) {
netbuf.c:85netbuf_delete()
netbuf.c:86netbuf_delete()
buf->p = buf->ptr = NULL;
netbuf.c:107netbuf_alloc()
if (buf->p != NULL) {
netbuf.c:108netbuf_alloc()
netbuf.c:110netbuf_alloc()
netbuf.c:111netbuf_alloc()
if (buf->p == NULL) {
netbuf.c:115netbuf_alloc()
(buf->p->len >= size));
netbuf.c:116netbuf_alloc()
buf->ptr = buf->p;
netbuf.c:117netbuf_alloc()
return buf->p->payload;
netbuf.c:130netbuf_free()
if (buf->p != NULL) {
netbuf.c:131netbuf_free()
netbuf.c:133netbuf_free()
buf->p = buf->ptr = NULL;
netbuf.c:154netbuf_ref()
if (buf->p != NULL) {
netbuf.c:155netbuf_ref()
netbuf.c:157netbuf_ref()
netbuf.c:158netbuf_ref()
if (buf->p == NULL) {
netbuf.c:162netbuf_ref()
((struct pbuf_rom *)buf->p)->payload = dataptr;
netbuf.c:163netbuf_ref()
buf->p->len = buf->p->tot_len = size;
netbuf.c:164netbuf_ref()
buf->ptr = buf->p;
netbuf.c:180netbuf_chain()
pbuf_cat(head->p, tail->p);
netbuf.c:181netbuf_chain()
head->ptr = head->p;
netbuf.c:247netbuf_first()
buf->ptr = buf->p;
sockets.c:1121lwip_recvfrom_udp_raw()
buflen = buf->p->tot_len;
sockets.c:1136lwip_recvfrom_udp_raw()
pbuf_copy_partial(buf->p, (u8_t *)msg->msg_iov[i].iov_base, copylen, copied);
sockets.c:1534lwip_sendmsg()
if (chain_buf.p == NULL) {
sockets.c:1535lwip_sendmsg()
chain_buf.p = chain_buf.ptr = p;
sockets.c:1538lwip_sendmsg()
if (chain_buf.p->tot_len + p->len > 0xffff) {
sockets.c:1543lwip_sendmsg()
pbuf_cat(chain_buf.p, p);
sockets.c:1548lwip_sendmsg()
size = netbuf_len(&chain_buf);
sockets.c:1625lwip_sendto()
buf.p = buf.ptr = NULL;