FreeBSD kernel IPv4 code
cc_module.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CCV(ccv, what)   (ccv)->ccvc.tcp->what
 
#define DECLARE_CC_MODULE(ccname, ccalgo)
 

Functions

int cc_modevent (module_t mod, int type, void *data)
 

Macro Definition Documentation

◆ CCV

#define CCV (   ccv,
  what 
)    (ccv)->ccvc.tcp->what

Definition at line 59 of file cc_module.h.

◆ DECLARE_CC_MODULE

#define DECLARE_CC_MODULE (   ccname,
  ccalgo 
)
Value:
static moduledata_t cc_##ccname = { \
.name = #ccname, \
.evhand = cc_modevent, \
.priv = ccalgo \
}; \
DECLARE_MODULE(ccname, cc_##ccname, \
SI_SUB_PROTO_IFATTACHDOMAIN, SI_ORDER_ANY)
int cc_modevent(module_t mod, int type, void *data)
Definition: cc.c:585

Definition at line 61 of file cc_module.h.

Function Documentation

◆ cc_modevent()

int cc_modevent ( module_t  mod,
int  type,
void *  data 
)