| 
 
 | 
 | 
| MifsetTimers () | MifsetTimers | 
Default constructor
| ~MifsetTimers () | ~MifsetTimers | 
Destructor
| bool	 mif_timer_is_set (size_t vif_index) | mif_timer_is_set | 
[const]
Test if the timer is set
Test if the timer for a given virtual interface is set (i.e., running).
Parameters:
| vif_index | the index of the virtual interface to test if its timer is set. | 
Returns: true if the timer is set, otherwise false.
| uint32_t	 mif_timer_remain (size_t vif_index, struct timeval& timeval_diff) | mif_timer_remain | 
[const]
Get the remaining expiration time
Compute the expiration time for the timer for a given virtual interface.
Parameters:
| vif_index | the index of the virtual interface to compute the expiration time of its timer. | 
| timeval_diff | the timeval structure to store the result. Note that if the timer is not set, the timeval structure will be reset to (0, 0); i.e., zero seconds and zero microseconds. | 
Returns: the number of seconds until the timer expire. Note that if the timer is not set, the return value is 0 (zero seconds).
| void	 set_mif_timer (size_t vif_index, uint32_t delay_sec,
			      uint32_t delay_usec, cfunc_t func,
			      void *data_pointer) | set_mif_timer | 
Set the timer
This method will start a one-time timer. If the timer should be periodic, it should be restarted by the timeout function.
Parameters:
| vif_index | the index of the virtual interface to set the timer of. | 
| delay_sec | the number of seconds to the timer expiration. | 
| delay_usec | the number of microseconds (in addition to the number of seconds delay_sec) to the timer expiration. | 
| func | the timeout function to call when the timer expires. | 
| data_pointer | the data to supply to the timeout function func when the timer expires. | 
| void	 cancel_mif_timer (size_t vif_index) | cancel_mif_timer | 
Cancel the timer
Parameters:
| vif_index | the index of the virtual interface of the timer to cancel. | 
| Generated by: pavlin on possum.icir.org on Mon Mar 10 19:34:51 2003, using kdoc 2.0a54+XORP. |