netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
timer.c File Reference
#include <event.h>
#include "timer.h"
Include dependency graph for timer.c:

Functions

void * nft_timer_data (struct nft_timer *timer)
 
void nft_timer_setup (struct nft_timer *timer, void(*cb)(struct nft_timer *), void *data)
 
void nft_timer_add (struct nft_timer *timer, unsigned int sec, unsigned int usec)
 
void nft_timer_del (struct nft_timer *timer)
 

Function Documentation

void nft_timer_add ( struct nft_timer timer,
unsigned int  sec,
unsigned int  usec 
)

References nft_timer::event, NULL, sec, and usec.

void* nft_timer_data ( struct nft_timer timer)

References nft_timer::data.

void nft_timer_del ( struct nft_timer timer)

References nft_timer::event.

void nft_timer_setup ( struct nft_timer timer,
void(*)(struct nft_timer *)  cb,
void *  data 
)

References nft_timer::callback.