44 |
static void snmpserv_after_config_hook(void *arg, void *unused); |
static void snmpserv_after_config_hook(void *arg, void *unused); |
45 |
static void snmp_tree_init(); |
static void snmp_tree_init(); |
46 |
|
|
47 |
static LIST /* of ACL */ *snmp_acl; |
static RAD_LIST /* of ACL */ *snmp_acl; |
48 |
static LIST /* of Community */ *commlist; |
static RAD_LIST /* of Community */ *commlist; |
49 |
Server_stat *server_stat; |
Server_stat *server_stat; |
50 |
struct radstat radstat; |
struct radstat radstat; |
51 |
|
|
52 |
/* ************************************************************************ */ |
/* ************************************************************************ */ |
53 |
/* Configuration file */ |
/* Configuration file */ |
54 |
|
|
55 |
static LIST /* of NETNAME */ *netlist; |
static RAD_LIST /* of NETNAME */ *netlist; |
56 |
|
|
57 |
static int |
static int |
58 |
_netname_cmp(const void *item, const void *data) |
_netname_cmp(const void *item, const void *data) |
181 |
} |
} |
182 |
|
|
183 |
void |
void |
184 |
snmp_add_acl(Community *community, LIST /* of NETDEF */ *netlist) |
snmp_add_acl(Community *community, RAD_LIST /* of NETDEF */ *netlist) |
185 |
{ |
{ |
186 |
ACL *acl; |
ACL *acl; |
187 |
|
|