mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 07:12:54 +08:00
Be consistent... Use Name: consistent in function headers vs Function:
This commit is contained in:
+6
-6
@@ -297,7 +297,7 @@ extern "C"
|
||||
void devif_initialize(void);
|
||||
|
||||
/****************************************************************************
|
||||
* Function: devif_callback_init
|
||||
* Name: devif_callback_init
|
||||
*
|
||||
* Description:
|
||||
* Configure the pre-allocated callback structures into a free list.
|
||||
@@ -310,7 +310,7 @@ void devif_initialize(void);
|
||||
void devif_callback_init(void);
|
||||
|
||||
/****************************************************************************
|
||||
* Function: devif_callback_alloc
|
||||
* Name: devif_callback_alloc
|
||||
*
|
||||
* Description:
|
||||
* Allocate a callback container from the free list.
|
||||
@@ -330,7 +330,7 @@ FAR struct devif_callback_s *
|
||||
FAR struct devif_callback_s **list);
|
||||
|
||||
/****************************************************************************
|
||||
* Function: devif_conn_callback_free
|
||||
* Name: devif_conn_callback_free
|
||||
*
|
||||
* Description:
|
||||
* Return a connection/port callback container to the free list.
|
||||
@@ -352,7 +352,7 @@ void devif_conn_callback_free(FAR struct net_driver_s *dev,
|
||||
FAR struct devif_callback_s **list);
|
||||
|
||||
/****************************************************************************
|
||||
* Function: devif_dev_callback_free
|
||||
* Name: devif_dev_callback_free
|
||||
*
|
||||
* Description:
|
||||
* Return a device callback container to the free list.
|
||||
@@ -375,7 +375,7 @@ void devif_dev_callback_free(FAR struct net_driver_s *dev,
|
||||
FAR struct devif_callback_s *cb);
|
||||
|
||||
/****************************************************************************
|
||||
* Function: devif_conn_event
|
||||
* Name: devif_conn_event
|
||||
*
|
||||
* Description:
|
||||
* Execute a list of callbacks.
|
||||
@@ -401,7 +401,7 @@ uint16_t devif_conn_event(FAR struct net_driver_s *dev, FAR void *pvconn,
|
||||
uint16_t flags, FAR struct devif_callback_s *list);
|
||||
|
||||
/****************************************************************************
|
||||
* Function: devif_dev_event
|
||||
* Name: devif_dev_event
|
||||
*
|
||||
* Description:
|
||||
* Execute a list of callbacks using the device event chain.
|
||||
|
||||
@@ -64,7 +64,7 @@ static FAR struct devif_callback_s *g_cbfreelist = NULL;
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Function: devif_callback_free
|
||||
* Name: devif_callback_free
|
||||
*
|
||||
* Description:
|
||||
* Return a callback container to the free list.
|
||||
@@ -167,7 +167,7 @@ static void devif_callback_free(FAR struct net_driver_s *dev,
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Function: devif_callback_init
|
||||
* Name: devif_callback_init
|
||||
*
|
||||
* Description:
|
||||
* Configure the pre-allocated callback structures into a free list.
|
||||
@@ -189,7 +189,7 @@ void devif_callback_init(void)
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Function: devif_callback_alloc
|
||||
* Name: devif_callback_alloc
|
||||
*
|
||||
* Description:
|
||||
* Allocate a callback container from the free list.
|
||||
@@ -267,7 +267,7 @@ FAR struct devif_callback_s *
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Function: devif_conn_callback_free
|
||||
* Name: devif_conn_callback_free
|
||||
*
|
||||
* Description:
|
||||
* Return a connection/port callback container to the free list.
|
||||
@@ -306,7 +306,7 @@ void devif_conn_callback_free(FAR struct net_driver_s *dev,
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Function: devif_dev_callback_free
|
||||
* Name: devif_dev_callback_free
|
||||
*
|
||||
* Description:
|
||||
* Return a device callback container to the free list.
|
||||
@@ -357,7 +357,7 @@ void devif_dev_callback_free(FAR struct net_driver_s *dev,
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Function: devif_conn_event
|
||||
* Name: devif_conn_event
|
||||
*
|
||||
* Description:
|
||||
* Execute a list of callbacks using the packet event chain.
|
||||
@@ -421,7 +421,7 @@ uint16_t devif_conn_event(FAR struct net_driver_s *dev, void *pvconn,
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Function: devif_dev_event
|
||||
* Name: devif_dev_event
|
||||
*
|
||||
* Description:
|
||||
* Execute a list of callbacks using the device event chain.
|
||||
|
||||
+10
-10
@@ -85,7 +85,7 @@ systime_t g_polltime;
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Function: devif_packet_conversion
|
||||
* Name: devif_packet_conversion
|
||||
*
|
||||
* Description:
|
||||
* Generic output conversion hook. Only needed for IEEE802.15.4 for now
|
||||
@@ -157,7 +157,7 @@ static void devif_packet_conversion(FAR struct net_driver_s *dev,
|
||||
#endif /* CONFIG_NET_6LOWPAN */
|
||||
|
||||
/****************************************************************************
|
||||
* Function: devif_poll_pkt_connections
|
||||
* Name: devif_poll_pkt_connections
|
||||
*
|
||||
* Description:
|
||||
* Poll all packet connections for available packets to send.
|
||||
@@ -197,7 +197,7 @@ static int devif_poll_pkt_connections(FAR struct net_driver_s *dev,
|
||||
#endif /* CONFIG_NET_PKT */
|
||||
|
||||
/****************************************************************************
|
||||
* Function: devif_poll_icmp
|
||||
* Name: devif_poll_icmp
|
||||
*
|
||||
* Description:
|
||||
* Poll all of the connections waiting to send an ICMP ECHO request
|
||||
@@ -223,7 +223,7 @@ static inline int devif_poll_icmp(FAR struct net_driver_s *dev,
|
||||
#endif /* CONFIG_NET_ICMP && CONFIG_NET_ICMP_PING */
|
||||
|
||||
/****************************************************************************
|
||||
* Function: devif_poll_icmpv6
|
||||
* Name: devif_poll_icmpv6
|
||||
*
|
||||
* Description:
|
||||
* Poll all of the connections waiting to send an ICMPv6 ECHO request
|
||||
@@ -249,7 +249,7 @@ static inline int devif_poll_icmpv6(FAR struct net_driver_s *dev,
|
||||
#endif /* CONFIG_NET_ICMPv6_PING || CONFIG_NET_ICMPv6_NEIGHBOR*/
|
||||
|
||||
/****************************************************************************
|
||||
* Function: devif_poll_igmp
|
||||
* Name: devif_poll_igmp
|
||||
*
|
||||
* Description:
|
||||
* Poll all IGMP connections for available packets to send.
|
||||
@@ -279,7 +279,7 @@ static inline int devif_poll_igmp(FAR struct net_driver_s *dev,
|
||||
#endif /* CONFIG_NET_IGMP */
|
||||
|
||||
/****************************************************************************
|
||||
* Function: devif_poll_udp_connections
|
||||
* Name: devif_poll_udp_connections
|
||||
*
|
||||
* Description:
|
||||
* Poll all UDP connections for available packets to send.
|
||||
@@ -319,7 +319,7 @@ static int devif_poll_udp_connections(FAR struct net_driver_s *dev,
|
||||
#endif /* NET_UDP_HAVE_STACK */
|
||||
|
||||
/****************************************************************************
|
||||
* Function: devif_poll_tcp_connections
|
||||
* Name: devif_poll_tcp_connections
|
||||
*
|
||||
* Description:
|
||||
* Poll all UDP connections for available packets to send.
|
||||
@@ -361,7 +361,7 @@ static inline int devif_poll_tcp_connections(FAR struct net_driver_s *dev,
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Function: devif_poll_tcp_timer
|
||||
* Name: devif_poll_tcp_timer
|
||||
*
|
||||
* Description:
|
||||
* The TCP timer has expired. Update TCP timing state in each active,
|
||||
@@ -409,7 +409,7 @@ static inline int devif_poll_tcp_timer(FAR struct net_driver_s *dev,
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Function: devif_poll
|
||||
* Name: devif_poll
|
||||
*
|
||||
* Description:
|
||||
* This function will traverse each active network connection structure and
|
||||
@@ -513,7 +513,7 @@ int devif_poll(FAR struct net_driver_s *dev, devif_poll_callback_t callback)
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Function: devif_timer
|
||||
* Name: devif_timer
|
||||
*
|
||||
* Description:
|
||||
* These function will traverse each active network connection structure and
|
||||
|
||||
@@ -140,7 +140,7 @@ static uint8_t g_reassembly_flags;
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Function: devif_reassembly
|
||||
* Name: devif_reassembly
|
||||
*
|
||||
* Description:
|
||||
* IP fragment reassembly: not well-tested.
|
||||
@@ -302,7 +302,7 @@ nullreturn:
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Function: ipv4_input
|
||||
* Name: ipv4_input
|
||||
*
|
||||
* Description:
|
||||
*
|
||||
|
||||
@@ -114,7 +114,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Function: ipv6_input
|
||||
* Name: ipv6_input
|
||||
*
|
||||
* Description:
|
||||
*
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Function: net_setipid
|
||||
* Name: net_setipid
|
||||
*
|
||||
* Description:
|
||||
* This function may be used at boot time to set the initial ip_id.
|
||||
|
||||
Reference in New Issue
Block a user