Home
last modified time | relevance | path

Searched refs:pbuf_header (Results 1 - 11 of 11) sorted by relevance

/third_party/lwip/test/unit/tcp/
H A Dtcp_helper.c80 pbuf_header(p, -(s16_t)sizeof(struct ip_hdr)); in tcp_create_segment_wnd()
93 pbuf_header(p, -(s16_t)sizeof(struct tcp_hdr)); in tcp_create_segment_wnd()
97 pbuf_header(p, sizeof(struct tcp_hdr)); in tcp_create_segment_wnd()
105 pbuf_header(p, sizeof(struct ip_hdr)); in tcp_create_segment_wnd()
264 pbuf_header(p, -(s16_t)sizeof(struct ip_hdr)); in test_tcp_input()
H A Dtest_tcp.c409 pbuf_header(p, -(s16_t)sizeof(struct ip_hdr)); in START_TEST()
421 pbuf_header(p, sizeof(struct ip_hdr)); in START_TEST()
/third_party/FreeBSD/sys/dev/usb/net/
H A Dusb_eth_drv.c147 (void)pbuf_header(p, -ETH_PAD_SIZE); /* drop the padding word */ in eth_drv_recv()
158 (void)pbuf_header(p, ETH_PAD_SIZE); /* reclaim the padding word */ in eth_drv_recv()
H A Dusb_ethernet.c534 pbuf_header(m_new, -ETH_PAD_SIZE); /* drop the padding word */ in uether_newbuf()
604 pbuf_header(m, ETH_PAD_SIZE); /* drop the padding word */ in uether_rxflush()
H A Dif_axge.c494 if (pbuf_header(m, -ETH_PAD_SIZE)) { in axge_rxeof()
495 PRINTK("[AXE_ERROR]axe_rxeof : pbuf_header drop failed\n"); in axge_rxeof()
506 if (pbuf_header(m, ETH_PAD_SIZE)) { in axge_rxeof()
507 PRINTK("[AXE_ERROR]axe_rxeof : pbuf_header drop failed\n"); in axge_rxeof()
H A Dif_axe.c873 if (pbuf_header(m, -ETH_PAD_SIZE)) { in axe_rxeof()
874 PRINTK("[AXE_ERROR]axe_rxeof : pbuf_header drop failed\n"); in axe_rxeof()
885 if (pbuf_header(m, ETH_PAD_SIZE)) { in axe_rxeof()
886 PRINTK("[AXE_ERROR]axe_rxeof : pbuf_header drop failed\n"); in axe_rxeof()
H A Dif_urndis.c810 if (pbuf_header(m, -ETH_PAD_SIZE)) { in urndis_bulk_read()
811 PRINTK("[URNDIS_ERROR]urndis_rxeof : pbuf_header drop failed\n"); in urndis_bulk_read()
822 if (pbuf_header(m, ETH_PAD_SIZE)) { in urndis_bulk_read()
823 PRINTK("[URNDIS_ERROR]urndis_rxeof : pbuf_header drop failed\n"); in urndis_bulk_read()
H A Dif_cdce.c1408 pbuf_header(m, -ETH_PAD_SIZE); /* drop the padding word */ in cdce_ncm_bulk_read_callback()
1414 pbuf_header(m, ETH_PAD_SIZE); /* drop the padding word */ in cdce_ncm_bulk_read_callback()
/third_party/NuttX/drivers/usbdev/gadget/
H A Df_ether.c244 (void)pbuf_header(p, -ETH_PAD_SIZE); /* drop the padding word */ in eth_rx()
250 (void)pbuf_header(p, ETH_PAD_SIZE); /* reclaim the padding word */ in eth_rx()
/third_party/lwip/src/include/lwip/
H A Dpbuf.h118 * This makes @ref pbuf_header work in both directions. */
286 u8_t pbuf_header(struct pbuf *p, s16_t header_size);
/third_party/lwip/src/core/
H A Dpbuf.c646 pbuf_header(struct pbuf *p, s16_t header_size_increment) in pbuf_header() function
652 * Same as pbuf_header but does not check if 'header_size > 0' is allowed.
661 /** Similar to pbuf_header(-size) but de-refs header pbufs for (size >= p->len)
666 * ATTENTION: this is the opposite direction as @ref pbuf_header, but

Completed in 14 milliseconds