Newer
Older
UbixOS / doc / xml / prot_2icmp_8h.xml
<?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="prot_2icmp_8h" kind="file" language="C++">
    <compoundname>icmp.h</compoundname>
    <includes refid="arch_8h" local="yes">net/arch.h</includes>
    <includedby refid="icmp_8h" local="yes">C:/Dev/git/UbixOS/sys/include/net/icmp.h</includedby>
    <incdepgraph>
      <node id="14">
        <label>stdarg.h</label>
        <link refid="stdarg_8h"/>
      </node>
      <node id="15">
        <label>ubixos/kpanic.h</label>
        <link refid="kpanic_8h"/>
      </node>
      <node id="12">
        <label>sys/io.h</label>
        <link refid="io_8h"/>
      </node>
      <node id="1">
        <label>C:/Dev/git/UbixOS/sys/include/net/prot/icmp.h</label>
        <link refid="prot_2icmp_8h"/>
        <childnode refid="2" relation="include">
        </childnode>
      </node>
      <node id="5">
        <label>sys/select.h</label>
        <link refid="select_8h"/>
        <childnode refid="6" relation="include">
        </childnode>
        <childnode refid="4" relation="include">
        </childnode>
        <childnode refid="7" relation="include">
        </childnode>
        <childnode refid="8" relation="include">
        </childnode>
        <childnode refid="9" relation="include">
        </childnode>
      </node>
      <node id="10">
        <label>net/arch/cc.h</label>
        <link refid="cc_8h"/>
        <childnode refid="11" relation="include">
        </childnode>
      </node>
      <node id="9">
        <label>sys/_sigset.h</label>
        <link refid="__sigset_8h"/>
        <childnode refid="4" relation="include">
        </childnode>
      </node>
      <node id="3">
        <label>sys/types.h</label>
        <link refid="include_2sys_2types_8h"/>
        <childnode refid="4" relation="include">
        </childnode>
        <childnode refid="5" relation="include">
        </childnode>
      </node>
      <node id="2">
        <label>net/arch.h</label>
        <link refid="arch_8h"/>
        <childnode refid="3" relation="include">
        </childnode>
        <childnode refid="10" relation="include">
        </childnode>
        <childnode refid="13" relation="include">
        </childnode>
        <childnode refid="15" relation="include">
        </childnode>
      </node>
      <node id="13">
        <label>lib/kprintf.h</label>
        <link refid="kprintf_8h"/>
        <childnode refid="3" relation="include">
        </childnode>
        <childnode refid="14" relation="include">
        </childnode>
      </node>
      <node id="6">
        <label>sys/cdefs.h</label>
        <link refid="cdefs_8h"/>
      </node>
      <node id="11">
        <label>ubixos/time.h</label>
        <link refid="time_8h"/>
        <childnode refid="3" relation="include">
        </childnode>
        <childnode refid="7" relation="include">
        </childnode>
        <childnode refid="12" relation="include">
        </childnode>
      </node>
      <node id="4">
        <label>sys/_types.h</label>
        <link refid="__types_8h"/>
      </node>
      <node id="7">
        <label>sys/_timespec.h</label>
        <link refid="__timespec_8h"/>
        <childnode refid="4" relation="include">
        </childnode>
      </node>
      <node id="8">
        <label>sys/_timeval.h</label>
        <link refid="__timeval_8h"/>
        <childnode refid="4" relation="include">
        </childnode>
      </node>
    </incdepgraph>
    <invincdepgraph>
      <node id="1">
        <label>C:/Dev/git/UbixOS/sys/include/net/prot/icmp.h</label>
        <link refid="prot_2icmp_8h"/>
        <childnode refid="2" relation="include">
        </childnode>
      </node>
      <node id="2">
        <label>C:/Dev/git/UbixOS/sys/include/net/icmp.h</label>
        <link refid="icmp_8h"/>
      </node>
    </invincdepgraph>
    <innerclass refid="structicmp__echo__hdr" prot="public">icmp_echo_hdr</innerclass>
      <sectiondef kind="define">
      <memberdef kind="define" id="prot_2icmp_8h_1aafd8ecaee2bd9157acd53aa36786939e" prot="public" static="no">
        <name>ICMP_AM</name>
        <initializer>17    /* address mask request */</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/net/prot/icmp.h" line="57" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/prot/icmp.h" bodystart="57" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="prot_2icmp_8h_1af77f81e08bcebe7c581da033c3f95465" prot="public" static="no">
        <name>ICMP_AMR</name>
        <initializer>18    /* address mask reply */</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/net/prot/icmp.h" line="58" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/prot/icmp.h" bodystart="58" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="prot_2icmp_8h_1a87f8266c067fb604419fbf17c0d57d64" prot="public" static="no">
        <name>ICMP_DUR</name>
        <initializer>3    /* destination unreachable */</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/net/prot/icmp.h" line="47" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/prot/icmp.h" bodystart="47" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="prot_2icmp_8h_1ad58231410d58e34b455328b888a9e73c" prot="public" static="no">
        <name>ICMP_ECHO</name>
        <initializer>8    /* echo */</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/net/prot/icmp.h" line="50" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/prot/icmp.h" bodystart="50" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="prot_2icmp_8h_1af1ff8912ae85b066d9dbe6caf3334ab7" prot="public" static="no">
        <name>ICMP_ER</name>
        <initializer>0    /* echo reply */</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/net/prot/icmp.h" line="46" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/prot/icmp.h" bodystart="46" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="prot_2icmp_8h_1af9698624c0200d6be1681c9b5243d1e9" prot="public" static="no">
        <name>ICMP_IR</name>
        <initializer>16    /* information reply */</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/net/prot/icmp.h" line="56" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/prot/icmp.h" bodystart="56" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="prot_2icmp_8h_1a55b78957e5ffd7aae0db3742b2c556a4" prot="public" static="no">
        <name>ICMP_IRQ</name>
        <initializer>15    /* information request */</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/net/prot/icmp.h" line="55" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/prot/icmp.h" bodystart="55" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="prot_2icmp_8h_1a495e2e90e09c924c16ad8e6fef4b89dc" prot="public" static="no">
        <name>ICMP_PP</name>
        <initializer>12    /* parameter problem */</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/net/prot/icmp.h" line="52" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/prot/icmp.h" bodystart="52" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="prot_2icmp_8h_1af8671e386aaa07888ad2bcb6150b113f" prot="public" static="no">
        <name>ICMP_RD</name>
        <initializer>5    /* redirect */</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/net/prot/icmp.h" line="49" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/prot/icmp.h" bodystart="49" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="prot_2icmp_8h_1aeaa5cc8a0b5b0c7ffe590991b3b2a262" prot="public" static="no">
        <name>ICMP_SQ</name>
        <initializer>4    /* source quench */</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/net/prot/icmp.h" line="48" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/prot/icmp.h" bodystart="48" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="prot_2icmp_8h_1a58e03a47804158d97a9c069cc2204797" prot="public" static="no">
        <name>ICMP_TE</name>
        <initializer>11    /* time exceeded */</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/net/prot/icmp.h" line="51" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/prot/icmp.h" bodystart="51" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="prot_2icmp_8h_1a776eca11e543699d8e55d470b3809a05" prot="public" static="no">
        <name>ICMP_TS</name>
        <initializer>13    /* timestamp */</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/net/prot/icmp.h" line="53" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/prot/icmp.h" bodystart="53" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="prot_2icmp_8h_1a01f3814d260088de9777de2634130070" prot="public" static="no">
        <name>ICMP_TSR</name>
        <initializer>14    /* timestamp reply */</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/net/prot/icmp.h" line="54" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/prot/icmp.h" bodystart="54" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="prot_2icmp_8h_1a598231bf61f3b0e9f9a3117c385e0396" prot="public" static="no">
        <name>ICMPH_CODE</name>
        <param><defname>hdr</defname></param>
        <initializer>((hdr)-&gt;code)</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/net/prot/icmp.h" line="83" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/prot/icmp.h" bodystart="83" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="prot_2icmp_8h_1a785da2cdfe7fea08e8c5a5a0197534c9" prot="public" static="no">
        <name>ICMPH_CODE_SET</name>
        <param><defname>hdr</defname></param>
        <param><defname>c</defname></param>
        <initializer>((hdr)-&gt;code = (c))</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/net/prot/icmp.h" line="85" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/prot/icmp.h" bodystart="85" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="prot_2icmp_8h_1a22fef4dade8b0b3b49651e2a2cb73c79" prot="public" static="no">
        <name>ICMPH_TYPE</name>
        <param><defname>hdr</defname></param>
        <initializer>((hdr)-&gt;type)</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/net/prot/icmp.h" line="82" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/prot/icmp.h" bodystart="82" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="prot_2icmp_8h_1ace6032454f29355a352ec8218e45959f" prot="public" static="no">
        <name>ICMPH_TYPE_SET</name>
        <param><defname>hdr</defname></param>
        <param><defname>t</defname></param>
        <initializer>((hdr)-&gt;type = (t))</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/net/prot/icmp.h" line="84" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/prot/icmp.h" bodystart="84" bodyend="-1"/>
      </memberdef>
      </sectiondef>
      <sectiondef kind="var">
      <memberdef kind="variable" id="prot_2icmp_8h_1a918236f9c0f177bc0014aa9fe504ad83" prot="public" static="no" mutable="no">
        <type><ref refid="group__compiler__abstraction_1ga73199061891adf1b912d20835c7d5e96" kindref="member">PACK_STRUCT_BEGIN</ref> struct <ref refid="structicmp__echo__hdr" kindref="compound">icmp_echo_hdr</ref></type>
        <definition>PACK_STRUCT_BEGIN struct icmp_echo_hdr  PACK_STRUCT_STRUCT</definition>
        <argsstring></argsstring>
        <name>PACK_STRUCT_STRUCT</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/net/prot/icmp.h" line="75" column="20"/>
      </memberdef>
      </sectiondef>
    <briefdescription>
    </briefdescription>
    <detaileddescription>
