tcp_alloc() is only used within LwIP.
 
Symbols
loading...
Files
loading...

tcp_alloc() function

Allocate a new tcp_pcb structure.

Syntax

struct tcp_pcb * tcp_alloc (u8_t prio);
Implemented in tcp.c:1833

Arguments

prio

priority for the new pcb

Return value

a new tcp_pcb that initially is in state CLOSED

References

LocationReferrerText
tcp.c:1834
tcp_alloc(u8_t prio)
tcp_priv.h:79
struct tcp_pcb * tcp_alloc (u8_t prio);
tcp.c:1947tcp_new()
return tcp_alloc(TCP_PRIO_NORMAL);
tcp.c:1965tcp_new_ip_type()
pcb = tcp_alloc(TCP_PRIO_NORMAL);
tcp_in.c:659tcp_listen_input()
npcb = tcp_alloc(pcb->prio);

Call Tree

Functions calling tcp_alloc()
Functions called by tcp_alloc()
tcp_alloc()
Type of tcp_alloc()
tcp_alloc()
all items filtered out