xref: /nrf52832-nimble/rt-thread/components/net/uip/doc/html/a00145.html (revision 104654410c56c573564690304ae786df310c91fc)
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3<title>uIP 1.0: uIP initialization functions</title>
4<link href="doxygen.css" rel="stylesheet" type="text/css">
5<link href="tabs.css" rel="stylesheet" type="text/css">
6</head><body>
7<!-- Generated by Doxygen 1.4.6 -->
8<div class="tabs">
9  <ul>
10    <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
11    <li><a href="modules.html"><span>Modules</span></a></li>
12    <li><a href="classes.html"><span>Data&nbsp;Structures</span></a></li>
13    <li><a href="files.html"><span>Files</span></a></li>
14    <li><a href="examples.html"><span>Examples</span></a></li>
15  </ul></div>
16<h1>uIP initialization functions<br>
17<small>
18[<a class="el" href="a00150.html">The uIP TCP/IP stack</a>]</small>
19</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
20The uIP initialization functions are used for booting uIP.
21<p>
22
23<p>
24<table border="0" cellpadding="0" cellspacing="0">
25<tr><td></td></tr>
26<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
27<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00145.html#gc48ed5f0d27721ef62a3ed02a5ad8d2e">uip_init</a> (void)</td></tr>
28
29<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">uIP initialization function.  <a href="#gc48ed5f0d27721ef62a3ed02a5ad8d2e"></a><br></td></tr>
30<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00145.html#g22f140b02c354dfebcc7ad481c3bcd68">uip_setipid</a> (<a class="el" href="a00153.html#g77570ac4fcab86864fa1916e55676da2">u16_t</a> id)</td></tr>
31
32<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">uIP initialization function.  <a href="#g22f140b02c354dfebcc7ad481c3bcd68"></a><br></td></tr>
33</table>
34<hr><h2>Function Documentation</h2>
35<a class="anchor" name="gc48ed5f0d27721ef62a3ed02a5ad8d2e"></a><!-- doxytag: member="uip.h::uip_init" ref="gc48ed5f0d27721ef62a3ed02a5ad8d2e" args="(void)" --><p>
36<table class="mdTable" cellpadding="2" cellspacing="0">
37  <tr>
38    <td class="mdRow">
39      <table cellpadding="0" cellspacing="0" border="0">
40        <tr>
41          <td class="md" nowrap valign="top">void uip_init           </td>
42          <td class="md" valign="top">(&nbsp;</td>
43          <td class="md" nowrap valign="top">void&nbsp;</td>
44          <td class="mdname1" valign="top" nowrap>          </td>
45          <td class="md" valign="top">&nbsp;)&nbsp;</td>
46          <td class="md" nowrap></td>
47        </tr>
48      </table>
49    </td>
50  </tr>
51</table>
52<table cellspacing="5" cellpadding="0" border="0">
53  <tr>
54    <td>
55      &nbsp;
56    </td>
57    <td>
58
59<p>
60uIP initialization function.
61<p>
62This function should be called at boot up to initilize the uIP TCP/IP stack. <dl compact><dt><b>Examples: </b></dt><dd>
63<a class="el" href="a00042.html#a64">example-mainloop-with-arp.c</a>, and <a class="el" href="a00043.html#a88">example-mainloop-without-arp.c</a>.</dl>
64<p>
65Definition at line <a class="el" href="a00201.html#l00379">379</a> of file <a class="el" href="a00201.html">uip.c</a>.
66<p>
67References <a class="el" href="a00206.html#l00259">UIP_LISTENPORTS</a>.    </td>
68  </tr>
69</table>
70<a class="anchor" name="g22f140b02c354dfebcc7ad481c3bcd68"></a><!-- doxytag: member="uip.h::uip_setipid" ref="g22f140b02c354dfebcc7ad481c3bcd68" args="(u16_t id)" --><p>
71<table class="mdTable" cellpadding="2" cellspacing="0">
72  <tr>
73    <td class="mdRow">
74      <table cellpadding="0" cellspacing="0" border="0">
75        <tr>
76          <td class="md" nowrap valign="top">void uip_setipid           </td>
77          <td class="md" valign="top">(&nbsp;</td>
78          <td class="md" nowrap valign="top"><a class="el" href="a00153.html#g77570ac4fcab86864fa1916e55676da2">u16_t</a>&nbsp;</td>
79          <td class="mdname1" valign="top" nowrap> <em>id</em>          </td>
80          <td class="md" valign="top">&nbsp;)&nbsp;</td>
81          <td class="md" nowrap></td>
82        </tr>
83      </table>
84    </td>
85  </tr>
86</table>
87<table cellspacing="5" cellpadding="0" border="0">
88  <tr>
89    <td>
90      &nbsp;
91    </td>
92    <td>
93
94<p>
95uIP initialization function.
96<p>
97This function may be used at boot time to set the initial ip_id.
98<p>
99Definition at line <a class="el" href="a00201.html#l00181">181</a> of file <a class="el" href="a00201.html">uip.c</a>.    </td>
100  </tr>
101</table>
102<hr size="1"><address style="align: right;"><small>Generated on Mon Jun 12 10:23:02 2006 for uIP 1.0 by&nbsp;
103<a href="http://www.doxygen.org/index.html">
104<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>
105</body>
106</html>
107