Home
last modified time | relevance | path

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

/AliOS-Things-master/components/lwip/lwip2.0.0/netif/
A Dethernetif.c145 pbuf_header(p, -ETH_PAD_SIZE); /* drop the padding word */
168 pbuf_header(p, ETH_PAD_SIZE); /* reclaim the padding word */
205 pbuf_header(p, -ETH_PAD_SIZE); /* drop the padding word */
232 pbuf_header(p, ETH_PAD_SIZE); /* reclaim the padding word */
A Dethernet.c168 if ((p->len < ip_hdr_offset) || pbuf_header(p, (s16_t)-ip_hdr_offset)) {
185 if ((p->len < ip_hdr_offset) || pbuf_header(p, (s16_t)-ip_hdr_offset)) {
212 if ((p->len < ip_hdr_offset) || pbuf_header(p, (s16_t)-ip_hdr_offset)) {
274 if (pbuf_header(p, SIZEOF_ETH_HDR + SIZEOF_VLAN_HDR) != 0) {
285 if (pbuf_header(p, SIZEOF_ETH_HDR) != 0) {
A Dlowpan6.c412 pbuf_header(p, -IP6_HLEN); in lowpan6_frag()
451 pbuf_header(p, -UDP_HLEN); in lowpan6_frag()
962 pbuf_header(p, -lowpan6_offset); in lowpan6_decompress()
1020 pbuf_header(p, -datagram_offset); /* hide IEEE802.15.4 header. */ in lowpan6_input()
1057 pbuf_header(p, -4); /* hide frag1 dispatch */ in lowpan6_input()
1083 pbuf_header(p, -5); /* hide frag1 dispatch */ in lowpan6_input()
1140 pbuf_header(p, -1); /* hide dispatch byte. */ in lowpan6_input()
/AliOS-Things-master/components/lwip/lwip2.0.0/netif/ppp/
A Dmppe.c210 pbuf_header(np, -(s16_t)(MPPE_OVHD + sizeof(protocol))); in mppe_compress()
218 pbuf_header(np, (s16_t)(MPPE_OVHD + sizeof(protocol))); in mppe_compress()
249 pbuf_header(np, -(s16_t)MPPE_OVHD); in mppe_compress()
260 pbuf_header(np, (s16_t)MPPE_OVHD); in mppe_compress()
385 pbuf_header(n0, -(s16_t)(MPPE_OVHD)); in mppe_decompress()
A Dvj.c415 if (pbuf_header(np, -(s16_t)hlen)){ in vj_compress_tcp()
424 if (pbuf_header(np, -(s16_t)hlen)) { in vj_compress_tcp()
626 if (pbuf_header(n0, -(s16_t)vjlen)) { in vj_uncompress_tcp()
650 if (pbuf_header(np, -(s16_t)cs->cs_hlen)) { in vj_uncompress_tcp()
670 if (pbuf_header(n0, (s16_t)cs->cs_hlen)) { in vj_uncompress_tcp()
A Dpppoe.c213 pbuf_header(p, -(s16_t)2); in pppoe_write()
224 pbuf_header(ph, -(s16_t)PPPOE_HEADERLEN); /* hide PPPoE header */ in pppoe_write()
264 pbuf_header(pb, -(s16_t)PPPOE_HEADERLEN); in pppoe_netif_output()
662 if (pbuf_header(pb, -(s16_t)sizeof(struct eth_hdr)) != 0) { in pppoe_data_input()
695 if (pbuf_header(pb, -(s16_t)(PPPOE_HEADERLEN)) != 0) { in pppoe_data_input()
726 if (pbuf_header(pb, (s16_t)(sizeof(struct eth_hdr))) != 0) { in pppoe_output()
1043 pbuf_header(pb, (s16_t)sizeof(struct eth_hdr)); in pppoe_send_padt()
1137 if (pbuf_header(pb, (s16_t)(PPPOE_HEADERLEN)) != 0) { in pppoe_xmit()
A Dpppol2tp.c180 pbuf_header(ph, -(s16_t)PPPOL2TP_OUTPUT_DATA_HEADER_LEN); /* hide L2TP header */ in pppol2tp_write()
220 pbuf_header(pb, -(s16_t)PPPOL2TP_OUTPUT_DATA_HEADER_LEN); in pppol2tp_netif_output()
434 if (pbuf_header(p, -(s16_t)hlen) != 0) { in pppol2tp_input()
469 pbuf_header(p, -(s16_t)2); in pppol2tp_input()
654 …if (pbuf_header(p, -(s16_t)(avplen + sizeof(avpflags) + sizeof(vendorid) + sizeof(attributetype)) … in pppol2tp_dispatch_control_packet()
1101 if (pbuf_header(pb, (s16_t)PPPOL2TP_OUTPUT_DATA_HEADER_LEN) != 0) { in pppol2tp_xmit()
A Dppp.c786 pbuf_header(pb, -(s16_t)sizeof(protocol)); in ppp_input()
862 pbuf_header(pb, -(s16_t)1); in ppp_input()
865 pbuf_header(pb, -(s16_t)2); in ppp_input()
959 pbuf_header(pb, (s16_t)sizeof(protocol)); in ppp_input()
A Dpppos.c544 pbuf_header(inp, -(s16_t)(PBUF_LINK_ENCAPSULATION_HLEN + PBUF_LINK_HLEN)); in pppos_input()
701 if(pbuf_header(pb, -(s16_t)sizeof(struct pppos_input_header))) { in pppos_input_callback()
/AliOS-Things-master/components/lwip/lwip2.0.0/core/ipv6/
A Dip6.c578 pbuf_header(p, -IP6_HLEN); in ip6_input()
605 pbuf_header(p, -(s16_t)hlen); in ip6_input()
628 pbuf_header(p, -(s16_t)hlen); in ip6_input()
651 pbuf_header(p, -(s16_t)hlen); in ip6_input()
685 pbuf_header(p, -(s16_t)hlen); in ip6_input()
701 pbuf_header(p, -IP6_HLEN); in ip6_input()
743 pbuf_header(p, -(s16_t)ip_data.current_ip_header_tot_len); in ip6_input()
750 pbuf_header(p, -(s16_t)ip_data.current_ip_header_tot_len); in ip6_input()
757 pbuf_header(p, -(s16_t)ip_data.current_ip_header_tot_len); in ip6_input()
850 if (pbuf_header(p, IP6_HLEN)) { in ip6_output_if_src()
[all …]
A Dip6_frag.c528 pbuf_header(next_pbuf, -IP6_FRAG_HLEN); in ip6_reass()
532 u8_t hdrerr = pbuf_header(next_pbuf, -(s16_t)(IPV6_FRAG_REQROOM)); in ip6_reass()
548 u8_t hdrerr = pbuf_header(ipr->p, -(s16_t)(IPV6_FRAG_REQROOM)); in ip6_reass()
A Dmld6.c539 if (pbuf_header(p, -IP6_HBH_HLEN)) { in mld6_send()
/AliOS-Things-master/components/lwip/lwip2.0.0/core/ipv4/
A Dicmp.c151 if (pbuf_header(p, (hlen + PBUF_LINK_HLEN + PBUF_LINK_ENCAPSULATION_HLEN))) { in icmp_input()
170 if (pbuf_header(r, -hlen)) { in icmp_input()
187 if (pbuf_header(p, -(s16_t)(hlen + PBUF_LINK_HLEN + PBUF_LINK_ENCAPSULATION_HLEN))) { in icmp_input()
197 if (pbuf_header(p, hlen)) { in icmp_input()
A Dip4.c671 pbuf_header(p, -(s16_t)iphdr_hlen); /* Move to payload, no check necessary. */
838 if (pbuf_header(p, optlen_aligned)) {
857 if (pbuf_header(p, IP_HLEN)) {
A Dip4_frag.c601 pbuf_header(r, -IP_HLEN); in ip4_reass()
728 if (pbuf_header(rambuf, IP_HLEN)) { in ip4_frag()
/AliOS-Things-master/components/lwip/lwip2.0.0/core/
A Draw.c301 if (pbuf_header(p, header_size)) { in raw_sendto()
318 if (pbuf_header(q, -header_size)) { in raw_sendto()
A Dudp.c367 if (pbuf_header(p, -UDP_HLEN)) { in udp_input()
404 pbuf_header(q, -hdrs_len); in udp_input()
414 pbuf_header(p, -hdrs_len); in udp_input()
734 if (pbuf_header(p, UDP_HLEN)) { in udp_sendto_if_src_chksum()
A Dtcp_in.c177 pbuf_header(p, -(s16_t)hdrlen_bytes); /* cannot fail */
185 pbuf_header(p, -TCP_HLEN);
193 pbuf_header(p, -(s16_t)tcphdr_opt1len);
208 pbuf_header(p->next, -(s16_t)opt2len);
1367 if (pbuf_header(p, (s16_t)-off)) {
1372 if (pbuf_header(inseg.p, (s16_t)-off)) {
A Dpbuf.c758 pbuf_header(struct pbuf *p, s16_t header_size_increment) in pbuf_header() function
A Dtcp_out.c200 if (pbuf_header(p, TCP_HLEN)) { in tcp_create_segment()
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/lwip/
A Dpbuf.h230 u8_t pbuf_header(struct pbuf *p, s16_t header_size);
/AliOS-Things-master/components/lwip/lwip2.0.0/include/lwip/
A Dpbuf.h262 u8_t pbuf_header(struct pbuf *p, s16_t header_size);
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/tftp/
A Dtftp_client.c133 pbuf_header(p, -TFTP_HEADER_LENGTH); in recv()
A Dtftp_server.c260 pbuf_header(p, -TFTP_HEADER_LENGTH); in recv()
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/httpd/
A Dhttpd.c1780 pbuf_header(q, -(s16_t)start_offset);

Completed in 38 milliseconds