mirror of
https://github.com/apache/nuttx.git
synced 2026-10-04 12:48:09 +00:00
NET: Rename uip_dataevent to tcp_data_event
This commit is contained in:
parent
b54d366efd
commit
85f42044df
1 changed files with 4 additions and 4 deletions
|
|
@ -63,7 +63,7 @@
|
|||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Function: uip_dataevent
|
||||
* Function: tcp_data_event
|
||||
*
|
||||
* Description:
|
||||
* Handle data that is not accepted by the application because there is no
|
||||
|
|
@ -77,8 +77,8 @@
|
|||
****************************************************************************/
|
||||
|
||||
static inline uint16_t
|
||||
uip_dataevent(FAR struct net_driver_s *dev, FAR struct tcp_conn_s *conn,
|
||||
uint16_t flags)
|
||||
tcp_data_event(FAR struct net_driver_s *dev, FAR struct tcp_conn_s *conn,
|
||||
uint16_t flags)
|
||||
{
|
||||
uint16_t ret;
|
||||
|
||||
|
|
@ -191,7 +191,7 @@ uint16_t tcp_callback(FAR struct net_driver_s *dev, FAR struct tcp_conn_s *conn,
|
|||
{
|
||||
/* Data was not handled.. dispose of it appropriately */
|
||||
|
||||
flags = uip_dataevent(dev, conn, flags);
|
||||
flags = tcp_data_event(dev, conn, flags);
|
||||
}
|
||||
|
||||
/* Check if there is a connection-related event and a connection
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue