Lines Matching refs:payload
83 /** Allocate a pbuf and create a tcphdr at p->payload, used for output
91 * @return pbuf with p->payload being the tcp_hdr
102 tcphdr = (struct tcp_hdr *)p->payload;
191 seg->tcphdr = (struct tcp_hdr *)seg->p->payload;
209 * @param length size of the pbuf's payload.
210 * @param max_length maximum usable size of payload+oversize.
485 TCP_DATA_COPY2(concat_p->payload, (u8_t*)arg + pos, seglen, &concat_chksum, &concat_chksum_swapped);
502 /* reference the non-volatile payload data */
503 concat_p->payload = (u8_t*)arg + pos;
541 TCP_DATA_COPY2((char *)p->payload + optlen, (u8_t*)arg + pos, seglen, &chksum, &chksum_swapped);
560 /* reference the non-volatile payload data */
561 p2->payload = (u8_t*)arg + pos;
632 TCP_DATA_COPY((char *)p->payload + p->len, arg, oversize_used, last_unsent);
859 tcphdr = (struct tcp_hdr *)p->payload;
1115 len = (u16_t)((u8_t *)seg->tcphdr - (u8_t *)seg->p->payload);
1120 seg->p->payload = seg->tcphdr;
1141 /* add payload checksum */
1209 tcphdr = (struct tcp_hdr *)p->payload;
1382 tcphdr = (struct tcp_hdr *)p->payload;
1451 tcphdr = (struct tcp_hdr *)p->payload;
1458 char *d = ((char *)p->payload + TCP_HLEN);
1460 (unsent), seg->p->payload points to the IP header or TCP header.