<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.8.16">
  <compounddef id="sntp__opts_8h" kind="file" language="C++">
    <compoundname>sntp_opts.h</compoundname>
    <includes local="yes">lwip/opt.h</includes>
    <incdepgraph>
      <node id="2">
        <label>lwip/opt.h</label>
      </node>
      <node id="1">
        <label>C:/Dev/git/UbixOS/sys/include/net/apps/sntp_opts.h</label>
        <link refid="sntp__opts_8h"/>
        <childnode refid="2" relation="include">
        </childnode>
      </node>
    </incdepgraph>
      <sectiondef kind="define">
      <memberdef kind="define" id="group__sntp__opts_1ga7d4e12d90912d486e64f289d7f3ca446" prot="public" static="no">
        <name>SNTP_CHECK_RESPONSE</name>
        <initializer>0</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Set this to 1 to allow config of SNTP server(s) by DNS name Sanity check: Define this to<itemizedlist>
<listitem><para>0 to turn off sanity checks (default; smaller code)</para>
</listitem><listitem><para>&gt;= 1 to check address and port of the response packet to ensure the response comes from the server we sent the request to.</para>
</listitem><listitem><para>&gt;= 2 to check returned Originate Timestamp against Transmit Timestamp sent to the server (to ensure response to older request).</para>
</listitem><listitem><para>&gt;= 3 <xrefsect id="todo_1_todo000001"><xreftitle>Todo</xreftitle><xrefdescription><para>: discard reply if any of the LI, Stratum, or Transmit Timestamp fields is 0 or the Mode field is not 4 (unicast) or 5 (broadcast).</para>
</xrefdescription></xrefsect></para>
</listitem></itemizedlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/net/apps/sntp_opts.h" line="107" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/apps/sntp_opts.h" bodystart="107" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="group__sntp__opts_1ga25c6f9c14c17e218d110d826b09f8d91" prot="public" static="no">
        <name>SNTP_DEBUG</name>
        <initializer><ref refid="group__debugging__levels_1gadab1cdc3f45939a3a5c9a3d7e04987e1" kindref="member">LWIP_DBG_OFF</ref></initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>SNTP_DEBUG: Enable debugging for SNTP. </para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/net/apps/sntp_opts.h" line="79" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/apps/sntp_opts.h" bodystart="79" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="group__sntp__opts_1ga961a61eef942ab5378cff1e3742b3ade" prot="public" static="no">
        <name>SNTP_GET_SERVERS_FROM_DHCP</name>
        <initializer><ref refid="group__lwip__opts__dhcp_1ga2cc18315edcd5ffc083d1256f7d22a83" kindref="member">LWIP_DHCP_GET_NTP_SRV</ref></initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Set this to 1 to implement the callback function called by dhcp when NTP servers are received. </para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/net/apps/sntp_opts.h" line="64" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/apps/sntp_opts.h" bodystart="64" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="group__sntp__opts_1gab0ea385479a5c5c8c173f165ded2fb63" prot="public" static="no">
        <name>SNTP_GET_SYSTEM_TIME</name>
        <param><defname>sec</defname></param>
        <param><defname>us</defname></param>
        <initializer>do { (sec) = 0; (us) = 0; } while(0)</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>SNTP macro to get system time, used with SNTP_CHECK_RESPONSE &gt;= 2 to send in request and compare in response. </para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/net/apps/sntp_opts.h" line="146" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/apps/sntp_opts.h" bodystart="146" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="group__sntp__opts_1ga5d9dc0827f402849f5c18d44e311dbc2" prot="public" static="no">
        <name>SNTP_MAX_SERVERS</name>
        <initializer><ref refid="group__lwip__opts__dhcp_1ga9d014e3f7dc9e1e7c7decd8652ba65e2" kindref="member">LWIP_DHCP_MAX_NTP_SERVERS</ref></initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>The maximum number of SNTP servers that can be set </para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/net/apps/sntp_opts.h" line="58" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/apps/sntp_opts.h" bodystart="58" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="group__sntp__opts_1gacbee62c27f54371fc2c5259a834a0f9b" prot="public" static="no">
        <name>SNTP_PORT</name>
        <initializer>123</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>SNTP server port </para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/net/apps/sntp_opts.h" line="84" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/apps/sntp_opts.h" bodystart="84" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="group__sntp__opts_1ga44cf26b9b19832d88599244711a12d08" prot="public" static="no">
        <name>SNTP_RECV_TIMEOUT</name>
        <initializer>3000</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>SNTP receive timeout - in milliseconds Also used as retry timeout - this shouldn&apos;t be too low. Default is 3 seconds. </para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/net/apps/sntp_opts.h" line="132" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/apps/sntp_opts.h" bodystart="132" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="group__sntp__opts_1ga86d651d8eb07687208308deef95a23ba" prot="public" static="no">
        <name>SNTP_RETRY_TIMEOUT</name>
        <initializer><ref refid="group__sntp__opts_1ga44cf26b9b19832d88599244711a12d08" kindref="member">SNTP_RECV_TIMEOUT</ref></initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Default retry timeout (in milliseconds) if the response received is invalid. This is doubled with each retry until SNTP_RETRY_TIMEOUT_MAX is reached. </para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/net/apps/sntp_opts.h" line="154" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/apps/sntp_opts.h" bodystart="154" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="group__sntp__opts_1gafdb7e98f608cc429188d7dac356614c2" prot="public" static="no">
        <name>SNTP_RETRY_TIMEOUT_EXP</name>
        <initializer>1</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Increase retry timeout with every retry sent Default is on to conform to RFC. </para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/net/apps/sntp_opts.h" line="166" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/apps/sntp_opts.h" bodystart="166" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="group__sntp__opts_1gafde10b3ed7cb4bb2cd2c4daa389db699" prot="public" static="no">
        <name>SNTP_RETRY_TIMEOUT_MAX</name>
        <initializer>(<ref refid="group__sntp__opts_1ga86d651d8eb07687208308deef95a23ba" kindref="member">SNTP_RETRY_TIMEOUT</ref> * 10)</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Maximum retry timeout (in milliseconds). </para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/net/apps/sntp_opts.h" line="159" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/apps/sntp_opts.h" bodystart="159" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="group__sntp__opts_1gaef477c145ae404d77188b26b79b6996f" prot="public" static="no">
        <name>SNTP_SERVER_DNS</name>
        <initializer>0</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Set this to 1 to support DNS names (or IP address strings) to set sntp servers One server address/name can be defined as default if SNTP_SERVER_DNS == 1: #define SNTP_SERVER_ADDRESS &quot;pool.ntp.org&quot; </para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/net/apps/sntp_opts.h" line="72" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/apps/sntp_opts.h" bodystart="72" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="group__sntp__opts_1gafe340b98c52dedcbc041267fe13b2da6" prot="public" static="no">
        <name>SNTP_SET_SYSTEM_TIME</name>
        <param><defname>sec</defname></param>
        <initializer><ref refid="group__compiler__abstraction_1ga70624a5deb8b9199406372a7f3603ecf" kindref="member">LWIP_UNUSED_ARG</ref>(sec)</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>SNTP macro to change system time in seconds Define SNTP_SET_SYSTEM_TIME_US(sec, us) to set the time in microseconds instead of this one if you need the additional precision. </para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/net/apps/sntp_opts.h" line="53" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/apps/sntp_opts.h" bodystart="53" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="group__sntp__opts_1ga22017d43da7d4bf8d42e786b4ced4dfa" prot="public" static="no">
        <name>SNTP_STARTUP_DELAY</name>
        <initializer>0</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>According to the RFC, this shall be a random delay between 1 and 5 minutes (in milliseconds) to prevent load peaks. This can be defined to a random generation function, which must return the delay in milliseconds as u32_t. Turned off by default. </para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/net/apps/sntp_opts.h" line="117" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/apps/sntp_opts.h" bodystart="117" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="group__sntp__opts_1gae082c2f3044d500ca5e1be1d4928de75" prot="public" static="no">
        <name>SNTP_STARTUP_DELAY_FUNC</name>
        <initializer><ref refid="group__sntp__opts_1ga22017d43da7d4bf8d42e786b4ced4dfa" kindref="member">SNTP_STARTUP_DELAY</ref></initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>If you want the startup delay to be a function, define this to a function (including the brackets) and define SNTP_STARTUP_DELAY to 1. </para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/net/apps/sntp_opts.h" line="124" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/apps/sntp_opts.h" bodystart="124" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="group__sntp__opts_1ga9232c56443115be05a2f852eba21979c" prot="public" static="no">
        <name>SNTP_UPDATE_DELAY</name>
        <initializer>3600000</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>SNTP update delay - in milliseconds Default is 1 hour. Must not be beolw 15 seconds by specification (i.e. 15000) </para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/net/apps/sntp_opts.h" line="139" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/apps/sntp_opts.h" bodystart="139" bodyend="-1"/>
      </memberdef>
      </sectiondef>
    <briefdescription>
    </briefdescription>
    <detaileddescription>
