| 95 | } |
| 96 | |
| 97 | err_t tcp_bind_safe(struct tcp_pcb *tcpPCB, const ip_addr_t *ipaddr, u16_t port) |
| 98 | { |
| 99 | LwipMsgRecord msg = { |
| 100 | .tcpPCB = tcpPCB, |
| 101 | .addr = *ipaddr, |
| 102 | .port = port |
| 103 | }; |
| 104 | tcpip_api_call(tcp_bind_INLWIP, &msg.call); |
| 105 | return msg.err; |
| 106 | } |
| 107 | |
| 108 | static err_t tcp_close_INLWIP(struct tcpip_api_call_data *tcpMsg) |
| 109 | { |
no outgoing calls
no test coverage detected