Searched refs:netbuf (Results 1 - 14 of 14) sorted by relevance

/vbox/src/VBox/Devices/Network/lwip/src/include/lwip/
H A Dapi.h74 struct netbuf { struct
100 struct netbuf * netbuf_new (void);
101 void netbuf_delete (struct netbuf *buf);
102 void * netbuf_alloc (struct netbuf *buf, u16_t size);
103 void netbuf_free (struct netbuf *buf);
104 void netbuf_ref (struct netbuf *buf,
106 void netbuf_chain (struct netbuf *head,
107 struct netbuf *tail);
109 u16_t netbuf_len (struct netbuf *buf);
110 err_t netbuf_data (struct netbuf *bu
[all...]
/vbox/src/VBox/Devices/Network/lwip-new/src/include/lwip/
H A Dnetbuf.h44 /** This netbuf has dest-addr/port set */
46 /** This netbuf includes a checksum */
49 struct netbuf { struct
65 struct netbuf * netbuf_new (void);
66 void netbuf_delete (struct netbuf *buf);
67 void * netbuf_alloc (struct netbuf *buf, u16_t size);
68 void netbuf_free (struct netbuf *buf);
69 err_t netbuf_ref (struct netbuf *buf,
71 void netbuf_chain (struct netbuf *head,
72 struct netbuf *tai
[all...]
H A Dapi_msg.h71 struct netbuf *b;
H A Dapi.h41 #include "lwip/netbuf.h"
259 err_t netconn_recv(struct netconn *conn, struct netbuf **new_buf);
262 err_t netconn_sendto(struct netconn *conn, struct netbuf *buf,
264 err_t netconn_send(struct netconn *conn, struct netbuf *buf);
H A Dmemp_std.h55 LWIP_MEMPOOL(NETBUF, MEMP_NUM_NETBUF, sizeof(struct netbuf), "NETBUF")
/vbox/src/VBox/Devices/Network/lwip-new/src/api/
H A Dnetbuf.c43 #include "lwip/netbuf.h"
49 * Create (allocate) and initialize a new netbuf.
50 * The netbuf doesn't yet contain a packet buffer!
52 * @return a pointer to a new netbuf
56 netbuf *netbuf_new(void)
58 struct netbuf *buf;
60 buf = (struct netbuf *)memp_malloc(MEMP_NETBUF);
82 * Deallocate a netbuf allocated by netbuf_new().
84 * @param buf pointer to a netbuf allocated by netbuf_new()
87 netbuf_delete(struct netbuf *bu
[all...]
H A Dapi_lib.c346 * Receive data: actual implementation that doesn't care whether pbuf or netbuf
350 * @param new_buf pointer where a new pbuf/netbuf is stored when received data
422 len = netbuf_len((struct netbuf *)buf);
458 * Receive data (in form of a netbuf containing a packet buffer) from a netconn
461 * @param new_buf pointer where a new netbuf is stored when received data
466 netconn_recv(struct netconn *conn, struct netbuf **new_buf)
469 struct netbuf *buf = NULL;
486 buf = (struct netbuf *)memp_malloc(MEMP_NETBUF);
550 * Send data (in form of a netbuf) to a specific remote IP address and port.
554 * @param buf a netbuf containin
[all...]
H A Dsockets.c372 netbuf_delete((struct netbuf *)lastdata);
674 err = netconn_recv(sock->conn, (struct netbuf **)&buf);
676 LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_recvfrom: netconn_recv err=%d, netbuf=%p\n",
704 p = ((struct netbuf *)buf)->p;
753 port = netbuf_fromport((struct netbuf *)buf);
754 fromaddr = netbuf_fromaddr_ipX((struct netbuf *)buf);
781 LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_recvfrom: lastdata now netbuf=%p\n", buf));
785 LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_recvfrom: deleting netbuf=%p\n", buf));
789 netbuf_delete((struct netbuf *)buf);
860 struct netbuf bu
[all...]
H A Dapi_msg.c83 struct netbuf *buf;
108 buf = (struct netbuf *)memp_malloc(MEMP_NETBUF);
148 struct netbuf *buf;
172 buf = (struct netbuf *)memp_malloc(MEMP_NETBUF);
708 netbuf_delete((struct netbuf *)mem);
/vbox/src/VBox/Devices/Network/lwip/src/api/
H A Dapi_lib.c43 netbuf *netbuf_new(void)
45 struct netbuf *buf;
58 netbuf_delete(struct netbuf *buf)
70 netbuf_alloc(struct netbuf *buf, u16_t size)
85 netbuf_free(struct netbuf *buf)
94 netbuf_ref(struct netbuf *buf, void *dataptr, u16_t size)
106 netbuf_chain(struct netbuf *head, struct netbuf *tail)
114 netbuf_len(struct netbuf *buf)
120 netbuf_data(struct netbuf *bu
[all...]
H A Dsockets.c51 struct netbuf *lastdata;
355 struct netbuf *buf;
473 struct netbuf *buf;
H A Dapi_msg.c45 struct netbuf *buf;
76 struct netbuf *buf;
/vbox/src/VBox/Devices/Network/lwip/src/core/
H A Dmemp.c63 MEM_ALIGN_SIZE(sizeof(struct netbuf)),
94 MEMP_TYPE_SIZE(MEMP_NUM_NETBUF, struct netbuf) +
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/BsdSocketLib/
H A Dgetnetbydns.c130 static char *net_aliases[MAXALIASES], netbuf[PACKETSZ]; local
150 bp = netbuf;
151 buflen = sizeof(netbuf);

Completed in 87 milliseconds