tcp_seg::p is only used within LwIP.
 
Symbols
loading...
Files
loading...

tcp_seg::p field

Syntax

struct pbuf *p;

References

LocationReferrerText
tcp_priv.h:255
struct pbuf *p; /* buffer containing data + TCP header */
tcp.c:1626tcp_seg_free()
if (seg->p != NULL) {
tcp.c:1627tcp_seg_free()
tcp_in.c:410tcp_input()
inseg.p = p;
tcp_in.c:568tcp_input()
if (inseg.p != NULL) {
tcp_in.c:569tcp_input()
tcp_in.c:570tcp_input()
inseg.p = NULL;
tcp_in.c:1108tcp_free_acked_segments()
clen = pbuf_clen(next->p);
tcp_in.c:1425tcp_receive()
struct pbuf *p = inseg.p;
tcp_in.c:1428tcp_receive()
LWIP_ASSERT("inseg.p != NULL", inseg.p);
tcp_in.c:1431tcp_receive()
LWIP_ASSERT("pbuf too short!", (((s32_t)inseg.p->tot_len) >= off));
tcp_in.c:1433tcp_receive()
new_tot_len = (u16_t)(inseg.p->tot_len - off);
tcp_in.c:1481tcp_receive()
tcp_in.c:1557tcp_receive()
if (inseg.p->tot_len > 0) {
tcp_in.c:1558tcp_receive()
tcp_in.c:1562tcp_receive()
inseg.p = NULL;
tcp_out.c:175tcp_create_segment()
seg->p = p;
tcp_out.c:196tcp_create_segment()
seg->tcphdr = (struct tcp_hdr *)seg->p->payload;
tcp_out.c:558tcp_write()
for (p = last_unsent->p; p->next != NULL; p = p->next);
tcp_out.c:714tcp_write()
for (p = last_unsent->p; p; p = p->next) {
tcp_out.c:738tcp_write()
pbuf_cat(last_unsent->p, concat_p);
tcp_out.c:743tcp_write()
last_unsent != NULL && last_unsent->p != NULL);
tcp_out.c:744tcp_write()
for (p = last_unsent->p; p->next != NULL; p = p->next) {
tcp_out.c:885tcp_split_unsent_seg()
offset = useg->p->tot_len - useg->len + split;
tcp_out.c:887tcp_split_unsent_seg()
if (pbuf_copy_partial(useg->p, (u8_t *)p->payload + optlen, remainder, offset ) != remainder) {
tcp_out.c:928tcp_split_unsent_seg()
pcb->snd_queuelen -= pbuf_clen(useg->p);
tcp_out.c:932tcp_split_unsent_seg()
pbuf_realloc(useg->p, useg->p->tot_len - remainder);
tcp_out.c:941tcp_split_unsent_seg()
pcb->snd_queuelen += pbuf_clen(useg->p);
tcp_out.c:966tcp_split_unsent_seg()
tcp_out.c:1122tcp_enqueue_flags()
tcp_out.c:1439tcp_output_segment_busy()
if (seg->p->ref != 1) {
tcp_out.c:1548tcp_output_segment()
len = (u16_t)((u8_t *)seg->tcphdr - (u8_t *)seg->p->payload);
tcp_out.c:1554tcp_output_segment()
seg->p->len -= len;
tcp_out.c:1555tcp_output_segment()
seg->p->tot_len -= len;
tcp_out.c:1557tcp_output_segment()
tcp_out.c:1607tcp_output_segment()
tcp_out.c:2173tcp_zero_window_probe()
pbuf_copy_partial(seg->p, d, 1, seg->p->tot_len - seg->len);

Data Use