webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Go to the source code of this file.
Classes | |
struct | sctp_callout |
Macros | |
#define | _NETINET_SCTP_CALLOUT_ |
#define | _SCTP_NEEDS_CALLOUT_ 1 |
#define | SCTP_TICKS_PER_FASTTIMO 20 /* called about every 20ms */ |
#define | SCTP_CALLOUT_ACTIVE 0x0002 /* callout is currently active */ |
#define | SCTP_CALLOUT_PENDING 0x0004 /* callout is waiting for timeout */ |
#define | SCTP_OS_TIMER_INIT sctp_os_timer_init |
#define | SCTP_OS_TIMER_START sctp_os_timer_start |
#define | SCTP_OS_TIMER_STOP sctp_os_timer_stop |
#define | SCTP_OS_TIMER_STOP_DRAIN SCTP_OS_TIMER_STOP |
#define | SCTP_OS_TIMER_PENDING(tmr) ((tmr)->c_flags & SCTP_CALLOUT_PENDING) |
#define | SCTP_OS_TIMER_ACTIVE(tmr) ((tmr)->c_flags & SCTP_CALLOUT_ACTIVE) |
#define | SCTP_OS_TIMER_DEACTIVATE(tmr) ((tmr)->c_flags &= ~SCTP_CALLOUT_ACTIVE) |
Typedefs | |
typedef struct sctp_callout | sctp_os_timer_t |
Functions | |
int | sctp_get_tick_count (void) |
TAILQ_HEAD (calloutlist, sctp_callout) | |
void | sctp_os_timer_init (sctp_os_timer_t *tmr) |
void | sctp_os_timer_start (sctp_os_timer_t *, int, void(*)(void *), void *) |
int | sctp_os_timer_stop (sctp_os_timer_t *) |
#define _NETINET_SCTP_CALLOUT_ |
#define _SCTP_NEEDS_CALLOUT_ 1 |
#define SCTP_CALLOUT_ACTIVE 0x0002 /* callout is currently active */ |
#define SCTP_CALLOUT_PENDING 0x0004 /* callout is waiting for timeout */ |
#define SCTP_OS_TIMER_ACTIVE | ( | tmr | ) | ((tmr)->c_flags & SCTP_CALLOUT_ACTIVE) |
#define SCTP_OS_TIMER_DEACTIVATE | ( | tmr | ) | ((tmr)->c_flags &= ~SCTP_CALLOUT_ACTIVE) |
#define SCTP_OS_TIMER_INIT sctp_os_timer_init |
#define SCTP_OS_TIMER_PENDING | ( | tmr | ) | ((tmr)->c_flags & SCTP_CALLOUT_PENDING) |
#define SCTP_OS_TIMER_START sctp_os_timer_start |
#define SCTP_OS_TIMER_STOP sctp_os_timer_stop |
#define SCTP_OS_TIMER_STOP_DRAIN SCTP_OS_TIMER_STOP |
#define SCTP_TICKS_PER_FASTTIMO 20 /* called about every 20ms */ |
typedef struct sctp_callout sctp_os_timer_t |
int sctp_get_tick_count | ( | void | ) |
void sctp_os_timer_init | ( | sctp_os_timer_t * | tmr | ) |
void sctp_os_timer_start | ( | sctp_os_timer_t * | , |
int | , | ||
void(*)(void *) | , | ||
void * | |||
) |
int sctp_os_timer_stop | ( | sctp_os_timer_t * | ) |
TAILQ_HEAD | ( | calloutlist | , |
sctp_callout | |||
) |