Home
last modified time | relevance | path

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

/external/syslinux/core/lwip/src/core/ipv4/
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()
213 if(pbuf_header(p, hlen)) { in icmp_input()
Dip.c616 if (pbuf_header(p, optlen_aligned)) {
635 if (pbuf_header(p, IP_HLEN)) {
Dip_frag.c591 pbuf_header(r, -IP_HLEN); in ip_reass()
746 if(pbuf_header(rambuf, IP_HLEN)) { in ip_frag()
Digmp.c401 if (pbuf_header(p, -(s16_t)(IPH_HL(iphdr) * 4)) || (p->len < IGMP_MINLEN)) { in igmp_input()
/external/syslinux/core/lwip/src/netif/
Dethernetif.c132 pbuf_header(p, -ETH_PAD_SIZE); /* drop the padding word */
145 pbuf_header(p, ETH_PAD_SIZE); /* reclaim the padding word */
182 pbuf_header(p, -ETH_PAD_SIZE); /* drop the padding word */
201 pbuf_header(p, ETH_PAD_SIZE); /* reclaim the padding word */
Detharp.c842 if (pbuf_header(q, sizeof(struct eth_hdr)) != 0) {
1277 if(pbuf_header(p, -ip_hdr_offset)) {
Dundiif.c1511 if (pbuf_header(p, -(s16_t)llhdr_len)) { in undiif_input()
/external/syslinux/core/lwip/src/core/
Dudp.c102 if (p->tot_len < (IPH_HL(iphdr) * 4 + UDP_HLEN) || pbuf_header(p, -(s16_t)(IPH_HL(iphdr) * 4))) {
269 if(pbuf_header(p, -UDP_HLEN)) {
305 pbuf_header(p, (s16_t)((IPH_HL(iphdr) * 4) + UDP_HLEN));
313 pbuf_header(q, -(s16_t)((IPH_HL(iphdr) * 4) + UDP_HLEN));
323 pbuf_header(p, -(s16_t)((IPH_HL(iphdr) * 4) + UDP_HLEN));
345 pbuf_header(p, (IPH_HL(iphdr) * 4) + UDP_HLEN);
515 if (pbuf_header(p, UDP_HLEN)) {
Draw.c213 if (pbuf_header(p, IP_HLEN)) { in raw_sendto()
230 if(pbuf_header(q, -IP_HLEN)) { in raw_sendto()
Dtcp_in.c116 if (pbuf_header(p, -((s16_t)(IPH_HL(iphdr) * 4))) || (p->tot_len < sizeof(struct tcp_hdr))) { in tcp_input()
157 if(pbuf_header(p, -(hdrlen * 4))){ in tcp_input()
1159 if(pbuf_header(p, (s16_t)-off)) { in tcp_receive()
1164 if(pbuf_header(inseg.p, (s16_t)-off)) { in tcp_receive()
Dpbuf.c488 pbuf_header(struct pbuf *p, s16_t header_size_increment) in pbuf_header() function
Dtcp_out.c182 if (pbuf_header(p, TCP_HLEN)) { in tcp_create_segment()
/external/syslinux/core/lwip/src/netif/ppp/
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()
Dppp.c771 pbuf_header(pb, -(s16_t)PPPOE_HDRLEN); in pppifOutputOverEthernet()
1036 pbuf_header(pb, -(s16_t)PPPOE_HDRLEN); in pppWriteOverEthernet()
1600 if(pbuf_header(nb, -(int)sizeof(struct pppInputHeader))) { in pppInput()
1690 if (pbuf_header(nb, sizeof(protocol))) { in pppInput()
1968 if (pbuf_header(pb, sizeof(*pih) - sizeof(inProtocol)) != 0) { in pppInProcOverEthernet()
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()
/external/syslinux/core/lwip/src/include/lwip/
Dpbuf.h129 u8_t pbuf_header(struct pbuf *p, s16_t header_size);
/external/syslinux/core/lwip/
DCHANGELOG2278 * Fix all uses of pbuf_header to check the return value. In some
2297 * udp.c: Only try and use pbuf_header() to make space for headers if
2387 outside the region of the pbuf by pbuf_header()