Last change
on this file since 9568 was 9140, checked in by blueven, 10 years ago |
Removed paramters "check_cw_count" and "check_cw_count_mode".
Now using new parameter:
cacheex_cw_check = caid[&mask][@provid][$servid]:mode:counter
counter:
set minimum cw counter to allow cw is used.
Default=1, use default behaviour: use cw with highest counter when cache is checked.
mode:
specify behaviour for counter parameter
0: when wait_time expires, serve highest counter's cw got anyway, even if no counter reached.
1: never serve cw (coming from cacheex) stored in cache if its counter not reaches counter. When wait_time expires, requests will go to normal readers! Only when a cw reaches counter, it can be served to clients.
Default 0.
|
File size:
1009 bytes
|
Line | |
---|
1 | #ifndef OSCAM_CONF_CHK_H
|
---|
2 | #define OSCAM_CONF_CHK_H
|
---|
3 |
|
---|
4 | void chk_iprange(char *value, struct s_ip **base);
|
---|
5 | void chk_caidtab(char *caidasc, CAIDTAB *ctab);
|
---|
6 | void chk_caidvaluetab(char *lbrlt, CAIDVALUETAB *tab, int32_t minvalue);
|
---|
7 | #ifdef CS_CACHEEX
|
---|
8 | void chk_cacheex_valuetab(char *lbrlt, CECSPVALUETAB *tab);
|
---|
9 | void chk_cacheex_cwcheck_valuetab(char *lbrlt, CWCHECKTAB *tab);
|
---|
10 | void chk_cacheex_hitvaluetab(char *lbrlt, CECSPVALUETAB *tab);
|
---|
11 | #endif
|
---|
12 | void chk_tuntab(char *tunasc, TUNTAB *ttab);
|
---|
13 | void chk_services(char *labels, SIDTABS *sidtabs);
|
---|
14 | void chk_ftab(char *zFilterAsc, FTAB *ftab, const char *zType, const char *zName, const char *zFiltName);
|
---|
15 | void chk_cltab(char *classasc, CLASSTAB *clstab);
|
---|
16 | void chk_port_tab(char *portasc, PTAB *ptab);
|
---|
17 |
|
---|
18 | void clear_sip(struct s_ip **sip);
|
---|
19 | void clear_ftab(struct s_ftab *ftab);
|
---|
20 | void clear_ptab(struct s_ptab *ptab);
|
---|
21 | void clear_caidtab(struct s_caidtab *ctab);
|
---|
22 | #ifdef CS_CACHEEX
|
---|
23 | void clear_cacheextab(CECSPVALUETAB *ctab);
|
---|
24 | #endif
|
---|
25 | void clear_tuntab(struct s_tuntab *ttab);
|
---|
26 |
|
---|
27 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.