Home
last modified time | relevance | path

Searched refs:pbuf_remove_header (Results 1 – 25 of 27) sorted by relevance

12

/third_party/lwip/src/netif/
Dlowpan6.c279 if (pbuf_remove_header(p, datagram_offset)) { in lowpan6_parse_iee802154_header()
406 pbuf_remove_header(p, hidden_header_len); in lowpan6_frag()
730 pbuf_remove_header(p, 4); /* hide frag1 dispatch */ in lowpan6_input()
746 pbuf_remove_header(p, 1); /* hide dispatch byte. */ in lowpan6_input()
767 pbuf_remove_header(p, 4); /* hide frag1 dispatch but keep datagram offset for reassembly */ in lowpan6_input()
849 pbuf_remove_header(q, 1); in lowpan6_input()
872 pbuf_remove_header(p, 1); /* hide dispatch byte. */ in lowpan6_input()
Dethernet.c178 if (pbuf_remove_header(p, next_hdr_offset)) {
195 if (pbuf_remove_header(p, next_hdr_offset)) {
222 if ((p->len < next_hdr_offset) || pbuf_remove_header(p, next_hdr_offset)) {
Dlowpan6_ble.c263 pbuf_remove_header(p, hidden_header_len); in rfc7668_compress()
360 pbuf_remove_header(p, 1); in rfc7668_input()
Dzepif.c150 if (pbuf_remove_header(p, sizeof(struct zep_hdr))) { in zepif_udp_recv()
Dlowpan6_common.c819 pbuf_remove_header(p, lowpan6_offset); in lowpan6_decompress()
821 pbuf_remove_header(q, ip6_offset); in lowpan6_decompress()
/third_party/lwip/src/netif/ppp/
Dmppe.c210 pbuf_remove_header(np, MPPE_OVHD + sizeof(protocol)); in mppe_compress()
249 pbuf_remove_header(np, MPPE_OVHD); in mppe_compress()
385 pbuf_remove_header(n0, MPPE_OVHD); in mppe_decompress()
Dvj.c410 if (pbuf_remove_header(np, hlen)){ in vj_compress_tcp()
419 if (pbuf_remove_header(np, hlen)) { in vj_compress_tcp()
622 if (pbuf_remove_header(n0, vjlen)) { in vj_uncompress_tcp()
645 if (pbuf_remove_header(np, cs->cs_hlen)) { in vj_uncompress_tcp()
Dpppol2tp.c184 pbuf_remove_header(ph, PPPOL2TP_OUTPUT_DATA_HEADER_LEN); /* hide L2TP header */ in pppol2tp_write()
224 pbuf_remove_header(pb, PPPOL2TP_OUTPUT_DATA_HEADER_LEN); in pppol2tp_netif_output()
437 if (pbuf_remove_header(p, hlen) != 0) { in pppol2tp_input()
472 pbuf_remove_header(p, 2); in pppol2tp_input()
679 …if (pbuf_remove_header(p, avplen + sizeof(avpflags) + sizeof(vendorid) + sizeof(attributetype)) !=… in pppol2tp_dispatch_control_packet()
Dpppoe.c220 pbuf_remove_header(p, 2); in pppoe_write()
231 pbuf_remove_header(ph, PPPOE_HEADERLEN); /* hide PPPoE header */ in pppoe_write()
271 pbuf_remove_header(pb, PPPOE_HEADERLEN); in pppoe_netif_output()
661 if (pbuf_remove_header(pb, sizeof(struct eth_hdr)) != 0) { in pppoe_data_input()
694 if (pbuf_remove_header(pb, PPPOE_HEADERLEN) != 0) { in pppoe_data_input()
Dppp.c794 pbuf_remove_header(pb, sizeof(protocol)); in ppp_input()
870 pbuf_remove_header(pb, 1); in ppp_input()
873 pbuf_remove_header(pb, 2); in ppp_input()
Dpppos.c561 pbuf_remove_header(inp, PBUF_LINK_ENCAPSULATION_HLEN + PBUF_LINK_HLEN); in pppos_input()
721 if(pbuf_remove_header(pb, sizeof(struct pppos_input_header))) { in pppos_input_callback()
/third_party/lwip/src/core/ipv6/
Dip6.c767 pbuf_remove_header(p, IP6_HLEN);
861 pbuf_remove_header(p, hlen);
956 pbuf_remove_header(p, hlen);
1015 pbuf_remove_header(p, hlen);
1059 pbuf_remove_header(p, hlen);
1075 pbuf_remove_header(p, IP6_HLEN);
1119 pbuf_remove_header(p, hlen_tot);
Dip6_frag.c585 pbuf_remove_header(next_pbuf, IP6_FRAG_HLEN); in ip6_reass()
589 u8_t hdrerr = pbuf_remove_header(next_pbuf, IPV6_FRAG_REQROOM); in ip6_reass()
614 hdrerr = pbuf_remove_header(p, IPV6_FRAG_REQROOM); in ip6_reass()
Dmld6.c618 if (pbuf_remove_header(p, MLD6_HBH_HLEN)) {
/third_party/lwip/src/core/ipv4/
Dicmp.c181 if (pbuf_remove_header(r, hlen)) { in icmp_input()
198 if (pbuf_remove_header(p, hlen + PBUF_LINK_HLEN + PBUF_LINK_ENCAPSULATION_HLEN)) { in icmp_input()
Dip4_frag.c666 pbuf_remove_header(r, IP_HLEN); in ip4_reass()
Dip4.c735 pbuf_remove_header(p, iphdr_hlen); /* Move to payload, no check necessary. */
/third_party/lwip/src/include/lwip/
Dpbuf.h290 u8_t pbuf_remove_header(struct pbuf *p, size_t header_size);
/third_party/lwip/src/core/
Dpbuf.c582 pbuf_remove_header(struct pbuf *p, size_t header_size_decrement) in pbuf_remove_header() function
619 return pbuf_remove_header(p, (size_t) - header_size_increment); in pbuf_header_impl()
683 pbuf_remove_header(p, free_left); in pbuf_free_header()
Dtcp_in.c192 pbuf_remove_header(p, hdrlen_bytes); /* cannot fail */
200 pbuf_remove_header(p, TCP_HLEN);
208 pbuf_remove_header(p, tcphdr_opt1len);
223 pbuf_remove_header(p->next, opt2len);
1477 pbuf_remove_header(p, off);
Draw.c504 if (pbuf_remove_header(q, header_size)) { in raw_sendto_if_src()
Dudp.c384 if (pbuf_remove_header(p, UDP_HLEN)) {
/third_party/lwip/src/apps/tftp/
Dtftp_server.c298 pbuf_remove_header(p, TFTP_HEADER_LENGTH); in recv()
/third_party/lwip/src/apps/lwiperf/
Dlwiperf.c528 tmp = pbuf_remove_header(p, 24); in lwiperf_tcp_recv()
/third_party/lwip/src/apps/altcp_tls/
Daltcp_tls_mbedtls.c487 err = pbuf_remove_header(p, ret); in altcp_mbedtls_bio_recv()

12