OpenVPN
Functions
shaper.c File Reference
#include "syshead.h"
#include "shaper.h"
#include "memdbg.h"
Include dependency graph for shaper.c:

Go to the source code of this file.

Functions

bool shaper_soonest_event (struct timeval *tv, int delay)
 
void shaper_reset_wakeup (struct shaper *s)
 
void shaper_msg (struct shaper *s)
 

Function Documentation

◆ shaper_msg()

void shaper_msg ( struct shaper s)

Definition at line 88 of file shaper.c.

References shaper::bytes_per_second, M_INFO, and msg.

Referenced by do_init_traffic_shaper().

◆ shaper_reset_wakeup()

void shaper_reset_wakeup ( struct shaper s)

Definition at line 82 of file shaper.c.

References CLEAR, and shaper::wakeup.

Referenced by shaper_init().

◆ shaper_soonest_event()

bool shaper_soonest_event ( struct timeval *  tv,
int  delay 
)

Definition at line 37 of file shaper.c.

References D_SHAPER_DEBUG, and dmsg.

Referenced by io_wait_dowork().