Searched refs:PBUF_POOL_BUFSIZE (Results 1 - 16 of 16) sorted by relevance

/vbox/src/VBox/Devices/Network/lwip-new/src/core/
H A Dinit.c166 #if (PBUF_POOL_BUFSIZE <= MEM_ALIGNMENT)
167 #error "PBUF_POOL_BUFSIZE must be greater than MEM_ALIGNMENT or the offset may take the full first pbuf"
279 #if !MEMP_MEM_MALLOC && (PBUF_POOL_BUFSIZE <= (PBUF_LINK_HLEN + PBUF_IP_HLEN + PBUF_TRANSPORT_HLEN))
280 #error "lwip_sanity_check: WARNING: PBUF_POOL_BUFSIZE does not provide enough space for protocol headers. If you know what you are doing, define LWIP_DISABLE_TCP_SANITY_CHECKS to 1 to disable this error."
282 #if !MEMP_MEM_MALLOC && (TCP_WND > (PBUF_POOL_SIZE * (PBUF_POOL_BUFSIZE - (PBUF_LINK_HLEN + PBUF_IP_HLEN + PBUF_TRANSPORT_HLEN))))
283 #error "lwip_sanity_check: WARNING: TCP_WND is larger than space provided by PBUF_POOL_SIZE * (PBUF_POOL_BUFSIZE - protocol headers). If you know what you are doing, define LWIP_DISABLE_TCP_SANITY_CHECKS to 1 to disable this error."
H A Dpbuf.c83 /* Since the pool is created in memp, PBUF_POOL_BUFSIZE will be automatically
85 #define PBUF_POOL_BUFSIZE_ALIGNED LWIP_MEM_ALIGN_SIZE(PBUF_POOL_BUFSIZE)
259 LWIP_ASSERT("PBUF_POOL_BUFSIZE must be bigger than MEM_ALIGNMENT",
/vbox/src/VBox/Devices/Network/
H A Dlwipopts.h101 /* PBUF_POOL_BUFSIZE: the size of each pbuf in the pbuf pool.
103 #undef PBUF_POOL_BUFSIZE macro
/vbox/src/VBox/NetworkServices/NAT/
H A Dlwipopts.h121 /* PBUF_POOL_BUFSIZE: the size of each pbuf in the pbuf pool.
123 #undef PBUF_POOL_BUFSIZE macro
/vbox/src/VBox/Devices/Network/lwip/src/core/
H A Dpbuf.c76 static u8_t pbuf_pool_memory[MEM_ALIGNMENT - 1 + PBUF_POOL_SIZE * MEM_ALIGN_SIZE(PBUF_POOL_BUFSIZE + sizeof(struct pbuf))];
113 p->next = (struct pbuf *)((u8_t *)p + PBUF_POOL_BUFSIZE + sizeof(struct pbuf));
114 p->len = p->tot_len = PBUF_POOL_BUFSIZE;
261 p->len = length > PBUF_POOL_BUFSIZE - offset? PBUF_POOL_BUFSIZE - offset: length;
290 q->len = rem_len > PBUF_POOL_BUFSIZE? PBUF_POOL_BUFSIZE: rem_len;
588 p->len = p->tot_len = PBUF_POOL_BUFSIZE;
854 if (p->len <= PBUF_POOL_BUFSIZE) {
/vbox/src/VBox/Devices/Network/lwip/src/netif/
H A Dslipif.c140 p = pbuf_alloc(PBUF_LINK, PBUF_POOL_BUFSIZE, PBUF_POOL);
/vbox/src/VBox/Devices/Network/lwip-new/src/include/lwip/
H A Dmemp_std.h116 LWIP_PBUF_MEMPOOL(PBUF_POOL, PBUF_POOL_SIZE, PBUF_POOL_BUFSIZE, "PBUF_POOL")
H A Dopt.h1114 * PBUF_POOL_BUFSIZE: the size of each pbuf in the pbuf pool. The default is
1118 #ifndef PBUF_POOL_BUFSIZE
1119 #define PBUF_POOL_BUFSIZE LWIP_MEM_ALIGN_SIZE(TCP_MSS+40+PBUF_LINK_HLEN) macro
/vbox/src/VBox/Devices/Network/lwip/src/include/lwip/
H A Dopt.h146 /* PBUF_POOL_BUFSIZE: the size of each pbuf in the pbuf pool. */
148 #ifndef PBUF_POOL_BUFSIZE
149 #define PBUF_POOL_BUFSIZE 128 macro
/vbox/src/VBox/Devices/Network/lwip/vbox/include/
H A Dlwipopts.h30 #define PBUF_POOL_BUFSIZE 1536 macro
/vbox/src/VBox/Devices/Network/lwip-new/src/netif/
H A Dslipif.c255 priv->p = pbuf_alloc(PBUF_LINK, (PBUF_POOL_BUFSIZE - PBUF_LINK_HLEN), PBUF_POOL);
/vbox/src/VBox/Devices/Network/lwip/src/netif/ppp/
H A Dvj.c608 LWIP_ASSERT("vj_uncompress_tcp: cs->cs_hlen <= PBUF_POOL_BUFSIZE", cs->cs_hlen <= PBUF_POOL_BUFSIZE);
H A Dppp.c515 if (nb && (PBUF_POOL_BUFSIZE - nb->len) < 2) {
1586 if (pc->inTail == NULL || pc->inTail->len == PBUF_POOL_BUFSIZE) {
/vbox/src/VBox/Devices/Network/lwip-new/src/netif/ppp/
H A Dvj.c628 LWIP_ASSERT("vj_uncompress_tcp: cs->cs_hlen <= PBUF_POOL_BUFSIZE", cs->cs_hlen <= PBUF_POOL_BUFSIZE);
H A Dppp.c737 if (nb && (PBUF_POOL_BUFSIZE - nb->len) < 2) {
1938 if (pcrx->inTail == NULL || pcrx->inTail->len == PBUF_POOL_BUFSIZE) {
/vbox/src/VBox/Devices/Network/lwip-new/src/core/snmp/
H A Dmib2.c3128 (PBUF_POOL_BUFSIZE - PBUF_LINK_HLEN - IP_HLEN)));

Completed in 309 milliseconds