Newer
Older
UbixOS / doc / html / prot_2dhcp_8h_source.html
<!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 V2: C:/Dev/git/UbixOS/sys/include/net/prot/dhcp.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&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></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 V2
   &#160;<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">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<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&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_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&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('prot_2dhcp_8h_source.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">dhcp.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="prot_2dhcp_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>&#160; </div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> * Copyright (c) 2001-2004 Leon Woestenberg &lt;leon.woestenberg@gmx.net&gt;</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> * Copyright (c) 2001-2004 Axon Digital Design B.V., The Netherlands.</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> * All rights reserved.</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> * Redistribution and use in source and binary forms, with or without modification,</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> * are permitted provided that the following conditions are met:</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * 1. Redistributions of source code must retain the above copyright notice,</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> *    this list of conditions and the following disclaimer.</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> * 2. Redistributions in binary form must reproduce the above copyright notice,</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> *    this list of conditions and the following disclaimer in the documentation</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> *    and/or other materials provided with the distribution.</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<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="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> *    derived from this software without specific prior written permission.</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS&#39;&#39; AND ANY EXPRESS OR IMPLIED</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment"> * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment"> * SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment"> * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment"> * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment"> * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="comment"> * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING</span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<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="l00031"></a><span class="lineno">   31</span>&#160;<span class="comment"> * OF SUCH DAMAGE.</span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="comment"> * This file is part of the lwIP TCP/IP stack.</span></div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="comment"> * Author: Leon Woestenberg &lt;leon.woestenberg@gmx.net&gt;</span></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#ifndef LWIP_HDR_PROT_DHCP_H</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">#define LWIP_HDR_PROT_DHCP_H</span></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160; </div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="opt_8h.html">net/opt.h</a>&quot;</span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160; </div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160; </div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#a23dd788b1cd28a0d834c3afefceaa1c1">   47</a></span>&#160;<span class="preprocessor">#define DHCP_CLIENT_PORT  68</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#a478f5be6fb4bfb09b235bb50cf806cc9">   48</a></span>&#160;<span class="preprocessor">#define DHCP_SERVER_PORT  67</span></div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160; </div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160; </div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160; <span class="comment">/* DHCP message item offsets and length */</span></div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#a15b8e74ffbf5eb908da440c307401c04">   52</a></span>&#160;<span class="preprocessor">#define DHCP_CHADDR_LEN   16U</span></div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#a370421b9ce80052774e0dd8a6437a025">   53</a></span>&#160;<span class="preprocessor">#define DHCP_SNAME_OFS    44U</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#a4227e9baee8b09567d1d9dda9d8a8cf3">   54</a></span>&#160;<span class="preprocessor">#define DHCP_SNAME_LEN    64U</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#a87e51df90840a08fe0a3602d126ebfe3">   55</a></span>&#160;<span class="preprocessor">#define DHCP_FILE_OFS     108U</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#a4ffd004c5d53666e9315d9571af6d41b">   56</a></span>&#160;<span class="preprocessor">#define DHCP_FILE_LEN     128U</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#a418d69a76814cebcbe22d0211c686a53">   57</a></span>&#160;<span class="preprocessor">#define DHCP_MSG_LEN      236U</span></div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#af5e2f617c0b6005fb50db9851797be1b">   58</a></span>&#160;<span class="preprocessor">#define DHCP_OPTIONS_OFS  (DHCP_MSG_LEN + 4U) </span><span class="comment">/* 4 byte: cookie */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160; </div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="preprocessor">#ifdef PACK_STRUCT_USE_INCLUDES</span></div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="preprocessor">#  include &quot;arch/bpstruct.h&quot;</span></div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;<a class="code" href="cc_8h.html#a73199061891adf1b912d20835c7d5e96">PACK_STRUCT_BEGIN</a></div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="structdhcp__msg.html">   65</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structdhcp__msg.html">dhcp_msg</a></div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;{</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;  <a class="code" href="structdhcp__msg.html#a4767f765a467152d48153a7d1f05c5b3">PACK_STRUCT_FLD_8</a>(<a class="code" href="group__compiler__abstraction.html#ga4caecabca98b43919dd11be1c0d4cd8e">u8_t</a> op);</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;  <a class="code" href="structdhcp__msg.html#a4767f765a467152d48153a7d1f05c5b3">PACK_STRUCT_FLD_8</a>(<a class="code" href="group__compiler__abstraction.html#ga4caecabca98b43919dd11be1c0d4cd8e">u8_t</a> htype);</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;  <a class="code" href="structdhcp__msg.html#a4767f765a467152d48153a7d1f05c5b3">PACK_STRUCT_FLD_8</a>(<a class="code" href="group__compiler__abstraction.html#ga4caecabca98b43919dd11be1c0d4cd8e">u8_t</a> hlen);</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;  <a class="code" href="structdhcp__msg.html#a4767f765a467152d48153a7d1f05c5b3">PACK_STRUCT_FLD_8</a>(<a class="code" href="group__compiler__abstraction.html#ga4caecabca98b43919dd11be1c0d4cd8e">u8_t</a> hops);</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;  <a class="code" href="structdhcp__msg.html#accc488cabd8c68c9b0fb32fd348ede34">PACK_STRUCT_FIELD</a>(<a class="code" href="group__compiler__abstraction.html#ga4c14294869aceba3ef9d4c0c302d0f33">u32_t</a> xid);</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;  <a class="code" href="structdhcp__msg.html#accc488cabd8c68c9b0fb32fd348ede34">PACK_STRUCT_FIELD</a>(<a class="code" href="group__compiler__abstraction.html#ga77570ac4fcab86864fa1916e55676da2">u16_t</a> secs);</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;  <a class="code" href="structdhcp__msg.html#accc488cabd8c68c9b0fb32fd348ede34">PACK_STRUCT_FIELD</a>(<a class="code" href="group__compiler__abstraction.html#ga77570ac4fcab86864fa1916e55676da2">u16_t</a> flags);</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;  <a class="code" href="structdhcp__msg.html#a1b1e3b64cb761605e306dff17be06b5e">PACK_STRUCT_FLD_S</a>(<a class="code" href="prot_2ip4_8h.html#ae5011654fcbadf6b6582b8d49446107f">ip4_addr_p_t</a> ciaddr);</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;  <a class="code" href="structdhcp__msg.html#a1b1e3b64cb761605e306dff17be06b5e">PACK_STRUCT_FLD_S</a>(<a class="code" href="prot_2ip4_8h.html#ae5011654fcbadf6b6582b8d49446107f">ip4_addr_p_t</a> yiaddr);</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;  <a class="code" href="structdhcp__msg.html#a1b1e3b64cb761605e306dff17be06b5e">PACK_STRUCT_FLD_S</a>(<a class="code" href="prot_2ip4_8h.html#ae5011654fcbadf6b6582b8d49446107f">ip4_addr_p_t</a> siaddr);</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;  <a class="code" href="structdhcp__msg.html#a1b1e3b64cb761605e306dff17be06b5e">PACK_STRUCT_FLD_S</a>(<a class="code" href="prot_2ip4_8h.html#ae5011654fcbadf6b6582b8d49446107f">ip4_addr_p_t</a> giaddr);</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;  <a class="code" href="structdhcp__msg.html#a4767f765a467152d48153a7d1f05c5b3">PACK_STRUCT_FLD_8</a>(<a class="code" href="group__compiler__abstraction.html#ga4caecabca98b43919dd11be1c0d4cd8e">u8_t</a> chaddr[<a class="code" href="prot_2dhcp_8h.html#a15b8e74ffbf5eb908da440c307401c04">DHCP_CHADDR_LEN</a>]);</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;  <a class="code" href="structdhcp__msg.html#a4767f765a467152d48153a7d1f05c5b3">PACK_STRUCT_FLD_8</a>(<a class="code" href="group__compiler__abstraction.html#ga4caecabca98b43919dd11be1c0d4cd8e">u8_t</a> sname[<a class="code" href="prot_2dhcp_8h.html#a4227e9baee8b09567d1d9dda9d8a8cf3">DHCP_SNAME_LEN</a>]);</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;  <a class="code" href="structdhcp__msg.html#a4767f765a467152d48153a7d1f05c5b3">PACK_STRUCT_FLD_8</a>(<a class="code" href="group__compiler__abstraction.html#ga4caecabca98b43919dd11be1c0d4cd8e">u8_t</a> <a class="code" href="structfile.html">file</a>[<a class="code" href="prot_2dhcp_8h.html#a4ffd004c5d53666e9315d9571af6d41b">DHCP_FILE_LEN</a>]);</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;  <a class="code" href="structdhcp__msg.html#accc488cabd8c68c9b0fb32fd348ede34">PACK_STRUCT_FIELD</a>(<a class="code" href="group__compiler__abstraction.html#ga4c14294869aceba3ef9d4c0c302d0f33">u32_t</a> cookie);</div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#a639e682d86ae2abca54841cf2d5c7b57">   82</a></span>&#160;<span class="preprocessor">#define DHCP_MIN_OPTIONS_LEN 68U</span></div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160; </div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;<span class="preprocessor">#if ((defined(DHCP_OPTIONS_LEN)) &amp;&amp; (DHCP_OPTIONS_LEN &lt; DHCP_MIN_OPTIONS_LEN))</span></div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;<span class="preprocessor">#  undef DHCP_OPTIONS_LEN</span></div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160; </div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;<span class="preprocessor">#if (!defined(DHCP_OPTIONS_LEN))</span></div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160; </div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#ae99d4be0d03f6f9c8f02f63abde91a06">   90</a></span>&#160;<span class="preprocessor">#  define DHCP_OPTIONS_LEN DHCP_MIN_OPTIONS_LEN</span></div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;  <a class="code" href="structdhcp__msg.html#a4767f765a467152d48153a7d1f05c5b3">PACK_STRUCT_FLD_8</a>(<a class="code" href="group__compiler__abstraction.html#ga4caecabca98b43919dd11be1c0d4cd8e">u8_t</a> options[<a class="code" href="prot_2dhcp_8h.html#ae99d4be0d03f6f9c8f02f63abde91a06">DHCP_OPTIONS_LEN</a>]);</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;} <a class="code" href="prot_2dhcp_8h.html#a11d5d658ec923f9b7477ed70079f2455">PACK_STRUCT_STRUCT</a>;</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;<a class="code" href="cc_8h.html#a465fef70f294e21cbf4ea51fc342f20e">PACK_STRUCT_END</a></div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;<span class="preprocessor">#ifdef PACK_STRUCT_USE_INCLUDES</span></div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;<span class="preprocessor">#  include &quot;arch/epstruct.h&quot;</span></div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160; </div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160; </div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;<span class="comment">/* DHCP client states */</span></div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bb">  101</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bba041a5104e13c4ccfe4982ca3aac677b1">  102</a></span>&#160;  <a class="code" href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bba041a5104e13c4ccfe4982ca3aac677b1">DHCP_STATE_OFF</a>             = 0,</div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bbaba0a132e9bb9e5468d04013266e8c997">  103</a></span>&#160;  <a class="code" href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bbaba0a132e9bb9e5468d04013266e8c997">DHCP_STATE_REQUESTING</a>      = 1,</div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bba04ab7401642e6e7d7dff940bf1c6ebc0">  104</a></span>&#160;  <a class="code" href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bba04ab7401642e6e7d7dff940bf1c6ebc0">DHCP_STATE_INIT</a>            = 2,</div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bba59b94c72eaa1d506d9014de5c9ff5608">  105</a></span>&#160;  <a class="code" href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bba59b94c72eaa1d506d9014de5c9ff5608">DHCP_STATE_REBOOTING</a>       = 3,</div>
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bbaf55c3505a4745661f94134f8ccaa6c27">  106</a></span>&#160;  <a class="code" href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bbaf55c3505a4745661f94134f8ccaa6c27">DHCP_STATE_REBINDING</a>       = 4,</div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bbacd567c9a791f5112e7b5a46be86548cd">  107</a></span>&#160;  <a class="code" href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bbacd567c9a791f5112e7b5a46be86548cd">DHCP_STATE_RENEWING</a>        = 5,</div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bba8a0dca73b4731e6e475dbedc75082bc5">  108</a></span>&#160;  <a class="code" href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bba8a0dca73b4731e6e475dbedc75082bc5">DHCP_STATE_SELECTING</a>       = 6,</div>
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bbaf9a6f1bd1a701f3047c542bde1d42ce8">  109</a></span>&#160;  <a class="code" href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bbaf9a6f1bd1a701f3047c542bde1d42ce8">DHCP_STATE_INFORMING</a>       = 7,</div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bba56d0710d1876bafdbf9a1c333d6d9ab9">  110</a></span>&#160;  <a class="code" href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bba56d0710d1876bafdbf9a1c333d6d9ab9">DHCP_STATE_CHECKING</a>        = 8,</div>
<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bba364344f5a66f35fd9de8daf9d1ef711a">  111</a></span>&#160;  <a class="code" href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bba364344f5a66f35fd9de8daf9d1ef711a">DHCP_STATE_PERMANENT</a>       = 9,  <span class="comment">/* not yet implemented */</span></div>
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bba1200a3d268f2eadee62987a8d7d122e8">  112</a></span>&#160;  <a class="code" href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bba1200a3d268f2eadee62987a8d7d122e8">DHCP_STATE_BOUND</a>           = 10,</div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bbac18cd7063818378187e8d0e2d7dc99a2">  113</a></span>&#160;  <a class="code" href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bbac18cd7063818378187e8d0e2d7dc99a2">DHCP_STATE_RELEASING</a>       = 11, <span class="comment">/* not yet implemented */</span></div>
<div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bba2dcc3cf888f75285cdc86c3574e1af44">  114</a></span>&#160;  <a class="code" href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bba2dcc3cf888f75285cdc86c3574e1af44">DHCP_STATE_BACKING_OFF</a>     = 12</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;} <a class="code" href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bb">dhcp_state_enum_t</a>;</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160; </div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;<span class="comment">/* DHCP op codes */</span></div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#a752b1eb7aba89801f20202b074f03b67">  118</a></span>&#160;<span class="preprocessor">#define DHCP_BOOTREQUEST            1</span></div>
<div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#a17ef000d25276ab6ca9d773af0d97d21">  119</a></span>&#160;<span class="preprocessor">#define DHCP_BOOTREPLY              2</span></div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160; </div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;<span class="comment">/* DHCP message types */</span></div>
<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#a368aca81d0a71853aa3939f546cc25ae">  122</a></span>&#160;<span class="preprocessor">#define DHCP_DISCOVER               1</span></div>
<div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#a4649df4abbae20e28fe422d09decd450">  123</a></span>&#160;<span class="preprocessor">#define DHCP_OFFER                  2</span></div>
<div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#a98a346c53c91848070fd980a98fa77d1">  124</a></span>&#160;<span class="preprocessor">#define DHCP_REQUEST                3</span></div>
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#ae7469660afdf7997c020f7fbf5164548">  125</a></span>&#160;<span class="preprocessor">#define DHCP_DECLINE                4</span></div>
<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#a3cca70105d2c42c3381829f456446e0e">  126</a></span>&#160;<span class="preprocessor">#define DHCP_ACK                    5</span></div>
<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#a12682fd5edb10129309f2046504d4221">  127</a></span>&#160;<span class="preprocessor">#define DHCP_NAK                    6</span></div>
<div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#ae629d2dc5df40f03ea87cc94a5e3f3eb">  128</a></span>&#160;<span class="preprocessor">#define DHCP_RELEASE                7</span></div>
<div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#aaea6a969c0da81c2611885514bbe433f">  129</a></span>&#160;<span class="preprocessor">#define DHCP_INFORM                 8</span></div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160; </div>
<div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#aa9bbddbdf30ee61e9bc529d1981f943a">  132</a></span>&#160;<span class="preprocessor">#define DHCP_HTYPE_ETH              1</span></div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160; </div>
<div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#ac38bb410b5a906ccc81317bf2197d0d5">  134</a></span>&#160;<span class="preprocessor">#define DHCP_MAGIC_COOKIE           0x63825363UL</span></div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160; </div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;<span class="comment">/* This is a list of options for BOOTP and DHCP, see RFC 2132 for descriptions */</span></div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160; </div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;<span class="comment">/* BootP options */</span></div>
<div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#afcfde7a8c1ec0e3055d9a01ef2fa6aa9">  139</a></span>&#160;<span class="preprocessor">#define DHCP_OPTION_PAD             0</span></div>
<div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#acff5b8c45e6d63afd973aa8a0e72a901">  140</a></span>&#160;<span class="preprocessor">#define DHCP_OPTION_SUBNET_MASK     1 </span><span class="comment">/* RFC 2132 3.3 */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#a72cfc4e231017d1d116bb1d69d18ae8c">  141</a></span>&#160;<span class="preprocessor">#define DHCP_OPTION_ROUTER          3</span></div>
<div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#a8f05c5c6084fbac0be7b24101189232b">  142</a></span>&#160;<span class="preprocessor">#define DHCP_OPTION_DNS_SERVER      6</span></div>
<div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#a8336c0e435dd07302c1b433d2c9197be">  143</a></span>&#160;<span class="preprocessor">#define DHCP_OPTION_HOSTNAME        12</span></div>
<div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#ab43ba1742cc39cd192431e9c8c3ea48d">  144</a></span>&#160;<span class="preprocessor">#define DHCP_OPTION_IP_TTL          23</span></div>
<div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#abb0093dc9bbeff548b78ff876a36acd5">  145</a></span>&#160;<span class="preprocessor">#define DHCP_OPTION_MTU             26</span></div>
<div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#ac6c1fce157c3297412cfb28d0822a93b">  146</a></span>&#160;<span class="preprocessor">#define DHCP_OPTION_BROADCAST       28</span></div>
<div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#a608af55ab345fa8ee3aa32c95bb4786f">  147</a></span>&#160;<span class="preprocessor">#define DHCP_OPTION_TCP_TTL         37</span></div>
<div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#ae5a724660dd11c27d8ed477f0ee136e3">  148</a></span>&#160;<span class="preprocessor">#define DHCP_OPTION_NTP             42</span></div>
<div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#aea2eb67064efec2c65fff4497f659e7d">  149</a></span>&#160;<span class="preprocessor">#define DHCP_OPTION_END             255</span></div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160; </div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;<span class="comment">/* DHCP options */</span></div>
<div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#a1cbad840414a6617ebdb17b1b9073597">  152</a></span>&#160;<span class="preprocessor">#define DHCP_OPTION_REQUESTED_IP    50 </span><span class="comment">/* RFC 2132 9.1, requested IP address */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#a458994de9415a8a622d1a560bfd9ace4">  153</a></span>&#160;<span class="preprocessor">#define DHCP_OPTION_LEASE_TIME      51 </span><span class="comment">/* RFC 2132 9.2, time in seconds, in 4 bytes */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#afa25c2c462288d2ab8cec19d22af661f">  154</a></span>&#160;<span class="preprocessor">#define DHCP_OPTION_OVERLOAD        52 </span><span class="comment">/* RFC2132 9.3, use file and/or sname field for options */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160; </div>
<div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#ab023a7a8b3307a68a2eff10a217e48a8">  156</a></span>&#160;<span class="preprocessor">#define DHCP_OPTION_MESSAGE_TYPE    53 </span><span class="comment">/* RFC 2132 9.6, important for DHCP */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#a9cf37917cca6ff44e6e409e1fc30ce6b">  157</a></span>&#160;<span class="preprocessor">#define DHCP_OPTION_MESSAGE_TYPE_LEN 1</span></div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160; </div>
<div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#a3bdf84c273501fb73ad217dcab87bb4a">  159</a></span>&#160;<span class="preprocessor">#define DHCP_OPTION_SERVER_ID       54 </span><span class="comment">/* RFC 2132 9.7, server IP address */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#a8b484e555c18f2d20df9a2267f35bced">  160</a></span>&#160;<span class="preprocessor">#define DHCP_OPTION_PARAMETER_REQUEST_LIST  55 </span><span class="comment">/* RFC 2132 9.8, requested option types */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160; </div>
<div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#aabc084bbce4768f1a2ec17caa0aac858">  162</a></span>&#160;<span class="preprocessor">#define DHCP_OPTION_MAX_MSG_SIZE    57 </span><span class="comment">/* RFC 2132 9.10, message size accepted &gt;= 576 */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#a73960c1209385e0b3f8d9c0e4f6f438f">  163</a></span>&#160;<span class="preprocessor">#define DHCP_OPTION_MAX_MSG_SIZE_LEN 2</span></div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160; </div>
<div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#ac32aa14a7fed99bcff08d10ca2dafc4d">  165</a></span>&#160;<span class="preprocessor">#define DHCP_OPTION_T1              58 </span><span class="comment">/* T1 renewal time */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#ab9a44c5141f2c790f94ec2dd8a1a4f7e">  166</a></span>&#160;<span class="preprocessor">#define DHCP_OPTION_T2              59 </span><span class="comment">/* T2 rebinding time */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#ac004aa5925855cd107487c9312b5163a">  167</a></span>&#160;<span class="preprocessor">#define DHCP_OPTION_US              60</span></div>
<div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#ad1167da7c0637c6b1ef309115c25b7e6">  168</a></span>&#160;<span class="preprocessor">#define DHCP_OPTION_CLIENT_ID       61</span></div>
<div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#a03f2ea40cc8472e24c994c5882815f7c">  169</a></span>&#160;<span class="preprocessor">#define DHCP_OPTION_TFTP_SERVERNAME 66</span></div>
<div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#a75ddf8dd302393bf841cab237615eb67">  170</a></span>&#160;<span class="preprocessor">#define DHCP_OPTION_BOOTFILE        67</span></div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160; </div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;<span class="comment">/* possible combinations of overloading the file and sname fields with options */</span></div>
<div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#abcd7ac0e3fe54f86f33d1b79855d5de7">  173</a></span>&#160;<span class="preprocessor">#define DHCP_OVERLOAD_NONE          0</span></div>
<div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#a04a7b3f1d9138c82c51f2752d440c13e">  174</a></span>&#160;<span class="preprocessor">#define DHCP_OVERLOAD_FILE          1</span></div>
<div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#a76d647c8774a4169ac92e01400bbb6ea">  175</a></span>&#160;<span class="preprocessor">#define DHCP_OVERLOAD_SNAME         2</span></div>
<div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="prot_2dhcp_8h.html#a07ea61064695eda45483c4c0a192614c">  176</a></span>&#160;<span class="preprocessor">#define DHCP_OVERLOAD_SNAME_FILE    3</span></div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160; </div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160; </div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;}</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160; </div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/*LWIP_HDR_PROT_DHCP_H*/</span><span class="preprocessor"></span></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aprot_2dhcp_8h_html_ad85c86fcabb42bf16849247f12d810bbacd567c9a791f5112e7b5a46be86548cd"><div class="ttname"><a href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bbacd567c9a791f5112e7b5a46be86548cd">DHCP_STATE_RENEWING</a></div><div class="ttdef"><b>Definition:</b> <a href="prot_2dhcp_8h_source.html#l00107">dhcp.h:107</a></div></div>
<div class="ttc" id="aopt_8h_html"><div class="ttname"><a href="opt_8h.html">opt.h</a></div></div>
<div class="ttc" id="aprot_2dhcp_8h_html_ad85c86fcabb42bf16849247f12d810bba59b94c72eaa1d506d9014de5c9ff5608"><div class="ttname"><a href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bba59b94c72eaa1d506d9014de5c9ff5608">DHCP_STATE_REBOOTING</a></div><div class="ttdef"><b>Definition:</b> <a href="prot_2dhcp_8h_source.html#l00105">dhcp.h:105</a></div></div>
<div class="ttc" id="aprot_2dhcp_8h_html_ad85c86fcabb42bf16849247f12d810bbaf55c3505a4745661f94134f8ccaa6c27"><div class="ttname"><a href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bbaf55c3505a4745661f94134f8ccaa6c27">DHCP_STATE_REBINDING</a></div><div class="ttdef"><b>Definition:</b> <a href="prot_2dhcp_8h_source.html#l00106">dhcp.h:106</a></div></div>
<div class="ttc" id="aprot_2dhcp_8h_html_ad85c86fcabb42bf16849247f12d810bbaba0a132e9bb9e5468d04013266e8c997"><div class="ttname"><a href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bbaba0a132e9bb9e5468d04013266e8c997">DHCP_STATE_REQUESTING</a></div><div class="ttdef"><b>Definition:</b> <a href="prot_2dhcp_8h_source.html#l00103">dhcp.h:103</a></div></div>
<div class="ttc" id="aprot_2dhcp_8h_html_ad85c86fcabb42bf16849247f12d810bbac18cd7063818378187e8d0e2d7dc99a2"><div class="ttname"><a href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bbac18cd7063818378187e8d0e2d7dc99a2">DHCP_STATE_RELEASING</a></div><div class="ttdef"><b>Definition:</b> <a href="prot_2dhcp_8h_source.html#l00113">dhcp.h:113</a></div></div>
<div class="ttc" id="agroup__compiler__abstraction_html_ga77570ac4fcab86864fa1916e55676da2"><div class="ttname"><a href="group__compiler__abstraction.html#ga77570ac4fcab86864fa1916e55676da2">u16_t</a></div><div class="ttdeci">uint16_t u16_t</div><div class="ttdef"><b>Definition:</b> <a href="arch_8h_source.html#l00124">arch.h:124</a></div></div>
<div class="ttc" id="astructdhcp__msg_html"><div class="ttname"><a href="structdhcp__msg.html">dhcp_msg</a></div><div class="ttdef"><b>Definition:</b> <a href="prot_2dhcp_8h_source.html#l00065">dhcp.h:65</a></div></div>
<div class="ttc" id="aprot_2dhcp_8h_html_ad85c86fcabb42bf16849247f12d810bba041a5104e13c4ccfe4982ca3aac677b1"><div class="ttname"><a href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bba041a5104e13c4ccfe4982ca3aac677b1">DHCP_STATE_OFF</a></div><div class="ttdef"><b>Definition:</b> <a href="prot_2dhcp_8h_source.html#l00102">dhcp.h:102</a></div></div>
<div class="ttc" id="aprot_2dhcp_8h_html_a15b8e74ffbf5eb908da440c307401c04"><div class="ttname"><a href="prot_2dhcp_8h.html#a15b8e74ffbf5eb908da440c307401c04">DHCP_CHADDR_LEN</a></div><div class="ttdeci">#define DHCP_CHADDR_LEN</div><div class="ttdef"><b>Definition:</b> <a href="prot_2dhcp_8h_source.html#l00052">dhcp.h:52</a></div></div>
<div class="ttc" id="astructfile_html"><div class="ttname"><a href="structfile.html">file</a></div><div class="ttdef"><b>Definition:</b> <a href="descrip_8h_source.html#l00067">descrip.h:67</a></div></div>
<div class="ttc" id="aprot_2dhcp_8h_html_a11d5d658ec923f9b7477ed70079f2455"><div class="ttname"><a href="prot_2dhcp_8h.html#a11d5d658ec923f9b7477ed70079f2455">PACK_STRUCT_STRUCT</a></div><div class="ttdeci">PACK_STRUCT_BEGIN struct dhcp_msg PACK_STRUCT_STRUCT</div></div>
<div class="ttc" id="aprot_2dhcp_8h_html_ad85c86fcabb42bf16849247f12d810bba1200a3d268f2eadee62987a8d7d122e8"><div class="ttname"><a href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bba1200a3d268f2eadee62987a8d7d122e8">DHCP_STATE_BOUND</a></div><div class="ttdef"><b>Definition:</b> <a href="prot_2dhcp_8h_source.html#l00112">dhcp.h:112</a></div></div>
<div class="ttc" id="agroup__compiler__abstraction_html_ga4c14294869aceba3ef9d4c0c302d0f33"><div class="ttname"><a href="group__compiler__abstraction.html#ga4c14294869aceba3ef9d4c0c302d0f33">u32_t</a></div><div class="ttdeci">uint32_t u32_t</div><div class="ttdef"><b>Definition:</b> <a href="arch_8h_source.html#l00126">arch.h:126</a></div></div>
<div class="ttc" id="aprot_2dhcp_8h_html_a4ffd004c5d53666e9315d9571af6d41b"><div class="ttname"><a href="prot_2dhcp_8h.html#a4ffd004c5d53666e9315d9571af6d41b">DHCP_FILE_LEN</a></div><div class="ttdeci">#define DHCP_FILE_LEN</div><div class="ttdef"><b>Definition:</b> <a href="prot_2dhcp_8h_source.html#l00056">dhcp.h:56</a></div></div>
<div class="ttc" id="aprot_2dhcp_8h_html_ae99d4be0d03f6f9c8f02f63abde91a06"><div class="ttname"><a href="prot_2dhcp_8h.html#ae99d4be0d03f6f9c8f02f63abde91a06">DHCP_OPTIONS_LEN</a></div><div class="ttdeci">#define DHCP_OPTIONS_LEN</div><div class="ttdef"><b>Definition:</b> <a href="prot_2dhcp_8h_source.html#l00090">dhcp.h:90</a></div></div>
<div class="ttc" id="aprot_2dhcp_8h_html_ad85c86fcabb42bf16849247f12d810bb"><div class="ttname"><a href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bb">dhcp_state_enum_t</a></div><div class="ttdeci">dhcp_state_enum_t</div><div class="ttdef"><b>Definition:</b> <a href="prot_2dhcp_8h_source.html#l00101">dhcp.h:101</a></div></div>
<div class="ttc" id="aprot_2dhcp_8h_html_ad85c86fcabb42bf16849247f12d810bba2dcc3cf888f75285cdc86c3574e1af44"><div class="ttname"><a href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bba2dcc3cf888f75285cdc86c3574e1af44">DHCP_STATE_BACKING_OFF</a></div><div class="ttdef"><b>Definition:</b> <a href="prot_2dhcp_8h_source.html#l00114">dhcp.h:114</a></div></div>
<div class="ttc" id="aprot_2dhcp_8h_html_ad85c86fcabb42bf16849247f12d810bba364344f5a66f35fd9de8daf9d1ef711a"><div class="ttname"><a href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bba364344f5a66f35fd9de8daf9d1ef711a">DHCP_STATE_PERMANENT</a></div><div class="ttdef"><b>Definition:</b> <a href="prot_2dhcp_8h_source.html#l00111">dhcp.h:111</a></div></div>
<div class="ttc" id="agroup__compiler__abstraction_html_ga4caecabca98b43919dd11be1c0d4cd8e"><div class="ttname"><a href="group__compiler__abstraction.html#ga4caecabca98b43919dd11be1c0d4cd8e">u8_t</a></div><div class="ttdeci">uint8_t u8_t</div><div class="ttdef"><b>Definition:</b> <a href="arch_8h_source.html#l00122">arch.h:122</a></div></div>
<div class="ttc" id="acc_8h_html_a73199061891adf1b912d20835c7d5e96"><div class="ttname"><a href="cc_8h.html#a73199061891adf1b912d20835c7d5e96">PACK_STRUCT_BEGIN</a></div><div class="ttdeci">#define PACK_STRUCT_BEGIN</div><div class="ttdef"><b>Definition:</b> <a href="cc_8h_source.html#l00008">cc.h:8</a></div></div>
<div class="ttc" id="aprot_2dhcp_8h_html_a4227e9baee8b09567d1d9dda9d8a8cf3"><div class="ttname"><a href="prot_2dhcp_8h.html#a4227e9baee8b09567d1d9dda9d8a8cf3">DHCP_SNAME_LEN</a></div><div class="ttdeci">#define DHCP_SNAME_LEN</div><div class="ttdef"><b>Definition:</b> <a href="prot_2dhcp_8h_source.html#l00054">dhcp.h:54</a></div></div>
<div class="ttc" id="aprot_2dhcp_8h_html_ad85c86fcabb42bf16849247f12d810bbaf9a6f1bd1a701f3047c542bde1d42ce8"><div class="ttname"><a href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bbaf9a6f1bd1a701f3047c542bde1d42ce8">DHCP_STATE_INFORMING</a></div><div class="ttdef"><b>Definition:</b> <a href="prot_2dhcp_8h_source.html#l00109">dhcp.h:109</a></div></div>
<div class="ttc" id="aprot_2dhcp_8h_html_ad85c86fcabb42bf16849247f12d810bba56d0710d1876bafdbf9a1c333d6d9ab9"><div class="ttname"><a href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bba56d0710d1876bafdbf9a1c333d6d9ab9">DHCP_STATE_CHECKING</a></div><div class="ttdef"><b>Definition:</b> <a href="prot_2dhcp_8h_source.html#l00110">dhcp.h:110</a></div></div>
<div class="ttc" id="astructdhcp__msg_html_a4767f765a467152d48153a7d1f05c5b3"><div class="ttname"><a href="structdhcp__msg.html#a4767f765a467152d48153a7d1f05c5b3">dhcp_msg::PACK_STRUCT_FLD_8</a></div><div class="ttdeci">PACK_STRUCT_FLD_8(u8_t op)</div></div>
<div class="ttc" id="aprot_2dhcp_8h_html_ad85c86fcabb42bf16849247f12d810bba04ab7401642e6e7d7dff940bf1c6ebc0"><div class="ttname"><a href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bba04ab7401642e6e7d7dff940bf1c6ebc0">DHCP_STATE_INIT</a></div><div class="ttdef"><b>Definition:</b> <a href="prot_2dhcp_8h_source.html#l00104">dhcp.h:104</a></div></div>
<div class="ttc" id="astructdhcp__msg_html_a1b1e3b64cb761605e306dff17be06b5e"><div class="ttname"><a href="structdhcp__msg.html#a1b1e3b64cb761605e306dff17be06b5e">dhcp_msg::PACK_STRUCT_FLD_S</a></div><div class="ttdeci">PACK_STRUCT_FLD_S(ip4_addr_p_t ciaddr)</div></div>
<div class="ttc" id="aprot_2dhcp_8h_html_ad85c86fcabb42bf16849247f12d810bba8a0dca73b4731e6e475dbedc75082bc5"><div class="ttname"><a href="prot_2dhcp_8h.html#ad85c86fcabb42bf16849247f12d810bba8a0dca73b4731e6e475dbedc75082bc5">DHCP_STATE_SELECTING</a></div><div class="ttdef"><b>Definition:</b> <a href="prot_2dhcp_8h_source.html#l00108">dhcp.h:108</a></div></div>
<div class="ttc" id="astructdhcp__msg_html_accc488cabd8c68c9b0fb32fd348ede34"><div class="ttname"><a href="structdhcp__msg.html#accc488cabd8c68c9b0fb32fd348ede34">dhcp_msg::PACK_STRUCT_FIELD</a></div><div class="ttdeci">PACK_STRUCT_FIELD(u32_t xid)</div></div>
<div class="ttc" id="aprot_2ip4_8h_html_ae5011654fcbadf6b6582b8d49446107f"><div class="ttname"><a href="prot_2ip4_8h.html#ae5011654fcbadf6b6582b8d49446107f">ip4_addr_p_t</a></div><div class="ttdeci">typedefPACK_STRUCT_END struct ip4_addr_packed ip4_addr_p_t</div><div class="ttdef"><b>Definition:</b> <a href="prot_2ip4_8h_source.html#l00061">ip4.h:61</a></div></div>
<div class="ttc" id="acc_8h_html_a465fef70f294e21cbf4ea51fc342f20e"><div class="ttname"><a href="cc_8h.html#a465fef70f294e21cbf4ea51fc342f20e">PACK_STRUCT_END</a></div><div class="ttdeci">#define PACK_STRUCT_END</div><div class="ttdef"><b>Definition:</b> <a href="cc_8h_source.html#l00009">cc.h:9</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_e6bb53534ac0e427887cf7a94c0c004e.html">C:</a></li><li class="navelem"><a class="el" href="dir_d99d5d4662bf24521eef49da6a8cd34d.html">Dev</a></li><li class="navelem"><a class="el" href="dir_474a4b306371cf7e7f6fa12cb0b77df6.html">git</a></li><li class="navelem"><a class="el" href="dir_849109bbd106d461b128d63e5babcedf.html">UbixOS</a></li><li class="navelem"><a class="el" href="dir_6ec99f6d7d5182ba8913209ab70c9f18.html">sys</a></li><li class="navelem"><a class="el" href="dir_d1be8160e739b6eed1f7843efdbae1b3.html">include</a></li><li class="navelem"><a class="el" href="dir_8a452844cab5a537277ef786999bc939.html">net</a></li><li class="navelem"><a class="el" href="dir_8e7aca17b1c41a49c5b9b5f4a96a3b39.html">prot</a></li><li class="navelem"><a class="el" href="prot_2dhcp_8h.html">dhcp.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>