Changeset View
Changeset View
Standalone View
Standalone View
sys/netgraph/netflow/ng_netflow.h
Show First 20 Lines • Show All 516 Lines • ▼ Show 20 Lines | #define MILLIUPTIME(t) (((t) << 9) + /* 512 */ \ | ||||
((t) << 3)) /* 8 */ | ((t) << 3)) /* 8 */ | ||||
/* Prototypes for netflow.c */ | /* Prototypes for netflow.c */ | ||||
void ng_netflow_cache_init(priv_p); | void ng_netflow_cache_init(priv_p); | ||||
void ng_netflow_cache_flush(priv_p); | void ng_netflow_cache_flush(priv_p); | ||||
int ng_netflow_fib_init(priv_p priv, int fib); | int ng_netflow_fib_init(priv_p priv, int fib); | ||||
void ng_netflow_copyinfo(priv_p, struct ng_netflow_info *); | void ng_netflow_copyinfo(priv_p, struct ng_netflow_info *); | ||||
void ng_netflow_copyv9info(priv_p, struct ng_netflow_v9info *); | void ng_netflow_copyv9info(priv_p, struct ng_netflow_v9info *); | ||||
timeout_t ng_netflow_expire; | callout_func_t ng_netflow_expire; | ||||
int ng_netflow_flow_add(priv_p, fib_export_p, struct ip *, caddr_t, | int ng_netflow_flow_add(priv_p, fib_export_p, struct ip *, caddr_t, | ||||
uint8_t, uint8_t, unsigned int); | uint8_t, uint8_t, unsigned int); | ||||
int ng_netflow_flow6_add(priv_p, fib_export_p, struct ip6_hdr *, caddr_t, | int ng_netflow_flow6_add(priv_p, fib_export_p, struct ip6_hdr *, caddr_t, | ||||
uint8_t, uint8_t, unsigned int); | uint8_t, uint8_t, unsigned int); | ||||
int ng_netflow_flow_show(priv_p, struct ngnf_show_header *req, | int ng_netflow_flow_show(priv_p, struct ngnf_show_header *req, | ||||
struct ngnf_show_header *resp); | struct ngnf_show_header *resp); | ||||
void ng_netflow_v9_cache_init(priv_p); | void ng_netflow_v9_cache_init(priv_p); | ||||
void ng_netflow_v9_cache_flush(priv_p); | void ng_netflow_v9_cache_flush(priv_p); | ||||
Show All 11 Lines |