Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:19
erlang
2652-snmp-doc-Add-descriptions-for-the-new-extr...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 2652-snmp-doc-Add-descriptions-for-the-new-extra-socket-o.patch of Package erlang
From 32f046b04261dfd0642a55794f5ffaed73ffaf07 Mon Sep 17 00:00:00 2001 From: Micael Karlberg <bmk@erlang.org> Date: Mon, 23 Sep 2019 12:25:56 +0200 Subject: [PATCH 2/4] [snmp|doc] Add descriptions for the new 'extra socket option' option OTP-16092 --- lib/snmp/doc/src/snmp_app.xml | 30 +++++++++++++++++++++--------- lib/snmp/doc/src/snmp_config.xml | 32 ++++++++++++++++++++++---------- 2 files changed, 43 insertions(+), 19 deletions(-) diff --git a/lib/snmp/doc/src/snmp_app.xml b/lib/snmp/doc/src/snmp_app.xml index d5ac97ef15..d0e9e7d578 100644 --- a/lib/snmp/doc/src/snmp_app.xml +++ b/lib/snmp/doc/src/snmp_app.xml @@ -260,11 +260,12 @@ <c><![CDATA[agent_net_if_options() = [agent_net_if_option()] <optional>]]></c></tag> <item> <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()}</c></p> + {sndbuf, sndbuf()} | + {recbuf, recbuf()} | + {no_reuse, no_reuse()} | + {req_limit, req_limit()} | + {filter, agent_net_if_filter_options()} | + {extra_sock_opts, <seealso marker="#extra_sock_opts">extra_socket_options()</seealso>}</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> @@ -697,10 +698,11 @@ <c><![CDATA[manager_net_if_options() = [manager_net_if_option()] <optional>]]></c></tag> <item> <p><c>manager_net_if_option() = {bind_to, bind_to()} | - {sndbuf, sndbuf()} | - {recbuf, recbuf()} | - {no_reuse, no_reuse()} | - {filter, manager_net_if_filter_options()} </c></p> + {sndbuf, sndbuf()} | + {recbuf, recbuf()} | + {no_reuse, no_reuse()} | + {filter, manager_net_if_filter_options()} | + {extra_sock_opts, <seealso marker="#extra_sock_opts">extra_socket_options()</seealso>}</c></p> <p>These options are actually specific to the used module. The ones shown here are applicable to the default <c>manager_net_if_module()</c>.</p> @@ -833,6 +835,16 @@ <p>Default value is defined by <c>gen_udp</c>.</p> </item> + <tag><marker id="extra_sock_opts"></marker> + <c><![CDATA[extra_socket_options() = list() <optional>]]></c></tag> + <item> + <p>A list of arbitrary socket options. </p> + <p>This list is not inspected by snmp (other then checking that + its a list). Its the users responsibility to ensure that these + are valid options and does not conflict with the "normal" options. </p> + <p>Default is <c>[]</c>.</p> + </item> + <tag><marker id="note_store"></marker> <c><![CDATA[note_store() = [note_store_opt()] <optional>]]></c></tag> <item> diff --git a/lib/snmp/doc/src/snmp_config.xml b/lib/snmp/doc/src/snmp_config.xml index 6d4129dd06..aa9a268779 100644 --- a/lib/snmp/doc/src/snmp_config.xml +++ b/lib/snmp/doc/src/snmp_config.xml @@ -255,12 +255,13 @@ <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()} | - {sndbuf, sndbuf()} | - {recbuf, recbuf()} | - {no_reuse, no_reuse()} | - {req_limit, req_limit()} | - {filter, agent_net_if_filter_options()}</c></p> + <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, <seealso marker="#extra_sock_opts">extra_socket_options()</seealso>}</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> @@ -726,10 +727,11 @@ in so far as it will be converted to the new format if found. <c><![CDATA[manager_net_if_options() = [manager_net_if_option()] <optional>]]></c></tag> <item> <p><c>manager_net_if_option() = {bind_to, bind_to()} | - {sndbuf, sndbuf()} | - {recbuf, recbuf()} | - {no_reuse, no_reuse()} | - {filter, manager_net_if_filter_options()}</c></p> + {sndbuf, sndbuf()} | + {recbuf, recbuf()} | + {no_reuse, no_reuse()} | + {filter, manager_net_if_filter_options()} | + {extra_sock_opts, <seealso marker="#extra_sock_opts">extra_socket_options()</seealso>}</c></p> <p>These options are actually specific to the used module. The ones shown here are applicable to the default <c>manager_net_if_module()</c>. </p> @@ -862,6 +864,16 @@ in so far as it will be converted to the new format if found. <p>Default value is defined by <c>gen_udp</c>.</p> </item> + <tag><marker id="extra_sock_opts"></marker> + <c><![CDATA[extra_socket_options() = list() <optional>]]></c></tag> + <item> + <p>A list of arbitrary socket options. </p> + <p>This list is not inspected by snmp (other then checking that + its a list). Its the users responsibility to ensure that these + are valid options and does not conflict with the "normal" options. </p> + <p>Default is <c>[]</c>.</p> + </item> + <tag><marker id="note_store"></marker> <c><![CDATA[note_store() = [note_store_opt()] <optional>]]></c></tag> <item> -- 2.16.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor