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

Data Structures

struct  nft_timer


#define _NFT_SYNC_TIMER_H_


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)

Macro Definition Documentation

#define _NFT_SYNC_TIMER_H_

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.