<para>ICMP protocol definitions </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/>2001-2004<sp/>Swedish<sp/>Institute<sp/>of<sp/>Computer<sp/>Science.</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/>Adam<sp/>Dunkels<sp/>&lt;adam@sics.se&gt;</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_PROT_ICMP_H</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="38"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>LWIP_HDR_PROT_ICMP_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;<ref refid="arch_8h" kindref="compound">net/arch.h</ref>&quot;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="41"><highlight class="normal"></highlight></codeline>
<codeline lineno="42"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>__cplusplus</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="43"><highlight class="normal"></highlight><highlight class="keyword">extern</highlight><highlight class="normal"><sp/></highlight><highlight class="stringliteral">&quot;C&quot;</highlight><highlight class="normal"><sp/>{</highlight></codeline>
<codeline lineno="44"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="45"><highlight class="normal"></highlight></codeline>
<codeline lineno="46" refid="prot_2icmp_8h_1af1ff8912ae85b066d9dbe6caf3334ab7" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ICMP_ER<sp/><sp/><sp/>0<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>echo<sp/>reply<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="47" refid="prot_2icmp_8h_1a87f8266c067fb604419fbf17c0d57d64" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ICMP_DUR<sp/><sp/>3<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>destination<sp/>unreachable<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="48" refid="prot_2icmp_8h_1aeaa5cc8a0b5b0c7ffe590991b3b2a262" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ICMP_SQ<sp/><sp/><sp/>4<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>source<sp/>quench<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="49" refid="prot_2icmp_8h_1af8671e386aaa07888ad2bcb6150b113f" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ICMP_RD<sp/><sp/><sp/>5<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>redirect<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="50" refid="prot_2icmp_8h_1ad58231410d58e34b455328b888a9e73c" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ICMP_ECHO<sp/>8<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>echo<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="51" refid="prot_2icmp_8h_1a58e03a47804158d97a9c069cc2204797" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ICMP_TE<sp/><sp/>11<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>time<sp/>exceeded<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="52" refid="prot_2icmp_8h_1a495e2e90e09c924c16ad8e6fef4b89dc" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ICMP_PP<sp/><sp/>12<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>parameter<sp/>problem<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="53" refid="prot_2icmp_8h_1a776eca11e543699d8e55d470b3809a05" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ICMP_TS<sp/><sp/>13<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>timestamp<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="54" refid="prot_2icmp_8h_1a01f3814d260088de9777de2634130070" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ICMP_TSR<sp/>14<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>timestamp<sp/>reply<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="55" refid="prot_2icmp_8h_1a55b78957e5ffd7aae0db3742b2c556a4" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ICMP_IRQ<sp/>15<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>information<sp/>request<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="56" refid="prot_2icmp_8h_1af9698624c0200d6be1681c9b5243d1e9" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ICMP_IR<sp/><sp/>16<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>information<sp/>reply<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="57" refid="prot_2icmp_8h_1aafd8ecaee2bd9157acd53aa36786939e" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ICMP_AM<sp/><sp/>17<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>address<sp/>mask<sp/>request<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="58" refid="prot_2icmp_8h_1af77f81e08bcebe7c581da033c3f95465" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ICMP_AMR<sp/>18<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>address<sp/>mask<sp/>reply<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="59"><highlight class="normal"></highlight></codeline>
<codeline lineno="60"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>PACK_STRUCT_USE_INCLUDES</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="61"><highlight class="normal"></highlight><highlight class="preprocessor">#<sp/><sp/>include<sp/>&quot;arch/bpstruct.h&quot;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="62"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="63"><highlight class="normal"></highlight></codeline>
<codeline lineno="68"><highlight class="normal"><ref refid="cc_8h_1a73199061891adf1b912d20835c7d5e96" kindref="member">PACK_STRUCT_BEGIN</ref></highlight></codeline>
<codeline lineno="69" refid="structicmp__echo__hdr" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structicmp__echo__hdr" kindref="compound">icmp_echo_hdr</ref><sp/>{</highlight></codeline>
<codeline lineno="70"><highlight class="normal"><sp/><sp/><ref refid="structicmp__echo__hdr_1a0e52c238eaeadcb6f4fd9b8136488a66" kindref="member">PACK_STRUCT_FLD_8</ref>(<ref refid="group__compiler__abstraction_1ga4caecabca98b43919dd11be1c0d4cd8e" kindref="member">u8_t</ref><sp/>type);</highlight></codeline>
<codeline lineno="71"><highlight class="normal"><sp/><sp/><ref refid="structicmp__echo__hdr_1a0e52c238eaeadcb6f4fd9b8136488a66" kindref="member">PACK_STRUCT_FLD_8</ref>(<ref refid="group__compiler__abstraction_1ga4caecabca98b43919dd11be1c0d4cd8e" kindref="member">u8_t</ref><sp/>code);</highlight></codeline>
<codeline lineno="72"><highlight class="normal"><sp/><sp/><ref refid="structicmp__echo__hdr_1a5d1bdfcc4a8bdd58513ecbaea368c1ad" kindref="member">PACK_STRUCT_FIELD</ref>(<ref refid="group__compiler__abstraction_1ga77570ac4fcab86864fa1916e55676da2" kindref="member">u16_t</ref><sp/>chksum);</highlight></codeline>
<codeline lineno="73"><highlight class="normal"><sp/><sp/><ref refid="structicmp__echo__hdr_1a5d1bdfcc4a8bdd58513ecbaea368c1ad" kindref="member">PACK_STRUCT_FIELD</ref>(<ref refid="group__compiler__abstraction_1ga77570ac4fcab86864fa1916e55676da2" kindref="member">u16_t</ref><sp/></highlight><highlight class="keywordtype">id</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="74"><highlight class="normal"><sp/><sp/><ref refid="structicmp__echo__hdr_1a5d1bdfcc4a8bdd58513ecbaea368c1ad" kindref="member">PACK_STRUCT_FIELD</ref>(<ref refid="group__compiler__abstraction_1ga77570ac4fcab86864fa1916e55676da2" kindref="member">u16_t</ref><sp/>seqno);</highlight></codeline>
<codeline lineno="75"><highlight class="normal">}<sp/><ref refid="prot_2icmp_8h_1a918236f9c0f177bc0014aa9fe504ad83" kindref="member">PACK_STRUCT_STRUCT</ref>;</highlight></codeline>
<codeline lineno="76"><highlight class="normal"><ref refid="cc_8h_1a465fef70f294e21cbf4ea51fc342f20e" kindref="member">PACK_STRUCT_END</ref></highlight></codeline>
<codeline lineno="77"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>PACK_STRUCT_USE_INCLUDES</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="78"><highlight class="normal"></highlight><highlight class="preprocessor">#<sp/><sp/>include<sp/>&quot;arch/epstruct.h&quot;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="79"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="80"><highlight class="normal"></highlight></codeline>
<codeline lineno="81"><highlight class="normal"></highlight><highlight class="comment">/*<sp/>Compatibility<sp/>defines,<sp/>old<sp/>versions<sp/>used<sp/>to<sp/>combine<sp/>type<sp/>and<sp/>code<sp/>to<sp/>an<sp/>u16_t<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="82" refid="prot_2icmp_8h_1a22fef4dade8b0b3b49651e2a2cb73c79" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ICMPH_TYPE(hdr)<sp/>((hdr)-&gt;type)</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="83" refid="prot_2icmp_8h_1a598231bf61f3b0e9f9a3117c385e0396" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ICMPH_CODE(hdr)<sp/>((hdr)-&gt;code)</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="84" refid="prot_2icmp_8h_1ace6032454f29355a352ec8218e45959f" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ICMPH_TYPE_SET(hdr,<sp/>t)<sp/>((hdr)-&gt;type<sp/>=<sp/>(t))</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="85" refid="prot_2icmp_8h_1a785da2cdfe7fea08e8c5a5a0197534c9" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ICMPH_CODE_SET(hdr,<sp/>c)<sp/>((hdr)-&gt;code<sp/>=<sp/>(c))</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="86"><highlight class="normal"></highlight></codeline>
<codeline lineno="87"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>__cplusplus</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="88"><highlight class="normal">}</highlight></codeline>
<codeline lineno="89"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="90"><highlight class="normal"></highlight></codeline>
<codeline lineno="91"><highlight class="normal"></highlight><highlight class="preprocessor">#endif<sp/></highlight><highlight class="comment">/*<sp/>LWIP_HDR_PROT_ICMP_H<sp/>*/</highlight><highlight class="preprocessor"></highlight></codeline>
    </programlisting>
    <location file="C:/Dev/git/UbixOS/sys/include/net/prot/icmp.h"/>
  </compounddef>
</doxygen>