ISC DHCP  4.4.1
A reference DHCPv4 and DHCPv6 implementation
dispatch.c File Reference
#include "dhcpd.h"
#include <sys/time.h>

Go to the source code of this file.

Macros

#define USEC_MAX   1000000
 

Functions

void set_time (TIME t)
 
struct timeval * process_outstanding_timeouts (struct timeval *tvp)
 
void dispatch (void)
 
void isclib_timer_callback (isc_task_t *taskp, isc_event_t *eventp)
 
void add_timeout (struct timeval *when, void(*)(void *) where, void *what, tvref_t ref, tvunref_t unref)
 
void cancel_timeout (void(*)(void *) where, void *what)
 

Variables

struct timeouttimeouts
 

Macro Definition Documentation

◆ USEC_MAX

#define USEC_MAX   1000000

Definition at line 204 of file dispatch.c.

Function Documentation

◆ add_timeout()

void add_timeout ( struct timeval *  when,
void (*) (void *)  where,
void *  what,
tvref_t  ref,
tvunref_t  unref 
)

Definition at line 206 of file dispatch.c.

◆ cancel_timeout()

void cancel_timeout ( void (*) (void *)  where,
void *  what 
)

Definition at line 390 of file dispatch.c.

◆ dispatch()

void dispatch ( void  )

Definition at line 109 of file dispatch.c.

◆ isclib_timer_callback()

void isclib_timer_callback ( isc_task_t *  taskp,
isc_event_t *  eventp 
)

Definition at line 148 of file dispatch.c.

◆ process_outstanding_timeouts()

struct timeval* process_outstanding_timeouts ( struct timeval *  tvp)

Definition at line 46 of file dispatch.c.

◆ set_time()

void set_time ( TIME  t)

Definition at line 36 of file dispatch.c.

Variable Documentation

◆ timeouts

struct timeout* timeouts

Definition at line 33 of file dispatch.c.