| /lib/liblwip/src/core/ipv4/ |
| D | icmp.c | 93 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()
|
| D | ip_frag.c | 591 pbuf_header(r, -IP_HLEN); in ip_reass() 746 if(pbuf_header(rambuf, IP_HLEN)) { in ip_frag()
|
| D | ip.c | 685 if (pbuf_header(p, optlen_aligned)) { 704 if (pbuf_header(p, IP_HLEN)) {
|
| D | igmp.c | 400 if (pbuf_header(p, -(s16_t)(IPH_HL(iphdr) * 4)) || (p->len < IGMP_MINLEN)) { in igmp_input()
|
| /lib/liblwip/src/netif/ |
| D | ethernetif.c | 131 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 */
|
| D | etharp.c | 890 if (pbuf_header(q, sizeof(struct eth_hdr)) != 0) { 1358 if(pbuf_header(p, -ip_hdr_offset)) {
|
| /lib/liblwip/test/unit/tcp/ |
| D | tcp_helper.c | 73 pbuf_header(p, -(s16_t)sizeof(struct ip_hdr)); in tcp_create_segment_wnd() 86 pbuf_header(p, -(s16_t)sizeof(struct tcp_hdr)); in tcp_create_segment_wnd() 90 pbuf_header(p, sizeof(struct tcp_hdr)); in tcp_create_segment_wnd() 98 pbuf_header(p, sizeof(struct ip_hdr)); in tcp_create_segment_wnd()
|
| /lib/liblwip/src/core/ |
| D | udp.c | 169 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)) {
|
| D | raw.c | 213 if (pbuf_header(p, IP_HLEN)) { in raw_sendto() 230 if(pbuf_header(q, -IP_HLEN)) { in raw_sendto()
|
| D | tcp_in.c | 116 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()
|
| D | pbuf.c | 511 pbuf_header(struct pbuf *p, s16_t header_size_increment) in pbuf_header() function
|
| D | tcp_out.c | 185 if (pbuf_header(p, TCP_HLEN)) { in tcp_create_segment()
|
| /lib/liblwip/src/netif/ppp/ |
| D | vj.c | 378 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()
|
| D | ppp.c | 783 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()
|
| D | ppp_oe.c | 573 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()
|
| /lib/liblwip/src/core/ipv6/ |
| D | ip6.c | 219 if(pbuf_header(p, -IP_HLEN)) { in ip_input() 269 if (pbuf_header(p, IP_HLEN)) { in ip_output_if()
|
| /lib/liblwip/src/include/lwip/ |
| D | pbuf.h | 153 u8_t pbuf_header(struct pbuf *p, s16_t header_size);
|
| /lib/liblwip/ |
| D | CHANGELOG | 2577 * Fix all uses of pbuf_header to check the return value. In some 2596 * udp.c: Only try and use pbuf_header() to make space for headers if 2686 outside the region of the pbuf by pbuf_header()
|