Home
last modified time | relevance | path

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

/lk-master/external/lib/lwip/core/ipv4/
A Dicmp.c93 if (pbuf_header(p, -hlen) || (p->tot_len < sizeof(u16_t)*2)) { in icmp_input()
145 if (pbuf_header(p, (PBUF_IP_HLEN + PBUF_LINK_HLEN))) { in icmp_input()
151 if (pbuf_header(p, hlen)) { in icmp_input()
170 if (pbuf_header(r, -hlen)) { in icmp_input()
180 if (pbuf_header(p, -(s16_t)(PBUF_IP_HLEN + PBUF_LINK_HLEN))) { in icmp_input()
217 if(pbuf_header(p, hlen)) { in icmp_input()
A Dip_frag.c591 pbuf_header(r, -IP_HLEN); in ip_reass()
746 if(pbuf_header(rambuf, IP_HLEN)) { in ip_frag()
A Dip.c685 if (pbuf_header(p, optlen_aligned)) {
704 if (pbuf_header(p, IP_HLEN)) {
A Digmp.c400 if (pbuf_header(p, -(s16_t)(IPH_HL(iphdr) * 4)) || (p->len < IGMP_MINLEN)) { in igmp_input()
/lk-master/external/lib/lwip/netif/
A Dethernetif.c131 pbuf_header(p, -ETH_PAD_SIZE); /* drop the padding word */
144 pbuf_header(p, ETH_PAD_SIZE); /* reclaim the padding word */
181 pbuf_header(p, -ETH_PAD_SIZE); /* drop the padding word */
200 pbuf_header(p, ETH_PAD_SIZE); /* reclaim the padding word */
A Detharp.c890 if (pbuf_header(q, sizeof(struct eth_hdr)) != 0) {
1358 if(pbuf_header(p, -ip_hdr_offset)) {
/lk-master/platform/armemu/
A Dnet.c123 pbuf_header(p, -ETH_PAD_SIZE); /* drop the padding word */ in low_level_output()
146 pbuf_header(p, ETH_PAD_SIZE); /* reclaim the padding word */ in low_level_output()
192 pbuf_header(p, -ETH_PAD_SIZE); /* drop the padding word */ in low_level_input()
209 pbuf_header(p, ETH_PAD_SIZE); /* reclaim the padding word */ in low_level_input()
286 pbuf_header(p, -sizeof(struct eth_hdr)); in ethernetif_input()
/lk-master/external/lib/lwip/core/
A Dudp.c169 if (p->tot_len < (IPH_HL(iphdr) * 4 + UDP_HLEN) || pbuf_header(p, -(s16_t)(IPH_HL(iphdr) * 4))) {
342 if(pbuf_header(p, -UDP_HLEN)) {
378 pbuf_header(p, (s16_t)((IPH_HL(iphdr) * 4) + UDP_HLEN));
386 pbuf_header(q, -(s16_t)((IPH_HL(iphdr) * 4) + UDP_HLEN));
396 pbuf_header(p, -(s16_t)((IPH_HL(iphdr) * 4) + UDP_HLEN));
418 pbuf_header(p, (IPH_HL(iphdr) * 4) + UDP_HLEN);
588 if (pbuf_header(p, UDP_HLEN)) {
A Draw.c213 if (pbuf_header(p, IP_HLEN)) { in raw_sendto()
230 if(pbuf_header(q, -IP_HLEN)) { in raw_sendto()
A Dtcp_in.c116 if (pbuf_header(p, -((s16_t)(IPH_HL(iphdr) * 4))) || (p->tot_len < sizeof(struct tcp_hdr))) { in tcp_input()
148 if(pbuf_header(p, -(hdrlen * 4))){ in tcp_input()
1188 if(pbuf_header(p, (s16_t)-off)) { in tcp_receive()
1193 if(pbuf_header(inseg.p, (s16_t)-off)) { in tcp_receive()
A Dpbuf.c511 pbuf_header(struct pbuf *p, s16_t header_size_increment) in pbuf_header() function
A Dtcp_out.c185 if (pbuf_header(p, TCP_HLEN)) { in tcp_create_segment()
/lk-master/external/lib/lwip/netif/ppp/
A Dvj.c378 if(pbuf_header(pb, -hlen)){ in vj_compress_tcp()
387 if(pbuf_header(pb, -hlen)) { in vj_compress_tcp()
589 if(pbuf_header(n0, -((s16_t)(vjlen)))) { in vj_uncompress_tcp()
605 if(pbuf_header(np, -cs->cs_hlen)) { in vj_uncompress_tcp()
625 if(pbuf_header(n0, cs->cs_hlen)) { in vj_uncompress_tcp()
A Dppp.c783 pbuf_header(pb, -(s16_t)PPPOE_HDRLEN); in pppifOutputOverEthernet()
1048 pbuf_header(pb, -(s16_t)PPPOE_HDRLEN); in pppWriteOverEthernet()
1612 if(pbuf_header(nb, -(int)sizeof(struct pppInputHeader))) { in pppInput()
1702 if (pbuf_header(nb, sizeof(protocol))) { in pppInput()
1993 if (pbuf_header(pb, sizeof(*pih) - sizeof(inProtocol)) != 0) { in pppInProcOverEthernet()
A Dppp_oe.c573 if (pbuf_header(pb, -(int)sizeof(struct eth_hdr)) != 0) { in pppoe_data_input()
613 if (pbuf_header(pb, -(int)(PPPOE_HEADERLEN)) != 0) { in pppoe_data_input()
1068 if (pbuf_header(pb, sizeof(struct eth_hdr) + PPPOE_HEADERLEN) != 0) { in pppoe_xmit()
/lk-master/external/lib/lwip/core/ipv6/
A Dip6.c219 if(pbuf_header(p, -IP_HLEN)) { in ip_input()
269 if (pbuf_header(p, IP_HLEN)) { in ip_output_if()
/lk-master/external/lib/lwip/include/lwip/
A Dpbuf.h153 u8_t pbuf_header(struct pbuf *p, s16_t header_size);

Completed in 51 milliseconds