diff options
author | Micael Karlberg <bmk@erlang.org> | 2021-07-23 17:29:55 +0200 |
---|---|---|
committer | Micael Karlberg <bmk@erlang.org> | 2021-08-30 17:56:42 +0200 |
commit | 80444ecbc703d1032150806c2c153c1a1fe2171a (patch) | |
tree | 12e29a2eab74941204033644083797dcd164abec | |
parent | 711ebaaab326ce262f7604f8f0766bf571f2351e (diff) | |
download | erlang-80444ecbc703d1032150806c2c153c1a1fe2171a.tar.gz |
[snmp|agent|doc] Add description of new net-if option
Make it possible to confiure the transport to use the
new 'inet_backend' (inet | socket) socket option.
OTP-17526
-rw-r--r-- | lib/snmp/doc/src/snmp_app.xml | 6 | ||||
-rw-r--r-- | lib/snmp/doc/src/snmp_config.xml | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/lib/snmp/doc/src/snmp_app.xml b/lib/snmp/doc/src/snmp_app.xml index 361781cb61..beaefc2582 100644 --- a/lib/snmp/doc/src/snmp_app.xml +++ b/lib/snmp/doc/src/snmp_app.xml @@ -294,13 +294,15 @@ in the snmp_config file! <tag><marker id="agent_ni_opts"></marker> <c><![CDATA[agent_net_if_options() = [agent_net_if_option()] <optional>]]></c></tag> <item> - <p><c>agent_net_if_option() = {bind_to, bind_to()} | + <p><c>agent_net_if_option() = | + {bind_to, bind_to()} | {sndbuf, sndbuf()} | {recbuf, recbuf()} | {no_reuse, no_reuse()} | {req_limit, req_limit()} | {filter, agent_net_if_filter_options()} | - {extra_sock_opts, extra_socket_options()}</c></p> + {extra_sock_opts, extra_socket_options()} | + {inet_backend, inet | socket}</c></p> <p>These options are actually specific to the used module. The ones shown here are applicable to the default <c>agent_net_if_module()</c>.</p> diff --git a/lib/snmp/doc/src/snmp_config.xml b/lib/snmp/doc/src/snmp_config.xml index 41646d86c3..0a138f1c33 100644 --- a/lib/snmp/doc/src/snmp_config.xml +++ b/lib/snmp/doc/src/snmp_config.xml @@ -280,13 +280,15 @@ <tag><marker id="agent_ni_opts"></marker> <c><![CDATA[agent_net_if_options() = [agent_net_if_option()] <optional>]]></c></tag> <item> - <p><c>agent_net_if_option() = {bind_to, bind_to()} | + <p><c>agent_net_if_option() = | + {bind_to, bind_to()} | {sndbuf, sndbuf()} | {recbuf, recbuf()} | {no_reuse, no_reuse()} | {req_limit, req_limit()} | {filter, agent_net_if_filter_options()} | - {extra_sock_opts, extra_socket_options()}</c></p> + {extra_sock_opts, extra_socket_options()} | + {inet_backend, inet | socket}</c></p> <p>These options are actually specific to the used module. The ones shown here are applicable to the default <c>agent_net_if_module()</c>.</p> |