<para>SNTP client options list </para>
    </detaileddescription>
    <programlisting>
<codeline lineno="1"></codeline>
<codeline lineno="6"><highlight class="comment">/*</highlight></codeline>
<codeline lineno="7"><highlight class="comment"><sp/>*<sp/>Copyright<sp/>(c)<sp/>2007-2009<sp/>Frédéric<sp/>Bernon,<sp/>Simon<sp/>Goldschmidt</highlight></codeline>
<codeline lineno="8"><highlight class="comment"><sp/>*<sp/>All<sp/>rights<sp/>reserved.</highlight></codeline>
<codeline lineno="9"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="10"><highlight class="comment"><sp/>*<sp/>Redistribution<sp/>and<sp/>use<sp/>in<sp/>source<sp/>and<sp/>binary<sp/>forms,<sp/>with<sp/>or<sp/>without<sp/>modification,</highlight></codeline>
<codeline lineno="11"><highlight class="comment"><sp/>*<sp/>are<sp/>permitted<sp/>provided<sp/>that<sp/>the<sp/>following<sp/>conditions<sp/>are<sp/>met:</highlight></codeline>
<codeline lineno="12"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="13"><highlight class="comment"><sp/>*<sp/>1.<sp/>Redistributions<sp/>of<sp/>source<sp/>code<sp/>must<sp/>retain<sp/>the<sp/>above<sp/>copyright<sp/>notice,</highlight></codeline>
<codeline lineno="14"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>this<sp/>list<sp/>of<sp/>conditions<sp/>and<sp/>the<sp/>following<sp/>disclaimer.</highlight></codeline>
<codeline lineno="15"><highlight class="comment"><sp/>*<sp/>2.<sp/>Redistributions<sp/>in<sp/>binary<sp/>form<sp/>must<sp/>reproduce<sp/>the<sp/>above<sp/>copyright<sp/>notice,</highlight></codeline>
<codeline lineno="16"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>this<sp/>list<sp/>of<sp/>conditions<sp/>and<sp/>the<sp/>following<sp/>disclaimer<sp/>in<sp/>the<sp/>documentation</highlight></codeline>
<codeline lineno="17"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>and/or<sp/>other<sp/>materials<sp/>provided<sp/>with<sp/>the<sp/>distribution.</highlight></codeline>
<codeline lineno="18"><highlight class="comment"><sp/>*<sp/>3.<sp/>The<sp/>name<sp/>of<sp/>the<sp/>author<sp/>may<sp/>not<sp/>be<sp/>used<sp/>to<sp/>endorse<sp/>or<sp/>promote<sp/>products</highlight></codeline>
<codeline lineno="19"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>derived<sp/>from<sp/>this<sp/>software<sp/>without<sp/>specific<sp/>prior<sp/>written<sp/>permission.</highlight></codeline>
<codeline lineno="20"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="21"><highlight class="comment"><sp/>*<sp/>THIS<sp/>SOFTWARE<sp/>IS<sp/>PROVIDED<sp/>BY<sp/>THE<sp/>AUTHOR<sp/>``AS<sp/>IS&apos;&apos;<sp/>AND<sp/>ANY<sp/>EXPRESS<sp/>OR<sp/>IMPLIED</highlight></codeline>
<codeline lineno="22"><highlight class="comment"><sp/>*<sp/>WARRANTIES,<sp/>INCLUDING,<sp/>BUT<sp/>NOT<sp/>LIMITED<sp/>TO,<sp/>THE<sp/>IMPLIED<sp/>WARRANTIES<sp/>OF</highlight></codeline>
<codeline lineno="23"><highlight class="comment"><sp/>*<sp/>MERCHANTABILITY<sp/>AND<sp/>FITNESS<sp/>FOR<sp/>A<sp/>PARTICULAR<sp/>PURPOSE<sp/>ARE<sp/>DISCLAIMED.<sp/>IN<sp/>NO<sp/>EVENT</highlight></codeline>
<codeline lineno="24"><highlight class="comment"><sp/>*<sp/>SHALL<sp/>THE<sp/>AUTHOR<sp/>BE<sp/>LIABLE<sp/>FOR<sp/>ANY<sp/>DIRECT,<sp/>INDIRECT,<sp/>INCIDENTAL,<sp/>SPECIAL,</highlight></codeline>
<codeline lineno="25"><highlight class="comment"><sp/>*<sp/>EXEMPLARY,<sp/>OR<sp/>CONSEQUENTIAL<sp/>DAMAGES<sp/>(INCLUDING,<sp/>BUT<sp/>NOT<sp/>LIMITED<sp/>TO,<sp/>PROCUREMENT</highlight></codeline>
<codeline lineno="26"><highlight class="comment"><sp/>*<sp/>OF<sp/>SUBSTITUTE<sp/>GOODS<sp/>OR<sp/>SERVICES;<sp/>LOSS<sp/>OF<sp/>USE,<sp/>DATA,<sp/>OR<sp/>PROFITS;<sp/>OR<sp/>BUSINESS</highlight></codeline>
<codeline lineno="27"><highlight class="comment"><sp/>*<sp/>INTERRUPTION)<sp/>HOWEVER<sp/>CAUSED<sp/>AND<sp/>ON<sp/>ANY<sp/>THEORY<sp/>OF<sp/>LIABILITY,<sp/>WHETHER<sp/>IN</highlight></codeline>
<codeline lineno="28"><highlight class="comment"><sp/>*<sp/>CONTRACT,<sp/>STRICT<sp/>LIABILITY,<sp/>OR<sp/>TORT<sp/>(INCLUDING<sp/>NEGLIGENCE<sp/>OR<sp/>OTHERWISE)<sp/>ARISING</highlight></codeline>
<codeline lineno="29"><highlight class="comment"><sp/>*<sp/>IN<sp/>ANY<sp/>WAY<sp/>OUT<sp/>OF<sp/>THE<sp/>USE<sp/>OF<sp/>THIS<sp/>SOFTWARE,<sp/>EVEN<sp/>IF<sp/>ADVISED<sp/>OF<sp/>THE<sp/>POSSIBILITY</highlight></codeline>
<codeline lineno="30"><highlight class="comment"><sp/>*<sp/>OF<sp/>SUCH<sp/>DAMAGE.</highlight></codeline>
<codeline lineno="31"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="32"><highlight class="comment"><sp/>*<sp/>This<sp/>file<sp/>is<sp/>part<sp/>of<sp/>the<sp/>lwIP<sp/>TCP/IP<sp/>stack.</highlight></codeline>
<codeline lineno="33"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="34"><highlight class="comment"><sp/>*<sp/>Author:<sp/>Frédéric<sp/>Bernon,<sp/>Simon<sp/>Goldschmidt</highlight></codeline>
<codeline lineno="35"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="36"><highlight class="comment"><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="37"><highlight class="normal"></highlight><highlight class="preprocessor">#ifndef<sp/>LWIP_HDR_APPS_SNTP_OPTS_H</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="38"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>LWIP_HDR_APPS_SNTP_OPTS_H</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="39"><highlight class="normal"></highlight></codeline>
<codeline lineno="40"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&quot;lwip/opt.h&quot;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="41"><highlight class="normal"></highlight></codeline>
<codeline lineno="52"><highlight class="preprocessor">#if<sp/>!defined<sp/>SNTP_SET_SYSTEM_TIME<sp/>||<sp/>defined<sp/>__DOXYGEN__</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="53" refid="group__sntp__opts_1gafe340b98c52dedcbc041267fe13b2da6" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>SNTP_SET_SYSTEM_TIME(sec)<sp/><sp/><sp/>LWIP_UNUSED_ARG(sec)</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="54"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="55"><highlight class="normal"></highlight></codeline>
<codeline lineno="57"><highlight class="preprocessor">#if<sp/>!defined<sp/>SNTP_MAX_SERVERS<sp/>||<sp/>defined<sp/>__DOXYGEN__</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="58" refid="group__sntp__opts_1ga5d9dc0827f402849f5c18d44e311dbc2" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>SNTP_MAX_SERVERS<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>LWIP_DHCP_MAX_NTP_SERVERS</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="59"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="60"><highlight class="normal"></highlight></codeline>
<codeline lineno="63"><highlight class="preprocessor">#if<sp/>!defined<sp/>SNTP_GET_SERVERS_FROM_DHCP<sp/>||<sp/>defined<sp/>__DOXYGEN__</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="64" refid="group__sntp__opts_1ga961a61eef942ab5378cff1e3742b3ade" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>SNTP_GET_SERVERS_FROM_DHCP<sp/>LWIP_DHCP_GET_NTP_SRV</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="65"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="66"><highlight class="normal"></highlight></codeline>
<codeline lineno="71"><highlight class="preprocessor">#if<sp/>!defined<sp/>SNTP_SERVER_DNS<sp/>||<sp/>defined<sp/>__DOXYGEN__</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="72" refid="group__sntp__opts_1gaef477c145ae404d77188b26b79b6996f" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>SNTP_SERVER_DNS<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="73"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="74"><highlight class="normal"></highlight></codeline>
<codeline lineno="78"><highlight class="preprocessor">#if<sp/>!defined<sp/>SNTP_DEBUG<sp/>||<sp/>defined<sp/>__DOXYGEN__</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="79" refid="group__sntp__opts_1ga25c6f9c14c17e218d110d826b09f8d91" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>SNTP_DEBUG<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>LWIP_DBG_OFF</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="80"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="81"><highlight class="normal"></highlight></codeline>
<codeline lineno="83"><highlight class="preprocessor">#if<sp/>!defined<sp/>SNTP_PORT<sp/>||<sp/>defined<sp/>__DOXYGEN__</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="84" refid="group__sntp__opts_1gacbee62c27f54371fc2c5259a834a0f9b" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>SNTP_PORT<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>123</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="85"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="86"><highlight class="normal"></highlight></codeline>
<codeline lineno="88"><highlight class="preprocessor">#if<sp/>!defined<sp/>SNTP_SERVER_DNS<sp/>||<sp/>defined<sp/>__DOXYGEN__</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="89"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>SNTP_SERVER_DNS<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="90"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="91"><highlight class="normal"></highlight></codeline>
<codeline lineno="106"><highlight class="preprocessor">#if<sp/>!defined<sp/>SNTP_CHECK_RESPONSE<sp/>||<sp/>defined<sp/>__DOXYGEN__</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="107" refid="group__sntp__opts_1ga7d4e12d90912d486e64f289d7f3ca446" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>SNTP_CHECK_RESPONSE<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="108"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="109"><highlight class="normal"></highlight></codeline>
<codeline lineno="116"><highlight class="preprocessor">#if<sp/>!defined<sp/>SNTP_STARTUP_DELAY<sp/>||<sp/>defined<sp/>__DOXYGEN__</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="117" refid="group__sntp__opts_1ga22017d43da7d4bf8d42e786b4ced4dfa" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>SNTP_STARTUP_DELAY<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="118"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="119"><highlight class="normal"></highlight></codeline>
<codeline lineno="123"><highlight class="preprocessor">#if<sp/>!defined<sp/>SNTP_STARTUP_DELAY_FUNC<sp/>||<sp/>defined<sp/>__DOXYGEN__</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="124" refid="group__sntp__opts_1gae082c2f3044d500ca5e1be1d4928de75" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>SNTP_STARTUP_DELAY_FUNC<sp/><sp/><sp/><sp/><sp/>SNTP_STARTUP_DELAY</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="125"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="126"><highlight class="normal"></highlight></codeline>
<codeline lineno="131"><highlight class="preprocessor">#if<sp/>!defined<sp/>SNTP_RECV_TIMEOUT<sp/>||<sp/>defined<sp/>__DOXYGEN__</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="132" refid="group__sntp__opts_1ga44cf26b9b19832d88599244711a12d08" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>SNTP_RECV_TIMEOUT<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>3000</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="133"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="134"><highlight class="normal"></highlight></codeline>
<codeline lineno="138"><highlight class="preprocessor">#if<sp/>!defined<sp/>SNTP_UPDATE_DELAY<sp/>||<sp/>defined<sp/>__DOXYGEN__</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="139" refid="group__sntp__opts_1ga9232c56443115be05a2f852eba21979c" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>SNTP_UPDATE_DELAY<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>3600000</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="140"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="141"><highlight class="normal"></highlight></codeline>
<codeline lineno="145"><highlight class="preprocessor">#if<sp/>!defined<sp/>SNTP_GET_SYSTEM_TIME<sp/>||<sp/>defined<sp/>__DOXYGEN__</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="146" refid="group__sntp__opts_1gab0ea385479a5c5c8c173f165ded2fb63" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>SNTP_GET_SYSTEM_TIME(sec,<sp/>us)<sp/><sp/><sp/><sp/><sp/>do<sp/>{<sp/>(sec)<sp/>=<sp/>0;<sp/>(us)<sp/>=<sp/>0;<sp/>}<sp/>while(0)</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="147"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="148"><highlight class="normal"></highlight></codeline>
<codeline lineno="153"><highlight class="preprocessor">#if<sp/>!defined<sp/>SNTP_RETRY_TIMEOUT<sp/>||<sp/>defined<sp/>__DOXYGEN__</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="154" refid="group__sntp__opts_1ga86d651d8eb07687208308deef95a23ba" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>SNTP_RETRY_TIMEOUT<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>SNTP_RECV_TIMEOUT</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="155"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="156"><highlight class="normal"></highlight></codeline>
<codeline lineno="158"><highlight class="preprocessor">#if<sp/>!defined<sp/>SNTP_RETRY_TIMEOUT_MAX<sp/>||<sp/>defined<sp/>__DOXYGEN__</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="159" refid="group__sntp__opts_1gafde10b3ed7cb4bb2cd2c4daa389db699" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>SNTP_RETRY_TIMEOUT_MAX<sp/><sp/><sp/><sp/><sp/><sp/>(SNTP_RETRY_TIMEOUT<sp/>*<sp/>10)</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="160"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="161"><highlight class="normal"></highlight></codeline>
<codeline lineno="165"><highlight class="preprocessor">#if<sp/>!defined<sp/>SNTP_RETRY_TIMEOUT_EXP<sp/>||<sp/>defined<sp/>__DOXYGEN__</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="166" refid="group__sntp__opts_1gafdb7e98f608cc429188d7dac356614c2" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>SNTP_RETRY_TIMEOUT_EXP<sp/><sp/><sp/><sp/><sp/><sp/>1</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="167"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="168"><highlight class="normal"></highlight></codeline>
<codeline lineno="173"><highlight class="preprocessor">#endif<sp/></highlight><highlight class="comment">/*<sp/>LWIP_HDR_APPS_SNTP_OPTS_H<sp/>*/</highlight><highlight class="preprocessor"></highlight></codeline>
    </programlisting>
    <location file="C:/Dev/git/UbixOS/sys/include/net/apps/sntp_opts.h"/>
  </compounddef>
</doxygen>
