table of contents
other versions
- wheezy 1:15.b.1-dfsg-4+deb7u1
- wheezy-backports 1:17.3-dfsg-4~bpo70+1
- jessie 1:17.3-dfsg-4+deb8u1
- jessie-backports 1:19.2.1+dfsg-2~bpo8+1
- testing 1:19.2.1+dfsg-2
- unstable 1:19.2.1+dfsg-2
- experimental 1:19.3.1+dfsg-1
snmpm_network_interface_filter(3erl) | Erlang Module Definition | snmpm_network_interface_filter(3erl) |
NAME¶
snmpm_network_interface_filter - Behaviour module for the SNMP manager network-interface filter.DESCRIPTION¶
This module defines the behaviour of the manager network interface filter. A snmpm_network_interface_filter compliant module must export the following functions:- *
- accept_recv/2
- *
- accept_send/2
- *
- accept_recv_pdu/3
- *
- accept_send_pdu/2
- *
- The first level is at the UDP entry / exit point, i.e. immediately after the receipt of the message, before any message processing is done (accept_recv) and immediately before sending the message, after all message processing is done (accept_send).
- *
- The second level is at the MPD entry / exit point, i.e. immediately after the basic message processing (accept_recv_pdu) / immediately before the basic message processing (accept_send_pdu).
DATA TYPES¶
port() = integer() > 0 pdu_type() = 'get-request' | 'get-next-request' | 'get-response' | 'set-request' | trap | 'get-bulk-request' | 'inform-request' | report | trappduSee also the data types in snmpa_conf.
EXPORTS¶
accept_recv(Domain, Addr) -> boolean()
Types:
Domain = transportDomain()
Addr = transportAddressWithPort()
Called at the reception of a message (before any processing has been
done).
For the message to be rejected, the function must return
false.
Types:
Domain = transportDomain()
Addr = transportAddressWithPort()
Called before the sending of a message (after all processing has been
done).
For the message to be rejected, the function must return
false.
Types:
Domain = transportDomain()
Addr = transportAddressWithPort()
PduType = pdu_type()
Called after the basic message processing (MPD) has been done, but before the
pdu is handed over to the server for primary processing.
For the pdu to be rejected, the function must return false.
Types:
Domain = transportDomain()
Addr = transportAddressWithPort()
PduType = pdu_type() > 0
Called before the basic message processing (MPD) is done, when a pdu has been
received from the master-agent.
For the message to be rejected, the function must return
false.
snmp 5.1 | Ericsson AB |