@@ -514,7 +514,7 @@ void ethernetif_notify_conn_changed(struct netif *netif)
514
514
#endif /* LWIP_NETIF_LINK_CALLBACK */
515
515
516
516
/* *
517
- * @brief Notify the User about the nework interface config status
517
+ * @brief Notify the User about the network interface config status
518
518
* @param netif: the network interface
519
519
* @retval None
520
520
*/
@@ -805,7 +805,7 @@ void udp_receive_callback(void *arg, struct udp_pcb *pcb, struct pbuf *p,
805
805
/* *
806
806
* @brief Function called when TCP connection established
807
807
* @param arg: user supplied argument
808
- * @param tpcb: pointer on the connection contol block
808
+ * @param tpcb: pointer on the connection control block
809
809
* @param err: when connection correctly established err should be ERR_OK
810
810
* @retval err_t: returned error
811
811
*/
@@ -865,7 +865,7 @@ err_t tcp_accept_callback(void *arg, struct tcp_pcb *newpcb, err_t err)
865
865
client->data .p = NULL ;
866
866
client->data .available = 0 ;
867
867
868
- /* Looking for an empty soket */
868
+ /* Looking for an empty socket */
869
869
for (uint16_t i = 0 ; i < MAX_CLIENT; i++) {
870
870
if (tcpClient[i] == NULL ) {
871
871
tcpClient[i] = client;
@@ -916,7 +916,7 @@ err_t tcp_accept_callback(void *arg, struct tcp_pcb *newpcb, err_t err)
916
916
* @param arg: argument to be passed to receive callback
917
917
* @param tpcb: tcp connection control block
918
918
* @param err: receive error code
919
- * @retval err_t: retuned error
919
+ * @retval err_t: returned error
920
920
*/
921
921
static err_t tcp_recv_callback (void *arg, struct tcp_pcb *tpcb, struct pbuf *p, err_t err)
922
922
{
0 commit comments