summaryrefslogtreecommitdiff
path: root/lib/privs.h
diff options
context:
space:
mode:
authorVincent Bernat <bernat@luffy.cx>2012-05-24 09:44:43 +0200
committerVincent Bernat <bernat@luffy.cx>2012-06-25 19:03:23 +0200
commitd6be5fb9bc41ea77547204eeedd12132b26ad662 (patch)
treedfe0f2a92faf6bd7d5b5b5f7b8006014a03e5469 /lib/privs.h
parent3a4c96885ec878ae4631b0fb7bb7839578725976 (diff)
agentx: add AgentX support to Quagga.
--enable-snmp will enable AgentX support in Quagga. SMUX is still here and can be enabled with --enable-snmp=smux. AgentX support can be enabled with "agentx" in configuration file. As for SMUX, this command is not understood by vtysh. It can be disabled with "no agentx", though there is no real use of this since this command cannot be used with vtysh. If "agentx" and "no agentx" command were added to vtysh, it would not be possible to disable agentx support after enabling it because NetSNMP does not expose the appropriate methods for this. The internals of AgentX are hidden by NetSNMP. Therefore, we don't have a file descriptor to add to the threading system. We do not have the timers to set either. Therefore, the event loop is modified to make use of snmp_select_info() from NetSNMP. Traps are not supported yet.
Diffstat (limited to 'lib/privs.h')
0 files changed, 0 insertions, 0 deletions