net: Remove devif_timer from comment

since devif_timer has been removed in:
commit 035d925864
Author: zhanghongyu <zhanghongyu@xiaomi.com>
Date:   Sun May 29 21:47:28 2022 +0800

    devif: remove all devif_timer

    Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-06-05 23:34:03 +08:00 committed by Petro Karashchenko
parent 298b4aba0c
commit fe85e9d0fa
10 changed files with 18 additions and 20 deletions

View File

@ -496,10 +496,8 @@ int sixlowpan_input(FAR struct radio_driver_s *ieee,
* Polling of connections
*
* These functions will traverse each active network connection structure
* and perform appropriate operations: devif_timer() will perform TCP timer
* operations (and UDP polling operations); devif_poll() will perform TCP
* and UDP polling operations. The CAN driver MUST implement logic to
* periodically call devif_timer(); devif_poll() may be called asynchronously
* and perform appropriate operations: devif_poll() will perform TCP
* and UDP polling operations. devif_poll() may be called asynchronously
* from the network driver can accept another outgoing packet.
*
* In both cases, these functions will call the provided callback function

View File

@ -68,11 +68,11 @@ struct radiodev_properties_s
* field of the IOB.
*
* Outgoing frames are generated when the radio network driver calls
* the devif_poll(), devif_timer(), sixlowpan_input(), or
* ieee802154_input() interfaces. In each case, the radio driver must
* provide a working buffer in the d_buf pointer. A special form of
* the packet buffer must be used, struct sixlowpan_reassbuf_s. This
* special for includes appended data for managing reassembly of packets.
* the devif_poll(), sixlowpan_input(), or ieee802154_input()
* interfaces. In each case, the radio driver must provide a working
* buffer in the d_buf pointer. A special form of the packet buffer
* must be used, struct sixlowpan_reassbuf_s. This special for
* includes appended data for managing reassembly of packets.
*
* - Received frames are provided by radio network driver to the network
* via an IOB parameter in the sixlowpan_input() pr ieee802154_input()

View File

@ -215,7 +215,7 @@ int arp_send(in_addr_t ipaddr);
*
* Assumptions:
* This function is called from the MAC device driver indirectly through
* devif_poll() and devif_timer(). The network must be locked.
* devif_poll(). The network must be locked.
*
****************************************************************************/

View File

@ -45,8 +45,8 @@
*
* Assumptions:
* This function is called from the MAC device driver indirectly through
* devif_poll() and devif_timer() and may be called from the timer
* interrupt/watchdog handler level.
* devif_poll() and may be called from the timer interrupt/watchdog
* handler level.
*
****************************************************************************/

View File

@ -234,7 +234,7 @@ int ipfwd_forward(FAR struct forward_s *fwd);
*
* Assumptions:
* This function is called from the MAC device driver indirectly through
* devif_poll() and devif_timer().
* devif_poll().
*
****************************************************************************/

View File

@ -153,7 +153,7 @@ static void ipfwd_packet_conversion(FAR struct net_driver_s *dev, int proto)
*
* Assumptions:
* This function is called from the MAC device driver indirectly through
* devif_poll() and devif_timer().
* devif_poll().
*
****************************************************************************/

View File

@ -106,7 +106,7 @@ ssize_t psock_6lowpan_tcp_send(FAR struct socket *psock, FAR const void *buf,
* 3. TCP output resulting from TX or timer polling
*
* Cases 2 and 3 will be handled here. Logic in ipv6_tcp_input(),
* devif_poll(), and devif_timer() detect if (1) an attempt to return with
* and devif_poll() detect if (1) an attempt to return with
* d_len > 0 and (2) that the device is an IEEE802.15.4 MAC network
* driver. Under those conditions, this function will be called to create
* the IEEE80215.4 frames.

View File

@ -823,7 +823,7 @@ ssize_t psock_6lowpan_tcp_send(FAR struct socket *psock, FAR const void *buf,
* 3. TCP output resulting from TX or timer polling
*
* Cases 2 and 3 will be handled here. Logic in ipv6_tcp_input(),
* devif_poll(), and devif_timer() detect if (1) an attempt to return with
* and devif_poll() detect if (1) an attempt to return with
* d_len > 0 and (2) that the device is an IEEE802.15.4 MAC network
* driver. Under those conditions, this function will be called to create
* the IEEE80215.4 frames.

View File

@ -284,8 +284,8 @@ static inline void lo_netmask(FAR struct net_driver_s *dev)
*
* Description:
* Check if the network has any outgoing packets ready to send. This is
* a callback from devif_poll() or devif_timer(). devif_poll() will be
* called only during normal TX polling.
* a callback from devif_poll(). devif_poll() will be called only during
* normal TX polling.
*
* Input Parameters:
* dev - Reference to the NuttX driver state structure

View File

@ -273,8 +273,8 @@ static inline void lo_netmask(FAR struct net_driver_s *dev)
*
* Description:
* Check if the network has any outgoing packets ready to send. This is
* a callback from devif_poll() or devif_timer(). devif_poll() will be
* called only during normal TX polling.
* a callback from devif_poll(). devif_poll() will be called only during
* normal TX polling.
*
* Input Parameters:
* dev - Reference to the NuttX driver state structure