summaryrefslogtreecommitdiff
path: root/lib/snmp/doc/src/snmpa.xml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/snmp/doc/src/snmpa.xml')
-rw-r--r--lib/snmp/doc/src/snmpa.xml20
1 files changed, 19 insertions, 1 deletions
diff --git a/lib/snmp/doc/src/snmpa.xml b/lib/snmp/doc/src/snmpa.xml
index 178f25ccb0..c3025dc945 100644
--- a/lib/snmp/doc/src/snmpa.xml
+++ b/lib/snmp/doc/src/snmpa.xml
@@ -4,7 +4,7 @@
<erlref>
<header>
<copyright>
- <year>2004</year><year>2020</year>
+ <year>2004</year><year>2021</year>
<holder>Ericsson AB. All Rights Reserved.</holder>
</copyright>
<legalnotice>
@@ -503,6 +503,24 @@ notification_delivery_info() = #snmpa_notification_delivery_info{}
<desc>
<p>Retrieve all tables known to the agent.</p>
+ <marker id="which_transports"></marker>
+ </desc>
+ </func>
+
+ <func>
+ <name since="">which_transports() -> Result</name>
+ <fsummary>Get all configured transports</fsummary>
+ <type>
+ <v>Result = [{TDomain, TAddress} | {TDomain, TAddress, Kind}]</v>
+ <v>TDomain = transportDomainUdpIpv4 | transportDomainUdpIpv6</v>
+ <v>TAddress = {IpAddr, IpPort}</v>
+ <v>IpAddr = inet:ip_address()</v>
+ <v>IpPort = pos_integer()</v>
+ <v>Kind = req_responder | trap_sender</v>
+ </type>
+ <desc>
+ <p>Retrieve all configured transports.</p>
+
<marker id="which_variables"></marker>
</desc>
</func>