Home
last modified time | relevance | path

Searched refs:pbuf_add_header (Results 1 - 17 of 17) sorted by relevance

/third_party/lwip/src/netif/
H A Dethernet.c283 if (pbuf_add_header(p, SIZEOF_ETH_HDR + SIZEOF_VLAN_HDR) != 0) {
294 if (pbuf_add_header(p, SIZEOF_ETH_HDR) != 0) {
/third_party/lwip/src/core/ipv4/
H A Dicmp.c157 if (pbuf_add_header(p, hlen + PBUF_LINK_HLEN + PBUF_LINK_ENCAPSULATION_HLEN)) { in icmp_input()
208 if (pbuf_add_header(p, hlen)) { in icmp_input()
H A Dip4.c917 if (pbuf_add_header(p, optlen_aligned)) {
936 if (pbuf_add_header(p, IP_HLEN)) {
H A Dip4_frag.c807 if (pbuf_add_header(rambuf, IP_HLEN)) { in ip4_frag()
/third_party/lwip/src/netif/ppp/
H A Dmppe.c218 pbuf_add_header(np, MPPE_OVHD + sizeof(protocol)); in mppe_compress()
260 pbuf_add_header(np, MPPE_OVHD); in mppe_compress()
H A Dpppoe.c725 if (pbuf_add_header(pb, sizeof(struct eth_hdr)) != 0) { in pppoe_output()
1044 if (pbuf_add_header(pb, sizeof(struct eth_hdr))) { in pppoe_send_padt()
1143 if (pbuf_add_header(pb, PPPOE_HEADERLEN) != 0) { in pppoe_xmit()
H A Dvj.c661 if (pbuf_add_header(n0, cs->cs_hlen)) { in vj_uncompress_tcp()
H A Dppp.c967 if (pbuf_add_header(pb, sizeof(protocol))) { in ppp_input()
968 PPPDEBUG(LOG_WARNING, ("ppp_input[%d]: Dropping (pbuf_add_header failed)\n", pcb->netif->num)); in ppp_input()
H A Dpppol2tp.c1132 if (pbuf_add_header(pb, PPPOL2TP_OUTPUT_DATA_HEADER_LEN) != 0) { in pppol2tp_xmit()
/third_party/lwip/test/unit/udp/
H A Dtest_udp.c191 ret = pbuf_add_header(p, sizeof(struct udp_hdr)); in test_udp_create_test_packet()
198 ret = pbuf_add_header(p, sizeof(struct ip_hdr)); in test_udp_create_test_packet()
/third_party/lwip/src/include/lwip/
H A Dpbuf.h288 u8_t pbuf_add_header(struct pbuf *p, size_t header_size_increment);
/third_party/lwip/src/core/
H A Draw.c487 if (pbuf_add_header(p, header_size)) { in raw_sendto_if_src()
H A Dpbuf.c463 * @see pbuf_add_header.
502 ("pbuf_add_header: failed as %p < %p (not enough space for new header size)\n", in pbuf_add_header_impl()
518 LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_TRACE, ("pbuf_add_header: old %p new %p (%"U16_F")\n", in pbuf_add_header_impl()
551 pbuf_add_header(struct pbuf *p, size_t header_size_increment) in pbuf_add_header() function
557 * Same as @ref pbuf_add_header but does not check if 'header_size > 0' is allowed.
H A Dudp.c806 if (pbuf_add_header(p, UDP_HLEN)) {
H A Dtcp_out.c202 if (pbuf_add_header(p, TCP_HLEN)) { in tcp_create_segment()
/third_party/lwip/src/core/ipv6/
H A Dip6.c1260 if (pbuf_add_header(p, IP6_HLEN)) {
1487 if (pbuf_add_header(p, sizeof(struct ip6_hbh_hdr) + hlen)) {
H A Dip6_frag.c783 if (pbuf_add_header(rambuf, IP6_HLEN)) { in ip6_frag()

Completed in 20 milliseconds