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:
parent
298b4aba0c
commit
fe85e9d0fa
@ -496,10 +496,8 @@ int sixlowpan_input(FAR struct radio_driver_s *ieee,
|
|||||||
* Polling of connections
|
* Polling of connections
|
||||||
*
|
*
|
||||||
* These functions will traverse each active network connection structure
|
* These functions will traverse each active network connection structure
|
||||||
* and perform appropriate operations: devif_timer() will perform TCP timer
|
* and perform appropriate operations: devif_poll() will perform TCP
|
||||||
* operations (and UDP polling operations); devif_poll() will perform TCP
|
* and UDP polling operations. devif_poll() may be called asynchronously
|
||||||
* and UDP polling operations. The CAN driver MUST implement logic to
|
|
||||||
* periodically call devif_timer(); devif_poll() may be called asynchronously
|
|
||||||
* from the network driver can accept another outgoing packet.
|
* from the network driver can accept another outgoing packet.
|
||||||
*
|
*
|
||||||
* In both cases, these functions will call the provided callback function
|
* In both cases, these functions will call the provided callback function
|
||||||
|
@ -68,11 +68,11 @@ struct radiodev_properties_s
|
|||||||
* field of the IOB.
|
* field of the IOB.
|
||||||
*
|
*
|
||||||
* Outgoing frames are generated when the radio network driver calls
|
* Outgoing frames are generated when the radio network driver calls
|
||||||
* the devif_poll(), devif_timer(), sixlowpan_input(), or
|
* the devif_poll(), sixlowpan_input(), or ieee802154_input()
|
||||||
* ieee802154_input() interfaces. In each case, the radio driver must
|
* interfaces. In each case, the radio driver must provide a working
|
||||||
* provide a working buffer in the d_buf pointer. A special form of
|
* buffer in the d_buf pointer. A special form of the packet buffer
|
||||||
* the packet buffer must be used, struct sixlowpan_reassbuf_s. This
|
* must be used, struct sixlowpan_reassbuf_s. This special for
|
||||||
* special for includes appended data for managing reassembly of packets.
|
* includes appended data for managing reassembly of packets.
|
||||||
*
|
*
|
||||||
* - Received frames are provided by radio network driver to the network
|
* - Received frames are provided by radio network driver to the network
|
||||||
* via an IOB parameter in the sixlowpan_input() pr ieee802154_input()
|
* via an IOB parameter in the sixlowpan_input() pr ieee802154_input()
|
||||||
|
@ -215,7 +215,7 @@ int arp_send(in_addr_t ipaddr);
|
|||||||
*
|
*
|
||||||
* Assumptions:
|
* Assumptions:
|
||||||
* This function is called from the MAC device driver indirectly through
|
* 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.
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
@ -45,8 +45,8 @@
|
|||||||
*
|
*
|
||||||
* Assumptions:
|
* Assumptions:
|
||||||
* This function is called from the MAC device driver indirectly through
|
* This function is called from the MAC device driver indirectly through
|
||||||
* devif_poll() and devif_timer() and may be called from the timer
|
* devif_poll() and may be called from the timer interrupt/watchdog
|
||||||
* interrupt/watchdog handler level.
|
* handler level.
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
@ -234,7 +234,7 @@ int ipfwd_forward(FAR struct forward_s *fwd);
|
|||||||
*
|
*
|
||||||
* Assumptions:
|
* Assumptions:
|
||||||
* This function is called from the MAC device driver indirectly through
|
* This function is called from the MAC device driver indirectly through
|
||||||
* devif_poll() and devif_timer().
|
* devif_poll().
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
@ -153,7 +153,7 @@ static void ipfwd_packet_conversion(FAR struct net_driver_s *dev, int proto)
|
|||||||
*
|
*
|
||||||
* Assumptions:
|
* Assumptions:
|
||||||
* This function is called from the MAC device driver indirectly through
|
* This function is called from the MAC device driver indirectly through
|
||||||
* devif_poll() and devif_timer().
|
* devif_poll().
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
@ -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
|
* 3. TCP output resulting from TX or timer polling
|
||||||
*
|
*
|
||||||
* Cases 2 and 3 will be handled here. Logic in ipv6_tcp_input(),
|
* 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
|
* 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
|
* driver. Under those conditions, this function will be called to create
|
||||||
* the IEEE80215.4 frames.
|
* the IEEE80215.4 frames.
|
||||||
|
@ -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
|
* 3. TCP output resulting from TX or timer polling
|
||||||
*
|
*
|
||||||
* Cases 2 and 3 will be handled here. Logic in ipv6_tcp_input(),
|
* 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
|
* 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
|
* driver. Under those conditions, this function will be called to create
|
||||||
* the IEEE80215.4 frames.
|
* the IEEE80215.4 frames.
|
||||||
|
@ -284,8 +284,8 @@ static inline void lo_netmask(FAR struct net_driver_s *dev)
|
|||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Check if the network has any outgoing packets ready to send. This is
|
* 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
|
* a callback from devif_poll(). devif_poll() will be called only during
|
||||||
* called only during normal TX polling.
|
* normal TX polling.
|
||||||
*
|
*
|
||||||
* Input Parameters:
|
* Input Parameters:
|
||||||
* dev - Reference to the NuttX driver state structure
|
* dev - Reference to the NuttX driver state structure
|
||||||
|
@ -273,8 +273,8 @@ static inline void lo_netmask(FAR struct net_driver_s *dev)
|
|||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Check if the network has any outgoing packets ready to send. This is
|
* 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
|
* a callback from devif_poll(). devif_poll() will be called only during
|
||||||
* called only during normal TX polling.
|
* normal TX polling.
|
||||||
*
|
*
|
||||||
* Input Parameters:
|
* Input Parameters:
|
||||||
* dev - Reference to the NuttX driver state structure
|
* dev - Reference to the NuttX driver state structure
|
||||||
|
Loading…
Reference in New Issue
Block a user