<?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="icmp_8h" kind="file" language="C++"> <compoundname>icmp.h</compoundname> <includes refid="opt_8h" local="yes">net/opt.h</includes> <includes refid="pbuf_8h" local="yes">net/pbuf.h</includes> <includes refid="ip__addr_8h" local="yes">net/ip_addr.h</includes> <includes refid="netif_8h" local="yes">net/netif.h</includes> <includes refid="prot_2icmp_8h" local="yes">net/prot/icmp.h</includes> <incdepgraph> <node id="17"> <label>stdarg.h</label> <link refid="stdarg_8h"/> </node> <node id="18"> <label>ubixos/kpanic.h</label> <link refid="kpanic_8h"/> </node> <node id="15"> <label>sys/io.h</label> <link refid="io_8h"/> </node> <node id="31"> <label>net/prot/icmp.h</label> <link refid="prot_2icmp_8h"/> <childnode refid="5" relation="include"> </childnode> </node> <node id="19"> <label>net/pbuf.h</label> <link refid="pbuf_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="20" relation="include"> </childnode> </node> <node id="30"> <label>net/priv/memp_priv.h</label> <link refid="memp__priv_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="27" relation="include"> </childnode> </node> <node id="1"> <label>C:/Dev/git/UbixOS/sys/include/net/icmp.h</label> <link refid="icmp_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="19" relation="include"> </childnode> <childnode refid="21" relation="include"> </childnode> <childnode refid="25" relation="include"> </childnode> <childnode refid="31" relation="include"> </childnode> </node> <node id="8"> <label>sys/select.h</label> <link refid="select_8h"/> <childnode refid="9" relation="include"> </childnode> <childnode refid="7" relation="include"> </childnode> <childnode refid="10" relation="include"> </childnode> <childnode refid="11" relation="include"> </childnode> <childnode refid="12" relation="include"> </childnode> </node> <node id="13"> <label>net/arch/cc.h</label> <link refid="cc_8h"/> <childnode refid="14" relation="include"> </childnode> </node> <node id="12"> <label>sys/_sigset.h</label> <link refid="__sigset_8h"/> <childnode refid="7" relation="include"> </childnode> </node> <node id="27"> <label>net/mem.h</label> <link refid="mem_8h"/> <childnode refid="2" relation="include"> </childnode> </node> <node id="26"> <label>net/stats.h</label> <link refid="stats_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="27" relation="include"> </childnode> <childnode refid="28" relation="include"> </childnode> </node> <node id="3"> <label>net/lwipopts.h</label> <link refid="lwipopts_8h"/> </node> <node id="6"> <label>sys/types.h</label> <link refid="include_2sys_2types_8h"/> <childnode refid="7" relation="include"> </childnode> <childnode refid="8" relation="include"> </childnode> </node> <node id="22"> <label>net/def.h</label> <link refid="def_8h"/> <childnode refid="5" relation="include"> </childnode> <childnode refid="2" relation="include"> </childnode> </node> <node id="25"> <label>net/netif.h</label> <link refid="netif_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="20" relation="include"> </childnode> <childnode refid="21" relation="include"> </childnode> <childnode refid="22" relation="include"> </childnode> <childnode refid="19" relation="include"> </childnode> <childnode refid="26" relation="include"> </childnode> </node> <node id="5"> <label>net/arch.h</label> <link refid="arch_8h"/> <childnode refid="6" relation="include"> </childnode> <childnode refid="13" relation="include"> </childnode> <childnode refid="16" relation="include"> </childnode> <childnode refid="18" relation="include"> </childnode> </node> <node id="24"> <label>net/ip6_addr.h</label> <link refid="ip6__addr_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="22" relation="include"> </childnode> </node> <node id="2"> <label>net/opt.h</label> <link refid="opt_8h"/> <childnode refid="3" relation="include"> </childnode> <childnode refid="4" relation="include"> </childnode> </node> <node id="16"> <label>lib/kprintf.h</label> <link refid="kprintf_8h"/> <childnode refid="6" relation="include"> </childnode> <childnode refid="17" relation="include"> </childnode> </node> <node id="4"> <label>net/debug.h</label> <link refid="debug_8h"/> <childnode refid="5" relation="include"> </childnode> <childnode refid="2" relation="include"> </childnode> </node> <node id="23"> <label>net/ip4_addr.h</label> <link refid="ip4__addr_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="22" relation="include"> </childnode> </node> <node id="21"> <label>net/ip_addr.h</label> <link refid="ip__addr_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="22" relation="include"> </childnode> <childnode refid="23" relation="include"> </childnode> <childnode refid="24" relation="include"> </childnode> </node> <node id="29"> <label>net/priv/memp_std.h</label> <link refid="memp__std_8h"/> </node> <node id="9"> <label>sys/cdefs.h</label> <link refid="cdefs_8h"/> </node> <node id="14"> <label>ubixos/time.h</label> <link refid="time_8h"/> <childnode refid="6" relation="include"> </childnode> <childnode refid="10" relation="include"> </childnode> <childnode refid="15" relation="include"> </childnode> </node> <node id="7"> <label>sys/_types.h</label> <link refid="__types_8h"/> </node> <node id="20"> <label>net/err.h</label> <link refid="err_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="5" relation="include"> </childnode> </node> <node id="10"> <label>sys/_timespec.h</label> <link refid="__timespec_8h"/> <childnode refid="7" relation="include"> </childnode> </node> <node id="11"> <label>sys/_timeval.h</label> <link refid="__timeval_8h"/> <childnode refid="7" relation="include"> </childnode> </node> <node id="28"> <label>net/memp.h</label> <link refid="memp_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="29" relation="include"> </childnode> <childnode refid="30" relation="include"> </childnode> <childnode refid="26" relation="include"> </childnode> </node> </incdepgraph> <sectiondef kind="define"> <memberdef kind="define" id="icmp_8h_1a8d52f47a3b8237697544280c22f2925e" prot="public" static="no"> <name>icmp_port_unreach</name> <param><defname>isipv6</defname></param> <param><defname>pbuf</defname></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/icmp.h" line="103" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/icmp.h" bodystart="103" bodyend="-1"/> </memberdef> </sectiondef> <sectiondef kind="enum"> <memberdef kind="enum" id="icmp_8h_1a17637465f209385e5d19ef47fd9266a5" prot="public" static="no" strong="no"> <type></type> <name>icmp_dur_type</name> <enumvalue id="icmp_8h_1a17637465f209385e5d19ef47fd9266a5a3cc3714544e123bdef2eadb1a4d320e3" prot="public"> <name>ICMP_DUR_NET</name> <initializer>= 0</initializer> <briefdescription> </briefdescription> <detaileddescription> <para>net unreachable </para> </detaileddescription> </enumvalue> <enumvalue id="icmp_8h_1a17637465f209385e5d19ef47fd9266a5a648ab915a76dfb7b9568e94de00da1e7" prot="public"> <name>ICMP_DUR_HOST</name> <initializer>= 1</initializer> <briefdescription> </briefdescription> <detaileddescription> <para>host unreachable </para> </detaileddescription> </enumvalue> <enumvalue id="icmp_8h_1a17637465f209385e5d19ef47fd9266a5a3c7bbd13b613990413ef167017dfbcef" prot="public"> <name>ICMP_DUR_PROTO</name> <initializer>= 2</initializer> <briefdescription> </briefdescription> <detaileddescription> <para>protocol unreachable </para> </detaileddescription> </enumvalue> <enumvalue id="icmp_8h_1a17637465f209385e5d19ef47fd9266a5ac973dd9b04e094043ccc4cf875ef5644" prot="public"> <name>ICMP_DUR_PORT</name> <initializer>= 3</initializer> <briefdescription> </briefdescription> <detaileddescription> <para>port unreachable </para> </detaileddescription> </enumvalue> <enumvalue id="icmp_8h_1a17637465f209385e5d19ef47fd9266a5a8be2bc49d42aa1a6ee1da93a8700ef5f" prot="public"> <name>ICMP_DUR_FRAG</name> <initializer>= 4</initializer> <briefdescription> </briefdescription> <detaileddescription> <para>fragmentation needed and DF set </para> </detaileddescription> </enumvalue> <enumvalue id="icmp_8h_1a17637465f209385e5d19ef47fd9266a5af63296fc25f79e56946a56a8da132c13" prot="public"> <name>ICMP_DUR_SR</name> <initializer>= 5</initializer> <briefdescription> </briefdescription> <detaileddescription> <para>source route failed </para> </detaileddescription> </enumvalue> <briefdescription> </briefdescription> <detaileddescription> <para>ICMP destination unreachable codes </para> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/icmp.h" line="55" column="19" bodyfile="C:/Dev/git/UbixOS/sys/include/net/icmp.h" bodystart="55" bodyend="68"/> </memberdef> <memberdef kind="enum" id="icmp_8h_1a058d0a0769bd38db99fc6fd1dad1324a" prot="public" static="no" strong="no"> <type></type> <name>icmp_te_type</name> <enumvalue id="icmp_8h_1a058d0a0769bd38db99fc6fd1dad1324aa827a1f8705826a6cc3c22e2571acf02c" prot="public"> <name>ICMP_TE_TTL</name> <initializer>= 0</initializer> <briefdescription> </briefdescription> <detaileddescription> <para>time to live exceeded in transit </para> </detaileddescription> </enumvalue> <enumvalue id="icmp_8h_1a058d0a0769bd38db99fc6fd1dad1324aa4d351874c3e2d4a4cf46569df28cd796" prot="public"> <name>ICMP_TE_FRAG</name> <initializer>= 1</initializer> <briefdescription> </briefdescription> <detaileddescription> <para>fragment reassembly time exceeded </para> </detaileddescription> </enumvalue> <briefdescription> </briefdescription> <detaileddescription> <para>ICMP time exceeded codes </para> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/icmp.h" line="71" column="18" bodyfile="C:/Dev/git/UbixOS/sys/include/net/icmp.h" bodystart="71" bodyend="76"/> </memberdef> </sectiondef> <briefdescription> </briefdescription> <detaileddescription> <para>ICMP API </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''<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/><adam@sics.se></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_ICMP_H</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="38"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>LWIP_HDR_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/>"<ref refid="opt_8h" kindref="compound">net/opt.h</ref>"</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="41"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>"<ref refid="pbuf_8h" kindref="compound">net/pbuf.h</ref>"</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="42"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>"<ref refid="ip__addr_8h" kindref="compound">net/ip_addr.h</ref>"</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="43"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>"<ref refid="netif_8h" kindref="compound">net/netif.h</ref>"</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="44"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>"<ref refid="prot_2icmp_8h" kindref="compound">net/prot/icmp.h</ref>"</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="45"><highlight class="normal"></highlight></codeline> <codeline lineno="46"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>LWIP_IPV6<sp/>&&<sp/>LWIP_ICMP6</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="47"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>"<ref refid="icmp6_8h" kindref="compound">net/icmp6.h</ref>"</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="48"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="49"><highlight class="normal"></highlight></codeline> <codeline lineno="50"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>__cplusplus</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="51"><highlight class="normal"></highlight><highlight class="keyword">extern</highlight><highlight class="normal"><sp/></highlight><highlight class="stringliteral">"C"</highlight><highlight class="normal"><sp/>{</highlight></codeline> <codeline lineno="52"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="53"><highlight class="normal"></highlight></codeline> <codeline lineno="55" refid="icmp_8h_1a17637465f209385e5d19ef47fd9266a5" refkind="member"><highlight class="keyword">enum</highlight><highlight class="normal"><sp/><ref refid="icmp_8h_1a17637465f209385e5d19ef47fd9266a5" kindref="member">icmp_dur_type</ref><sp/>{</highlight></codeline> <codeline lineno="57" refid="icmp_8h_1a17637465f209385e5d19ef47fd9266a5a3cc3714544e123bdef2eadb1a4d320e3" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="icmp_8h_1a17637465f209385e5d19ef47fd9266a5a3cc3714544e123bdef2eadb1a4d320e3" kindref="member">ICMP_DUR_NET</ref><sp/><sp/><sp/>=<sp/>0,</highlight></codeline> <codeline lineno="59" refid="icmp_8h_1a17637465f209385e5d19ef47fd9266a5a648ab915a76dfb7b9568e94de00da1e7" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="icmp_8h_1a17637465f209385e5d19ef47fd9266a5a648ab915a76dfb7b9568e94de00da1e7" kindref="member">ICMP_DUR_HOST</ref><sp/><sp/>=<sp/>1,</highlight></codeline> <codeline lineno="61" refid="icmp_8h_1a17637465f209385e5d19ef47fd9266a5a3c7bbd13b613990413ef167017dfbcef" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="icmp_8h_1a17637465f209385e5d19ef47fd9266a5a3c7bbd13b613990413ef167017dfbcef" kindref="member">ICMP_DUR_PROTO</ref><sp/>=<sp/>2,</highlight></codeline> <codeline lineno="63" refid="icmp_8h_1a17637465f209385e5d19ef47fd9266a5ac973dd9b04e094043ccc4cf875ef5644" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="icmp_8h_1a17637465f209385e5d19ef47fd9266a5ac973dd9b04e094043ccc4cf875ef5644" kindref="member">ICMP_DUR_PORT</ref><sp/><sp/>=<sp/>3,</highlight></codeline> <codeline lineno="65" refid="icmp_8h_1a17637465f209385e5d19ef47fd9266a5a8be2bc49d42aa1a6ee1da93a8700ef5f" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="icmp_8h_1a17637465f209385e5d19ef47fd9266a5a8be2bc49d42aa1a6ee1da93a8700ef5f" kindref="member">ICMP_DUR_FRAG</ref><sp/><sp/>=<sp/>4,</highlight></codeline> <codeline lineno="67" refid="icmp_8h_1a17637465f209385e5d19ef47fd9266a5af63296fc25f79e56946a56a8da132c13" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="icmp_8h_1a17637465f209385e5d19ef47fd9266a5af63296fc25f79e56946a56a8da132c13" kindref="member">ICMP_DUR_SR</ref><sp/><sp/><sp/><sp/>=<sp/>5</highlight></codeline> <codeline lineno="68"><highlight class="normal">};</highlight></codeline> <codeline lineno="69"><highlight class="normal"></highlight></codeline> <codeline lineno="71" refid="icmp_8h_1a058d0a0769bd38db99fc6fd1dad1324a" refkind="member"><highlight class="keyword">enum</highlight><highlight class="normal"><sp/><ref refid="icmp_8h_1a058d0a0769bd38db99fc6fd1dad1324a" kindref="member">icmp_te_type</ref><sp/>{</highlight></codeline> <codeline lineno="73" refid="icmp_8h_1a058d0a0769bd38db99fc6fd1dad1324aa827a1f8705826a6cc3c22e2571acf02c" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="icmp_8h_1a058d0a0769bd38db99fc6fd1dad1324aa827a1f8705826a6cc3c22e2571acf02c" kindref="member">ICMP_TE_TTL</ref><sp/><sp/>=<sp/>0,</highlight></codeline> <codeline lineno="75" refid="icmp_8h_1a058d0a0769bd38db99fc6fd1dad1324aa4d351874c3e2d4a4cf46569df28cd796" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="icmp_8h_1a058d0a0769bd38db99fc6fd1dad1324aa4d351874c3e2d4a4cf46569df28cd796" kindref="member">ICMP_TE_FRAG</ref><sp/>=<sp/>1</highlight></codeline> <codeline lineno="76"><highlight class="normal">};</highlight></codeline> <codeline lineno="77"><highlight class="normal"></highlight></codeline> <codeline lineno="78"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>LWIP_IPV4<sp/>&&<sp/>LWIP_ICMP<sp/></highlight><highlight class="comment">/*<sp/>don't<sp/>build<sp/>if<sp/>not<sp/>configured<sp/>for<sp/>use<sp/>in<sp/>lwipopts.h<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="79"><highlight class="normal"></highlight></codeline> <codeline lineno="80"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>icmp_input(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structpbuf" kindref="compound">pbuf</ref><sp/>*p,<sp/></highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structnetif" kindref="compound">netif</ref><sp/>*inp);</highlight></codeline> <codeline lineno="81"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>icmp_dest_unreach(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structpbuf" kindref="compound">pbuf</ref><sp/>*p,<sp/></highlight><highlight class="keyword">enum</highlight><highlight class="normal"><sp/><ref refid="icmp_8h_1a17637465f209385e5d19ef47fd9266a5" kindref="member">icmp_dur_type</ref><sp/>t);</highlight></codeline> <codeline lineno="82"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>icmp_time_exceeded(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structpbuf" kindref="compound">pbuf</ref><sp/>*p,<sp/></highlight><highlight class="keyword">enum</highlight><highlight class="normal"><sp/><ref refid="icmp_8h_1a058d0a0769bd38db99fc6fd1dad1324a" kindref="member">icmp_te_type</ref><sp/>t);</highlight></codeline> <codeline lineno="83"><highlight class="normal"></highlight></codeline> <codeline lineno="84"><highlight class="normal"></highlight><highlight class="preprocessor">#endif<sp/></highlight><highlight class="comment">/*<sp/>LWIP_IPV4<sp/>&&<sp/>LWIP_ICMP<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="85"><highlight class="normal"></highlight></codeline> <codeline lineno="86"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>LWIP_IPV4<sp/>&&<sp/>LWIP_IPV6</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="87"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>LWIP_ICMP<sp/>&&<sp/>LWIP_ICMP6</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="88"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>icmp_port_unreach(isipv6,<sp/>pbuf)<sp/>((isipv6)<sp/>?<sp/>\</highlight></codeline> <codeline lineno="89"><highlight class="preprocessor"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>icmp6_dest_unreach(pbuf,<sp/>ICMP6_DUR_PORT)<sp/>:<sp/>\</highlight></codeline> <codeline lineno="90"><highlight class="preprocessor"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>icmp_dest_unreach(pbuf,<sp/>ICMP_DUR_PORT))</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="91"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>LWIP_ICMP</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="92"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>icmp_port_unreach(isipv6,<sp/>pbuf)<sp/>do{<sp/>if(!(isipv6))<sp/>{<sp/>icmp_dest_unreach(pbuf,<sp/>ICMP_DUR_PORT);}}while(0)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="93"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>LWIP_ICMP6</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="94"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>icmp_port_unreach(isipv6,<sp/>pbuf)<sp/>do{<sp/>if(isipv6)<sp/>{<sp/>icmp6_dest_unreach(pbuf,<sp/>ICMP6_DUR_PORT);}}while(0)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="95"><highlight class="normal"></highlight><highlight class="preprocessor">#else</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="96"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>icmp_port_unreach(isipv6,<sp/>pbuf)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="97"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="98"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>LWIP_IPV6<sp/>&&<sp/>LWIP_ICMP6</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="99"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>icmp_port_unreach(isipv6,<sp/>pbuf)<sp/>icmp6_dest_unreach(pbuf,<sp/>ICMP6_DUR_PORT)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="100"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>LWIP_IPV4<sp/>&&<sp/>LWIP_ICMP</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="101"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>icmp_port_unreach(isipv6,<sp/>pbuf)<sp/>icmp_dest_unreach(pbuf,<sp/>ICMP_DUR_PORT)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="102"><highlight class="normal"></highlight><highlight class="preprocessor">#else<sp/></highlight><highlight class="comment">/*<sp/>(LWIP_IPV6<sp/>&&<sp/>LWIP_ICMP6)<sp/>||<sp/>(LWIP_IPV4<sp/>&&<sp/>LWIP_ICMP)<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="103" refid="icmp_8h_1a8d52f47a3b8237697544280c22f2925e" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>icmp_port_unreach(isipv6,<sp/>pbuf)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="104"><highlight class="normal"></highlight><highlight class="preprocessor">#endif<sp/></highlight><highlight class="comment">/*<sp/>(LWIP_IPV6<sp/>&&<sp/>LWIP_ICMP6)<sp/>||<sp/>(LWIP_IPV4<sp/>&&<sp/>LWIP_ICMP)<sp/>LWIP_IPV4*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="105"><highlight class="normal"></highlight></codeline> <codeline lineno="106"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>__cplusplus</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="107"><highlight class="normal">}</highlight></codeline> <codeline lineno="108"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="109"><highlight class="normal"></highlight></codeline> <codeline lineno="110"><highlight class="normal"></highlight><highlight class="preprocessor">#endif<sp/></highlight><highlight class="comment">/*<sp/>LWIP_HDR_ICMP_H<sp/>*/</highlight><highlight class="preprocessor"></highlight></codeline> </programlisting> <location file="C:/Dev/git/UbixOS/sys/include/net/icmp.h"/> </compounddef> </doxygen>