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

tcp_new_ip_type() function

Creates a new TCP protocol control block but doesn't place it on any of the TCP PCB lists. The pcb is not put on any list until binding using tcp_bind().

Syntax

struct tcp_pcb * tcp_new_ip_type (u8_t type);
Implemented in tcp.c:1961

Arguments

type

IP address type, see lwip_ip_addr_type definitions. If you want to listen to IPv4 and IPv6 (dual-stack) connections, supply IPADDR_TYPE_ANY as argument and bind to IP_ANY_TYPE .

Return value

a new tcp_pcb that initially is in state CLOSED

References

LocationReferrerText
tcp.c:1962
tcp_new_ip_type(u8_t type)
tcp.h:412
struct tcp_pcb * tcp_new_ip_type (u8_t type);
api_msg.c:657pcb_new()
msg->conn->pcb.tcp = tcp_new_ip_type(iptype);
httpd.c:2673httpd_init()

Call Tree

Functions calling tcp_new_ip_type()
Functions called by tcp_new_ip_type()
all items filtered out
tcp_new_ip_type()
all items filtered out
Data read by tcp_new_ip_type()
Data written by tcp_new_ip_type()
tcp_new_ip_type()::pcb
all items filtered out
tcp_new_ip_type()
tcp_new_ip_type()::pcb
all items filtered out
Type of tcp_new_ip_type()
tcp_new_ip_type()
all items filtered out