<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.16"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>UbixOS: include/net/apps/snmp_opts.h Source File</title> <link href="../../tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="../../jquery.js"></script> <script type="text/javascript" src="../../dynsections.js"></script> <link href="../../navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="../../resize.js"></script> <script type="text/javascript" src="../../navtreedata.js"></script> <script type="text/javascript" src="../../navtree.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(initResizable); /* @license-end */</script> <link href="../../doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">UbixOS  <span id="projectnumber">2.0</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.16 --> <script type="text/javascript" src="../../menudata.js"></script> <script type="text/javascript" src="../../menu.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('../../',false,false,'search.php','Search'); }); /* @license-end */</script> <div id="main-nav"></div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function(){initNavTree('dd/df4/snmp__opts_8h_source.html','../../');}); /* @license-end */ </script> <div id="doc-content"> <div class="header"> <div class="headertitle"> <div class="title">snmp_opts.h</div> </div> </div><!--header--> <div class="contents"> <a href="../../dd/df4/snmp__opts_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>  </div> <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">/*</span></div> <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * Copyright (c) 2015 Dirk Ziegelmeier</span></div> <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * All rights reserved.</span></div> <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> *</span></div> <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * Redistribution and use in source and binary forms, with or without modification,</span></div> <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * are permitted provided that the following conditions are met:</span></div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> *</span></div> <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * 1. Redistributions of source code must retain the above copyright notice,</span></div> <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * this list of conditions and the following disclaimer.</span></div> <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * 2. Redistributions in binary form must reproduce the above copyright notice,</span></div> <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * this list of conditions and the following disclaimer in the documentation</span></div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * and/or other materials provided with the distribution.</span></div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> * 3. The name of the author may not be used to endorse or promote products</span></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> * derived from this software without specific prior written permission.</span></div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> *</span></div> <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment"> * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED</span></div> <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment"> * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF</span></div> <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment"> * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT</span></div> <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment"> * SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,</span></div> <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment"> * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT</span></div> <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment"> * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span></div> <div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="comment"> * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span></div> <div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="comment"> * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING</span></div> <div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="comment"> * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY</span></div> <div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment"> * OF SUCH DAMAGE.</span></div> <div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="comment"> *</span></div> <div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="comment"> * This file is part of the lwIP TCP/IP stack.</span></div> <div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="comment"> *</span></div> <div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="comment"> * Author: Dirk Ziegelmeier</span></div> <div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="comment"> *</span></div> <div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment"> */</span></div> <div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#ifndef LWIP_HDR_SNMP_OPTS_H</span></div> <div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor">#define LWIP_HDR_SNMP_OPTS_H</span></div> <div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  </div> <div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor">#include "lwip/opt.h"</span></div> <div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  </div> <div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="preprocessor">#if !defined LWIP_SNMP || defined __DOXYGEN__</span></div> <div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="../../d0/d65/group__snmp__opts.html#gaf4900859dc53f19f5f67cc34e48ad68c"> 57</a></span> <span class="preprocessor">#define LWIP_SNMP 0</span></div> <div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  </div> <div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="preprocessor">#if !defined SNMP_USE_NETCONN || defined __DOXYGEN__</span></div> <div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="../../d0/d65/group__snmp__opts.html#gaf02e8b4b69e99df784e9953401477078"> 66</a></span> <span class="preprocessor">#define SNMP_USE_NETCONN 0</span></div> <div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  </div> <div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="preprocessor">#if !defined SNMP_USE_RAW || defined __DOXYGEN__</span></div> <div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="../../d0/d65/group__snmp__opts.html#ga8c93f4260af2eb3c50d4bc603f716f1f"> 75</a></span> <span class="preprocessor">#define SNMP_USE_RAW 1</span></div> <div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  </div> <div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <span class="preprocessor">#if SNMP_USE_NETCONN && SNMP_USE_RAW</span></div> <div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="preprocessor">#error SNMP stack can use only one of the APIs {raw, netconn}</span></div> <div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  </div> <div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <span class="preprocessor">#if LWIP_SNMP && !SNMP_USE_NETCONN && !SNMP_USE_RAW</span></div> <div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="preprocessor">#error SNMP stack needs a receive API and UDP {raw, netconn}</span></div> <div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  </div> <div class="line"><a name="l00086"></a><span class="lineno"> 86</span> <span class="preprocessor">#if SNMP_USE_NETCONN</span></div> <div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  </div> <div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="preprocessor">#if !defined SNMP_STACK_SIZE || defined __DOXYGEN__</span></div> <div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="preprocessor">#define SNMP_STACK_SIZE DEFAULT_THREAD_STACKSIZE</span></div> <div class="line"><a name="l00092"></a><span class="lineno"> 92</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  </div> <div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="preprocessor">#if !defined SNMP_THREAD_PRIO || defined __DOXYGEN__</span></div> <div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="preprocessor">#define SNMP_THREAD_PRIO DEFAULT_THREAD_PRIO</span></div> <div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00100"></a><span class="lineno"> 100</span> <span class="preprocessor">#endif </span><span class="comment">/* SNMP_USE_NETCONN */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  </div> <div class="line"><a name="l00106"></a><span class="lineno"> 106</span> <span class="preprocessor">#if !defined SNMP_TRAP_DESTINATIONS || defined __DOXYGEN__</span></div> <div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="../../d0/d65/group__snmp__opts.html#ga692343b0cc555c302fd713003d4f8a08"> 107</a></span> <span class="preprocessor">#define SNMP_TRAP_DESTINATIONS 1</span></div> <div class="line"><a name="l00108"></a><span class="lineno"> 108</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  </div> <div class="line"><a name="l00115"></a><span class="lineno"> 115</span> <span class="preprocessor">#if !defined SNMP_SAFE_REQUESTS || defined __DOXYGEN__</span></div> <div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="../../d0/d65/group__snmp__opts.html#ga95e39047b9bcb385780b06b35af49261"> 116</a></span> <span class="preprocessor">#define SNMP_SAFE_REQUESTS 1</span></div> <div class="line"><a name="l00117"></a><span class="lineno"> 117</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  </div> <div class="line"><a name="l00122"></a><span class="lineno"> 122</span> <span class="preprocessor">#if !defined SNMP_MAX_OCTET_STRING_LEN || defined __DOXYGEN__</span></div> <div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="../../d0/d65/group__snmp__opts.html#gae50cdd09697aa54a8b9f26432ac55ac2"> 123</a></span> <span class="preprocessor">#define SNMP_MAX_OCTET_STRING_LEN 127</span></div> <div class="line"><a name="l00124"></a><span class="lineno"> 124</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  </div> <div class="line"><a name="l00130"></a><span class="lineno"> 130</span> <span class="preprocessor">#if !defined SNMP_MAX_OBJ_ID_LEN || defined __DOXYGEN__</span></div> <div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="../../d0/d65/group__snmp__opts.html#ga3ad9d293f90e3c885c4e3263a9064a41"> 131</a></span> <span class="preprocessor">#define SNMP_MAX_OBJ_ID_LEN 50</span></div> <div class="line"><a name="l00132"></a><span class="lineno"> 132</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  </div> <div class="line"><a name="l00134"></a><span class="lineno"> 134</span> <span class="preprocessor">#if !defined SNMP_MAX_VALUE_SIZE || defined __DOXYGEN__</span></div> <div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  </div> <div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="../../d0/d65/group__snmp__opts.html#gac815d0dbe576299546ac612e7eaf3f90"> 138</a></span> <span class="preprocessor">#define SNMP_MIN_VALUE_SIZE (2 * sizeof(u32_t*)) </span><span class="comment">/* size required to store the basic types (8 bytes for counter64) */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  </div> <div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="../../d0/d65/group__snmp__opts.html#gafb4362575bc50476a7401a1ed14787f0"> 142</a></span> <span class="preprocessor">#define SNMP_MAX_VALUE_SIZE LWIP_MAX(LWIP_MAX((SNMP_MAX_OCTET_STRING_LEN), sizeof(u32_t)*(SNMP_MAX_OBJ_ID_LEN)), SNMP_MIN_VALUE_SIZE)</span></div> <div class="line"><a name="l00143"></a><span class="lineno"> 143</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  </div> <div class="line"><a name="l00149"></a><span class="lineno"> 149</span> <span class="preprocessor">#if !defined SNMP_COMMUNITY || defined __DOXYGEN__</span></div> <div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="../../d0/d65/group__snmp__opts.html#ga316c1e1f06f0c7ca56589563809e64db"> 150</a></span> <span class="preprocessor">#define SNMP_COMMUNITY "public"</span></div> <div class="line"><a name="l00151"></a><span class="lineno"> 151</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  </div> <div class="line"><a name="l00157"></a><span class="lineno"> 157</span> <span class="preprocessor">#if !defined SNMP_COMMUNITY_WRITE || defined __DOXYGEN__</span></div> <div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="../../d0/d65/group__snmp__opts.html#gafb9414dc7a33978b62a3a9838b659464"> 158</a></span> <span class="preprocessor">#define SNMP_COMMUNITY_WRITE "private"</span></div> <div class="line"><a name="l00159"></a><span class="lineno"> 159</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  </div> <div class="line"><a name="l00164"></a><span class="lineno"> 164</span> <span class="preprocessor">#if !defined SNMP_COMMUNITY_TRAP || defined __DOXYGEN__</span></div> <div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="../../d0/d65/group__snmp__opts.html#gaaefc9dda5f8e5c296018a463cdbac39b"> 165</a></span> <span class="preprocessor">#define SNMP_COMMUNITY_TRAP "public"</span></div> <div class="line"><a name="l00166"></a><span class="lineno"> 166</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  </div> <div class="line"><a name="l00173"></a><span class="lineno"> 173</span> <span class="preprocessor">#if !defined SNMP_MAX_COMMUNITY_STR_LEN || defined __DOXYGEN__</span></div> <div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="../../d0/d65/group__snmp__opts.html#ga0e98b58159a77688f87f9f50479177fd"> 174</a></span> <span class="preprocessor">#define SNMP_MAX_COMMUNITY_STR_LEN LWIP_MAX(LWIP_MAX(sizeof(SNMP_COMMUNITY), sizeof(SNMP_COMMUNITY_WRITE)), sizeof(SNMP_COMMUNITY_TRAP))</span></div> <div class="line"><a name="l00175"></a><span class="lineno"> 175</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  </div> <div class="line"><a name="l00180"></a><span class="lineno"> 180</span> <span class="preprocessor">#if !defined SNMP_DEVICE_ENTERPRISE_OID || defined __DOXYGEN__</span></div> <div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="../../d0/d65/group__snmp__opts.html#ga868bfef6efe05515c86291137a633479"> 181</a></span> <span class="preprocessor">#define SNMP_LWIP_ENTERPRISE_OID 26381</span></div> <div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  </div> <div class="line"><a name="l00195"></a><span class="lineno"><a class="line" href="../../d0/d65/group__snmp__opts.html#ga09118b734e85df152af098744e888b34"> 195</a></span> <span class="preprocessor">#define SNMP_DEVICE_ENTERPRISE_OID {1, 3, 6, 1, 4, 1, SNMP_LWIP_ENTERPRISE_OID}</span></div> <div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  </div> <div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="../../d0/d65/group__snmp__opts.html#ga9e39ba5308f5c7ac5296c7d05fdfa97f"> 199</a></span> <span class="preprocessor">#define SNMP_DEVICE_ENTERPRISE_OID_LEN 7</span></div> <div class="line"><a name="l00200"></a><span class="lineno"> 200</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  </div> <div class="line"><a name="l00205"></a><span class="lineno"> 205</span> <span class="preprocessor">#if !defined SNMP_DEBUG || defined __DOXYGEN__</span></div> <div class="line"><a name="l00206"></a><span class="lineno"><a class="line" href="../../d0/d65/group__snmp__opts.html#gac041000361342f51ad5ee5d8f6254e02"> 206</a></span> <span class="preprocessor">#define SNMP_DEBUG LWIP_DBG_OFF</span></div> <div class="line"><a name="l00207"></a><span class="lineno"> 207</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  </div> <div class="line"><a name="l00212"></a><span class="lineno"> 212</span> <span class="preprocessor">#if !defined SNMP_MIB_DEBUG || defined __DOXYGEN__</span></div> <div class="line"><a name="l00213"></a><span class="lineno"><a class="line" href="../../d0/d65/group__snmp__opts.html#gac12240265db443eaf9d31d187e586c16"> 213</a></span> <span class="preprocessor">#define SNMP_MIB_DEBUG LWIP_DBG_OFF</span></div> <div class="line"><a name="l00214"></a><span class="lineno"> 214</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  </div> <div class="line"><a name="l00219"></a><span class="lineno"> 219</span> <span class="preprocessor">#if !defined SNMP_LWIP_MIB2 || defined __DOXYGEN__</span></div> <div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="../../d0/d65/group__snmp__opts.html#gaab667d48f48ee89f8bdbc7f134e6037d"> 220</a></span> <span class="preprocessor">#define SNMP_LWIP_MIB2 LWIP_SNMP</span></div> <div class="line"><a name="l00221"></a><span class="lineno"> 221</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  </div> <div class="line"><a name="l00226"></a><span class="lineno"> 226</span> <span class="preprocessor">#if !defined SNMP_LWIP_MIB2_SYSDESC || defined __DOXYGEN__</span></div> <div class="line"><a name="l00227"></a><span class="lineno"><a class="line" href="../../d0/d65/group__snmp__opts.html#gae93a105b421a2ca91e862da5087cec73"> 227</a></span> <span class="preprocessor">#define SNMP_LWIP_MIB2_SYSDESC "lwIP"</span></div> <div class="line"><a name="l00228"></a><span class="lineno"> 228</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  </div> <div class="line"><a name="l00234"></a><span class="lineno"> 234</span> <span class="preprocessor">#if !defined SNMP_LWIP_MIB2_SYSNAME || defined __DOXYGEN__</span></div> <div class="line"><a name="l00235"></a><span class="lineno"><a class="line" href="../../d0/d65/group__snmp__opts.html#ga80ba46f9517a51b5477f13082b2bcf98"> 235</a></span> <span class="preprocessor">#define SNMP_LWIP_MIB2_SYSNAME "FQDN-unk"</span></div> <div class="line"><a name="l00236"></a><span class="lineno"> 236</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  </div> <div class="line"><a name="l00242"></a><span class="lineno"> 242</span> <span class="preprocessor">#if !defined SNMP_LWIP_MIB2_SYSCONTACT || defined __DOXYGEN__</span></div> <div class="line"><a name="l00243"></a><span class="lineno"><a class="line" href="../../d0/d65/group__snmp__opts.html#ga1a57501c615b630d363e0af1a504e683"> 243</a></span> <span class="preprocessor">#define SNMP_LWIP_MIB2_SYSCONTACT ""</span></div> <div class="line"><a name="l00244"></a><span class="lineno"> 244</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  </div> <div class="line"><a name="l00250"></a><span class="lineno"> 250</span> <span class="preprocessor">#if !defined SNMP_LWIP_MIB2_SYSLOCATION || defined __DOXYGEN__</span></div> <div class="line"><a name="l00251"></a><span class="lineno"><a class="line" href="../../d0/d65/group__snmp__opts.html#ga311cec98c8f7e4851d325fffe96cf8d9"> 251</a></span> <span class="preprocessor">#define SNMP_LWIP_MIB2_SYSLOCATION ""</span></div> <div class="line"><a name="l00252"></a><span class="lineno"> 252</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  </div> <div class="line"><a name="l00262"></a><span class="lineno"> 262</span> <span class="preprocessor">#if !defined SNMP_LWIP_GETBULK_MAX_REPETITIONS || defined __DOXYGEN__</span></div> <div class="line"><a name="l00263"></a><span class="lineno"><a class="line" href="../../d0/d65/group__snmp__opts.html#ga5a24152aa5f3c2837b9a3145aa3c59f3"> 263</a></span> <span class="preprocessor">#define SNMP_LWIP_GETBULK_MAX_REPETITIONS 0</span></div> <div class="line"><a name="l00264"></a><span class="lineno"> 264</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  </div> <div class="line"><a name="l00270"></a><span class="lineno"> 270</span> <span class="comment">/*</span></div> <div class="line"><a name="l00271"></a><span class="lineno"> 271</span> <span class="comment"> ------------------------------------</span></div> <div class="line"><a name="l00272"></a><span class="lineno"> 272</span> <span class="comment"> ---------- SNMPv3 options ----------</span></div> <div class="line"><a name="l00273"></a><span class="lineno"> 273</span> <span class="comment"> ------------------------------------</span></div> <div class="line"><a name="l00274"></a><span class="lineno"> 274</span> <span class="comment">*/</span></div> <div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  </div> <div class="line"><a name="l00281"></a><span class="lineno"> 281</span> <span class="preprocessor">#ifndef LWIP_SNMP_V3</span></div> <div class="line"><a name="l00282"></a><span class="lineno"><a class="line" href="../../dd/df4/snmp__opts_8h.html#a1fe0e120f979ed400f649019edcefe2b"> 282</a></span> <span class="preprocessor">#define LWIP_SNMP_V3 0</span></div> <div class="line"><a name="l00283"></a><span class="lineno"> 283</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  </div> <div class="line"><a name="l00285"></a><span class="lineno"> 285</span> <span class="preprocessor">#ifndef LWIP_SNMP_V3_CRYPTO</span></div> <div class="line"><a name="l00286"></a><span class="lineno"><a class="line" href="../../dd/df4/snmp__opts_8h.html#a9023d215e3ae12386483f102f123d82a"> 286</a></span> <span class="preprocessor">#define LWIP_SNMP_V3_CRYPTO LWIP_SNMP_V3</span></div> <div class="line"><a name="l00287"></a><span class="lineno"> 287</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  </div> <div class="line"><a name="l00289"></a><span class="lineno"> 289</span> <span class="preprocessor">#ifndef LWIP_SNMP_V3_MBEDTLS</span></div> <div class="line"><a name="l00290"></a><span class="lineno"><a class="line" href="../../dd/df4/snmp__opts_8h.html#aec8d46ed5bf44cac4c27ab77213e6949"> 290</a></span> <span class="preprocessor">#define LWIP_SNMP_V3_MBEDTLS LWIP_SNMP_V3</span></div> <div class="line"><a name="l00291"></a><span class="lineno"> 291</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  </div> <div class="line"><a name="l00293"></a><span class="lineno"> 293</span> <span class="preprocessor">#endif </span><span class="comment">/* LWIP_HDR_SNMP_OPTS_H */</span><span class="preprocessor"></span></div> </div><!-- fragment --></div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="../../dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="../../dir_2fa1ed3146d6c2b96c5cfe4341985326.html">net</a></li><li class="navelem"><a class="el" href="../../dir_7d55327bc30028744823fa5bbef34552.html">apps</a></li><li class="navelem"><a class="el" href="../../dd/df4/snmp__opts_8h.html">snmp_opts.h</a></li> <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.16 </li> </ul> </div> </body> </html>