Searched refs:rambuf (Results 1 – 6 of 6) sorted by relevance
/third_party/lwip/src/core/ipv6/ |
D | ip6_frag.c | 745 struct pbuf *rambuf; in ip6_frag() local 774 rambuf = pbuf_alloc(PBUF_IP, cop + IP6_FRAG_HLEN, PBUF_RAM); in ip6_frag() 775 if (rambuf == NULL) { in ip6_frag() 780 (rambuf->len == rambuf->tot_len) && (rambuf->next == NULL)); in ip6_frag() 781 poff += pbuf_copy_partial(p, (u8_t*)rambuf->payload + IP6_FRAG_HLEN, cop, poff); in ip6_frag() 783 if (pbuf_add_header(rambuf, IP6_HLEN)) { in ip6_frag() 784 pbuf_free(rambuf); in ip6_frag() 789 SMEMCPY(rambuf->payload, original_ip6hdr, IP6_HLEN); in ip6_frag() 790 ip6hdr = (struct ip6_hdr *)rambuf->payload; in ip6_frag() 791 frag_hdr = (struct ip6_frag_hdr *)((u8_t*)rambuf->payload + IP6_HLEN); in ip6_frag() [all …]
|
/third_party/lwip/src/core/ipv4/ |
D | ip4_frag.c | 762 struct pbuf *rambuf; in ip4_frag() local 799 rambuf = pbuf_alloc(PBUF_IP, fragsize, PBUF_RAM); in ip4_frag() 800 if (rambuf == NULL) { in ip4_frag() 804 (rambuf->len == rambuf->tot_len) && (rambuf->next == NULL)); in ip4_frag() 805 poff += pbuf_copy_partial(p, rambuf->payload, fragsize, poff); in ip4_frag() 807 if (pbuf_add_header(rambuf, IP_HLEN)) { in ip4_frag() 808 pbuf_free(rambuf); in ip4_frag() 812 SMEMCPY(rambuf->payload, original_iphdr, IP_HLEN); in ip4_frag() 813 iphdr = (struct ip_hdr *)rambuf->payload; in ip4_frag() 820 rambuf = pbuf_alloc(PBUF_LINK, IP_HLEN, PBUF_RAM); in ip4_frag() [all …]
|
/third_party/lwip/ |
D | 0081-ip6-hdr.patch | 155 struct pbuf *rambuf; 169 SMEMCPY(rambuf->payload, original_ip6hdr, IP6_HLEN); 170 - ip6hdr = (struct ip6_hdr *)rambuf->payload; 171 + ip6hdr = (struct ip6hdr *)rambuf->payload; 172 frag_hdr = (struct ip6_frag_hdr *)((u8_t*)rambuf->payload + IP6_HLEN); 177 (rambuf->len >= (IP6_HLEN))); 178 SMEMCPY(rambuf->payload, original_ip6hdr, IP6_HLEN); 179 - ip6hdr = (struct ip6_hdr *)rambuf->payload; 180 + ip6hdr = (struct ip6hdr *)rambuf->payload; 181 frag_hdr = (struct ip6_frag_hdr *)((u8_t*)rambuf->payload + IP6_HLEN);
|
D | 0057-same-node-gazellectl-a.patch | 94 /* Add it to end of rambuf's chain, but using pbuf_cat, not pbuf_chain 95 * so that it is removed when pbuf_dechain is later called on rambuf.
|
D | 0080-enable-ipv6.patch | 162 /* Add it to end of rambuf's chain, but using pbuf_cat, not pbuf_chain 163 * so that it is removed when pbuf_dechain is later called on rambuf.
|
D | 0023-refactor-event-and-checksum-offload-support.patch | 228 /* No need for separate header pbuf - we allowed room for it in rambuf
|