From fcc898b0b296376167a2a2094d0a822090cfb20e Mon Sep 17 00:00:00 2001
From: Raimo Niskanen
Date: Fri, 29 Aug 2014 16:41:44 +0200
Subject: Update documentation
---
lib/snmp/doc/src/snmp_agent_netif.xml | 34 ++++++++++++++++++----------------
1 file changed, 18 insertions(+), 16 deletions(-)
(limited to 'lib/snmp/doc/src/snmp_agent_netif.xml')
diff --git a/lib/snmp/doc/src/snmp_agent_netif.xml b/lib/snmp/doc/src/snmp_agent_netif.xml
index fccfc8857a..a9ce05e757 100644
--- a/lib/snmp/doc/src/snmp_agent_netif.xml
+++ b/lib/snmp/doc/src/snmp_agent_netif.xml
@@ -4,7 +4,7 @@
- 19972013
+ 19972014
Ericsson AB. All Rights Reserved.
@@ -51,7 +51,8 @@
It is also possible to write your own Net if process. The default
Net if process is implemented in the module snmpa_net_if and
- it uses UDP as the transport protocol.
+ it uses UDP as the transport protocol i.e the transport domains
+ transportDomainUdpIpv4 and/or transportDomainUdpIpv6.
This section describes how to write a Net if process.
@@ -70,6 +71,12 @@
The section Messages describes mandatory messages, which
Net if must send and be able to receive.
+ In this section an Address field is a
+ {Domain, Addr} tuple where Domain is
+ transportDomainUdpIpv4 or transportDomainUdpIpv4,
+ and Addr is an
+ {IpAddr,
+ IpPort} tuple.
@@ -96,10 +103,7 @@ MasterAgent ! {snmp_pdu, Vsn, Pdu, PduMS, ACMData, From, Extra}
in use. Normally this is returned from
snmpa_mpd:process_packet (see Reference Manual).
- - From is the source address. If UDP over IP is
- used, this should be a 2-tuple {IP, UDPport}, where
- IP is a 4-tuple with the IP address, and UDPport
- is an integer.
+
- From is the source Address.
- Extra is any term the Net if process wishes to
send to the agent. This term can be retrieved by the
@@ -127,10 +131,7 @@ Pid ! {snmp_response_received, Vsn, Pdu, From}
- Pdu is the SNMP Pdu received
- - From is the source address. If UDP over IP is
- used, this should be a 2-tuple {IP, UDPport}, where
- IP is a 4-tuple with the IP address, and UDPport
- is an integer.
+
- From is the source Address.
@@ -168,10 +169,9 @@ Pid ! {snmp_response_received, Vsn, Pdu, From}
(see Reference Manual).
-
-
To is the destination address. If UDP over IP
- is used, this should be a 2-tuple {IP, UDPport},
- where IP is a 4-tuple with the IP address, and
- UDPport is an integer.
+ To is the destination Address that comes
+ from the From field in the corresponding snmp_pdu
+ message previously sent to the MasterAgent.
-
Extra is the term that the Net if process
@@ -230,7 +230,8 @@ Pid ! {snmp_response_received, Vsn, Pdu, From}
SNMPv3, it is the context information.
-
-
To is a list of the destination addresses and
+
To is a list of {Address, SecData}
+ tuples i.e the destination addresses and
their corresponding security parameters. This value is
normally sent to snmpa_mpd:generate_message/4.
@@ -268,7 +269,8 @@ Pid ! {snmp_response_received, Vsn, Pdu, From}
SNMPv3, it is the context information.
-
-
To is a list of the destination addresses and
+
To is a list of {Address, SecData}
+ tuples i.e the destination addresses and
their corresponding security parameters. This value is
normally sent to snmpa_mpd:generate_message/4.
--
cgit v1.2.3