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

tcp_bind_netif() function

Binds the connection to a netif and IP address. After calling this function, all packets received via this PCB are guaranteed to have come in via the specified netif, and all outgoing packets will go out via the specified netif.

Syntax

void tcp_bind_netif(struct tcp_pcb *pcb,     const struct netif *netif);
Implemented in tcp.c:762

Arguments

pcb

the tcp_pcb to bind.

netif

the netif to bind to. Can be NULL.

References

LocationReferrerText
tcp.c:763
tcp_bind_netif(struct tcp_pcb *pcb, const struct netif *netif)
tcp.h:460
void tcp_bind_netif(struct tcp_pcb *pcb, const struct netif *netif);
api_msg.c:1279lwip_netconn_do_bind_if()
tcp_bind_netif(msg->conn->pcb.tcp, netif);
sockets.c:3439lwip_setsockopt_impl()
tcp_bind_netif(sock->conn->pcb.tcp, n);

Call Tree

Functions calling tcp_bind_netif()
tcp_bind_netif()
Data read by tcp_bind_netif()
Data written by tcp_bind_netif()
tcp_bind_netif()
all items filtered out