<?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_2nd6_8h" kind="file" language="C++"> <compoundname>nd6.h</compoundname> <includes local="yes">lwip/arch.h</includes> <includes local="yes">lwip/ip6_addr.h</includes> <includes local="yes">lwip/prot/ip6.h</includes> <incdepgraph> <node id="3"> <label>lwip/ip6_addr.h</label> </node> <node id="1"> <label>C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h</label> <link refid="prot_2nd6_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="3" relation="include"> </childnode> <childnode refid="4" relation="include"> </childnode> </node> <node id="4"> <label>lwip/prot/ip6.h</label> </node> <node id="2"> <label>lwip/arch.h</label> </node> </incdepgraph> <innerclass refid="structlladdr__option" prot="public">lladdr_option</innerclass> <innerclass refid="structmtu__option" prot="public">mtu_option</innerclass> <innerclass refid="structna__header" prot="public">na_header</innerclass> <innerclass refid="structns__header" prot="public">ns_header</innerclass> <innerclass refid="structprefix__option" prot="public">prefix_option</innerclass> <innerclass refid="structra__header" prot="public">ra_header</innerclass> <innerclass refid="structrdnss__option" prot="public">rdnss_option</innerclass> <innerclass refid="structredirect__header" prot="public">redirect_header</innerclass> <innerclass refid="structredirected__header__option" prot="public">redirected_header_option</innerclass> <innerclass refid="structroute__option" prot="public">route_option</innerclass> <innerclass refid="structrs__header" prot="public">rs_header</innerclass> <sectiondef kind="define"> <memberdef kind="define" id="prot_2nd6_8h_1abf05527be6e826ea4b04b6103aa08497" prot="public" static="no"> <name>LWIP_RDNSS_OPTION_MAX_SERVERS</name> <initializer>1</initializer> <briefdescription> </briefdescription> <detaileddescription> <para>Recursive DNS Server Option. </para> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" line="254" column="10" bodyfile="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" bodystart="254" bodyend="-1"/> </memberdef> <memberdef kind="define" id="prot_2nd6_8h_1a37fb4993bbbf3c4886291d38b1c03393" prot="public" static="no"> <name>ND6_FLAG_OVERRIDE</name> <initializer>(0x20)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" line="86" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" bodystart="86" bodyend="-1"/> </memberdef> <memberdef kind="define" id="prot_2nd6_8h_1af41135736265f32503ac2340dc2d3ad3" prot="public" static="no"> <name>ND6_FLAG_ROUTER</name> <initializer>(0x80)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" line="84" column="10" bodyfile="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" bodystart="84" bodyend="-1"/> </memberdef> <memberdef kind="define" id="prot_2nd6_8h_1ae6bf6657a8a6b004681948090dfa2d7c" prot="public" static="no"> <name>ND6_FLAG_SOLICITED</name> <initializer>(0x40)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" line="85" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" bodystart="85" bodyend="-1"/> </memberdef> <memberdef kind="define" id="prot_2nd6_8h_1aab6c15c9bea51fbdcc660f718bb403a8" prot="public" static="no"> <name>ND6_OPTION_TYPE_MTU</name> <initializer>(0x05)</initializer> <briefdescription> </briefdescription> <detaileddescription> <para>MTU option. </para> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" line="215" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" bodystart="215" bodyend="-1"/> </memberdef> <memberdef kind="define" id="prot_2nd6_8h_1a0225d4c8911efdbdbc2b40de208906c2" prot="public" static="no"> <name>ND6_OPTION_TYPE_PREFIX_INFO</name> <initializer>(0x03)</initializer> <briefdescription> </briefdescription> <detaileddescription> <para>Prefix information option. </para> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" line="171" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" bodystart="171" bodyend="-1"/> </memberdef> <memberdef kind="define" id="prot_2nd6_8h_1a3188b9704a8ca598f54b87c3db73272e" prot="public" static="no"> <name>ND6_OPTION_TYPE_RDNSS</name> <initializer>(25)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" line="256" column="10" bodyfile="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" bodystart="256" bodyend="-1"/> </memberdef> <memberdef kind="define" id="prot_2nd6_8h_1aeaa575c1a66ccaa2dc62ff2c0bd71619" prot="public" static="no"> <name>ND6_OPTION_TYPE_REDIR_HDR</name> <initializer>(0x04)</initializer> <briefdescription> </briefdescription> <detaileddescription> <para>Redirected header option. </para> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" line="197" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" bodystart="197" bodyend="-1"/> </memberdef> <memberdef kind="define" id="prot_2nd6_8h_1aff2e03766ee1fa15263c4aeda5097d28" prot="public" static="no"> <name>ND6_OPTION_TYPE_ROUTE_INFO</name> <initializer>(24)</initializer> <briefdescription> </briefdescription> <detaileddescription> <para>Route information option. </para> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" line="232" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" bodystart="232" bodyend="-1"/> </memberdef> <memberdef kind="define" id="prot_2nd6_8h_1a68ce8550a20cd30093d6e79e1ca51842" prot="public" static="no"> <name>ND6_OPTION_TYPE_SOURCE_LLADDR</name> <initializer>(0x01)</initializer> <briefdescription> </briefdescription> <detaileddescription> <para>Link-layer address option. </para> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" line="154" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" bodystart="154" bodyend="-1"/> </memberdef> <memberdef kind="define" id="prot_2nd6_8h_1a787edcc6357686798581dd714d68c8c1" prot="public" static="no"> <name>ND6_OPTION_TYPE_TARGET_LLADDR</name> <initializer>(0x02)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" line="155" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" bodystart="155" bodyend="-1"/> </memberdef> <memberdef kind="define" id="prot_2nd6_8h_1acc8f3704e72b27a166b120eec5a2665b" prot="public" static="no"> <name>ND6_PREFIX_FLAG_AUTONOMOUS</name> <initializer>(0x40)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" line="173" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" bodystart="173" bodyend="-1"/> </memberdef> <memberdef kind="define" id="prot_2nd6_8h_1a5714faec71a571f2334ed750a33c61a2" prot="public" static="no"> <name>ND6_PREFIX_FLAG_ON_LINK</name> <initializer>(0x80)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" line="172" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" bodystart="172" bodyend="-1"/> </memberdef> <memberdef kind="define" id="prot_2nd6_8h_1a0c8db370ade873d6af1c2fcb5b943808" prot="public" static="no"> <name>ND6_PREFIX_FLAG_ROUTER_ADDRESS</name> <initializer>(0x20)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" line="174" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" bodystart="174" bodyend="-1"/> </memberdef> <memberdef kind="define" id="prot_2nd6_8h_1a95d286358c4dd448e1967e3a03f25d27" prot="public" static="no"> <name>ND6_PREFIX_FLAG_SITE_PREFIX</name> <initializer>(0x10)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" line="175" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" bodystart="175" bodyend="-1"/> </memberdef> <memberdef kind="define" id="prot_2nd6_8h_1a7867a2c9435975e56656c78bc3c8dcaa" prot="public" static="no"> <name>ND6_RA_FLAG_HOME_AGENT</name> <initializer>(0x20)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" line="108" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" bodystart="108" bodyend="-1"/> </memberdef> <memberdef kind="define" id="prot_2nd6_8h_1a7fb1b330719d83b7525374f4beca51bc" prot="public" static="no"> <name>ND6_RA_FLAG_MANAGED_ADDR_CONFIG</name> <initializer>(0x80)</initializer> <briefdescription> </briefdescription> <detaileddescription> <para>Router advertisement message header. </para> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" line="106" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" bodystart="106" bodyend="-1"/> </memberdef> <memberdef kind="define" id="prot_2nd6_8h_1a25c3846344db73334471f1a113999d82" prot="public" static="no"> <name>ND6_RA_FLAG_OTHER_CONFIG</name> <initializer>(0x40)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" line="107" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" bodystart="107" bodyend="-1"/> </memberdef> <memberdef kind="define" id="prot_2nd6_8h_1aaa9aac80d5537508978ea0ed1b6dcdac" prot="public" static="no"> <name>ND6_RA_PREFERENCE_DISABLED</name> <initializer>(0x10)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" line="113" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" bodystart="113" bodyend="-1"/> </memberdef> <memberdef kind="define" id="prot_2nd6_8h_1a63a5d0b59f2e493f04cb1df2d1495484" prot="public" static="no"> <name>ND6_RA_PREFERENCE_HIGH</name> <initializer>(0x08)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" line="110" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" bodystart="110" bodyend="-1"/> </memberdef> <memberdef kind="define" id="prot_2nd6_8h_1ab53c89ac0b858537e224797f924aa7bf" prot="public" static="no"> <name>ND6_RA_PREFERENCE_LOW</name> <initializer>(0x18)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" line="112" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" bodystart="112" bodyend="-1"/> </memberdef> <memberdef kind="define" id="prot_2nd6_8h_1a328acad71d1e71c00e413ab2df4af4de" prot="public" static="no"> <name>ND6_RA_PREFERENCE_MASK</name> <initializer>(0x18)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" line="109" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" bodystart="109" bodyend="-1"/> </memberdef> <memberdef kind="define" id="prot_2nd6_8h_1aeee05b7e05eaed56fec06b1bb7e263dd" prot="public" static="no"> <name>ND6_RA_PREFERENCE_MEDIUM</name> <initializer>(0x00)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" line="111" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h" bodystart="111" bodyend="-1"/> </memberdef> </sectiondef> <sectiondef kind="var"> <memberdef kind="variable" id="prot_2nd6_8h_1ad54849dd53aacbde86da366985f094eb" prot="public" static="no" mutable="no"> <type><ref refid="group__compiler__abstraction_1ga73199061891adf1b912d20835c7d5e96" kindref="member">PACK_STRUCT_BEGIN</ref> struct <ref refid="structns__header" kindref="compound">ns_header</ref></type> <definition>PACK_STRUCT_BEGIN struct rdnss_option 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/nd6.h" line="60" column="20"/> </memberdef> </sectiondef> <briefdescription> </briefdescription> <detaileddescription> <para>ND6 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''<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_PROT_ND6_H</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="38"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>LWIP_HDR_PROT_ND6_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/>"lwip/arch.h"</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="41"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>"lwip/ip6_addr.h"</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="42"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>"lwip/prot/ip6.h"</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="43"><highlight class="normal"></highlight></codeline> <codeline lineno="44"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>__cplusplus</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="45"><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="46"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="47"><highlight class="normal"></highlight></codeline> <codeline lineno="49"><highlight class="preprocessor">#ifdef<sp/>PACK_STRUCT_USE_INCLUDES</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="50"><highlight class="normal"></highlight><highlight class="preprocessor">#<sp/><sp/>include<sp/>"arch/bpstruct.h"</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="51"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="52"><highlight class="normal"><ref refid="cc_8h_1a73199061891adf1b912d20835c7d5e96" kindref="member">PACK_STRUCT_BEGIN</ref></highlight></codeline> <codeline lineno="53" refid="structns__header" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structns__header" kindref="compound">ns_header</ref><sp/>{</highlight></codeline> <codeline lineno="54"><highlight class="normal"><sp/><sp/><ref refid="structns__header_1a234eadacec43dbdebad4f4a2bad4d737" kindref="member">PACK_STRUCT_FLD_8</ref>(<ref refid="group__compiler__abstraction_1ga4caecabca98b43919dd11be1c0d4cd8e" kindref="member">u8_t</ref><sp/>type);</highlight></codeline> <codeline lineno="55"><highlight class="normal"><sp/><sp/><ref refid="structns__header_1a234eadacec43dbdebad4f4a2bad4d737" kindref="member">PACK_STRUCT_FLD_8</ref>(<ref refid="group__compiler__abstraction_1ga4caecabca98b43919dd11be1c0d4cd8e" kindref="member">u8_t</ref><sp/>code);</highlight></codeline> <codeline lineno="56"><highlight class="normal"><sp/><sp/><ref refid="structns__header_1a8b960b87442f2197345dcb017490458c" kindref="member">PACK_STRUCT_FIELD</ref>(<ref refid="group__compiler__abstraction_1ga77570ac4fcab86864fa1916e55676da2" kindref="member">u16_t</ref><sp/>chksum);</highlight></codeline> <codeline lineno="57"><highlight class="normal"><sp/><sp/><ref refid="structns__header_1a8b960b87442f2197345dcb017490458c" kindref="member">PACK_STRUCT_FIELD</ref>(<ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>reserved);</highlight></codeline> <codeline lineno="58"><highlight class="normal"><sp/><sp/><ref refid="structns__header_1a9afca416f5a3caff1d19744d8f89a571" kindref="member">PACK_STRUCT_FLD_S</ref>(<ref refid="prot_2ip6_8h_1a560932a657f17ec5a0a3a78a1ce7e60a" kindref="member">ip6_addr_p_t</ref><sp/>target_address);</highlight></codeline> <codeline lineno="59"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*<sp/>Options<sp/>follow.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="60"><highlight class="normal">}<sp/><ref refid="prot_2nd6_8h_1ad54849dd53aacbde86da366985f094eb" kindref="member">PACK_STRUCT_STRUCT</ref>;</highlight></codeline> <codeline lineno="61"><highlight class="normal"><ref refid="cc_8h_1a465fef70f294e21cbf4ea51fc342f20e" kindref="member">PACK_STRUCT_END</ref></highlight></codeline> <codeline lineno="62"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>PACK_STRUCT_USE_INCLUDES</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="63"><highlight class="normal"></highlight><highlight class="preprocessor">#<sp/><sp/>include<sp/>"arch/epstruct.h"</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="64"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="65"><highlight class="normal"></highlight></codeline> <codeline lineno="67"><highlight class="preprocessor">#ifdef<sp/>PACK_STRUCT_USE_INCLUDES</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="68"><highlight class="normal"></highlight><highlight class="preprocessor">#<sp/><sp/>include<sp/>"arch/bpstruct.h"</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="69"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="70"><highlight class="normal"><ref refid="cc_8h_1a73199061891adf1b912d20835c7d5e96" kindref="member">PACK_STRUCT_BEGIN</ref></highlight></codeline> <codeline lineno="71" refid="structna__header" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structna__header" kindref="compound">na_header</ref><sp/>{</highlight></codeline> <codeline lineno="72"><highlight class="normal"><sp/><sp/><ref refid="structna__header_1a72b33d2b83b62ab3347fa764edf52257" kindref="member">PACK_STRUCT_FLD_8</ref>(<ref refid="group__compiler__abstraction_1ga4caecabca98b43919dd11be1c0d4cd8e" kindref="member">u8_t</ref><sp/>type);</highlight></codeline> <codeline lineno="73"><highlight class="normal"><sp/><sp/><ref refid="structna__header_1a72b33d2b83b62ab3347fa764edf52257" kindref="member">PACK_STRUCT_FLD_8</ref>(<ref refid="group__compiler__abstraction_1ga4caecabca98b43919dd11be1c0d4cd8e" kindref="member">u8_t</ref><sp/>code);</highlight></codeline> <codeline lineno="74"><highlight class="normal"><sp/><sp/><ref refid="structna__header_1a3c32b9182b91d8d0962259ef43fe6f2f" kindref="member">PACK_STRUCT_FIELD</ref>(<ref refid="group__compiler__abstraction_1ga77570ac4fcab86864fa1916e55676da2" kindref="member">u16_t</ref><sp/>chksum);</highlight></codeline> <codeline lineno="75"><highlight class="normal"><sp/><sp/><ref refid="structna__header_1a72b33d2b83b62ab3347fa764edf52257" kindref="member">PACK_STRUCT_FLD_8</ref>(<ref refid="group__compiler__abstraction_1ga4caecabca98b43919dd11be1c0d4cd8e" kindref="member">u8_t</ref><sp/>flags);</highlight></codeline> <codeline lineno="76"><highlight class="normal"><sp/><sp/><ref refid="structna__header_1a72b33d2b83b62ab3347fa764edf52257" kindref="member">PACK_STRUCT_FLD_8</ref>(<ref refid="group__compiler__abstraction_1ga4caecabca98b43919dd11be1c0d4cd8e" kindref="member">u8_t</ref><sp/>reserved[3]);</highlight></codeline> <codeline lineno="77"><highlight class="normal"><sp/><sp/><ref refid="structna__header_1ac6055f058c928dca86a74d6035d175cb" kindref="member">PACK_STRUCT_FLD_S</ref>(<ref refid="prot_2ip6_8h_1a560932a657f17ec5a0a3a78a1ce7e60a" kindref="member">ip6_addr_p_t</ref><sp/>target_address);</highlight></codeline> <codeline lineno="78"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*<sp/>Options<sp/>follow.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="79"><highlight class="normal">}<sp/><ref refid="prot_2nd6_8h_1ad54849dd53aacbde86da366985f094eb" kindref="member">PACK_STRUCT_STRUCT</ref>;</highlight></codeline> <codeline lineno="80"><highlight class="normal"><ref refid="cc_8h_1a465fef70f294e21cbf4ea51fc342f20e" kindref="member">PACK_STRUCT_END</ref></highlight></codeline> <codeline lineno="81"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>PACK_STRUCT_USE_INCLUDES</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="82"><highlight class="normal"></highlight><highlight class="preprocessor">#<sp/><sp/>include<sp/>"arch/epstruct.h"</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="83"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="84" refid="prot_2nd6_8h_1af41135736265f32503ac2340dc2d3ad3" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ND6_FLAG_ROUTER<sp/><sp/><sp/><sp/><sp/><sp/>(0x80)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="85" refid="prot_2nd6_8h_1ae6bf6657a8a6b004681948090dfa2d7c" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ND6_FLAG_SOLICITED<sp/><sp/><sp/>(0x40)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="86" refid="prot_2nd6_8h_1a37fb4993bbbf3c4886291d38b1c03393" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ND6_FLAG_OVERRIDE<sp/><sp/><sp/><sp/>(0x20)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="87"><highlight class="normal"></highlight></codeline> <codeline lineno="89"><highlight class="preprocessor">#ifdef<sp/>PACK_STRUCT_USE_INCLUDES</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="90"><highlight class="normal"></highlight><highlight class="preprocessor">#<sp/><sp/>include<sp/>"arch/bpstruct.h"</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="91"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="92"><highlight class="normal"><ref refid="cc_8h_1a73199061891adf1b912d20835c7d5e96" kindref="member">PACK_STRUCT_BEGIN</ref></highlight></codeline> <codeline lineno="93" refid="structrs__header" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structrs__header" kindref="compound">rs_header</ref><sp/>{</highlight></codeline> <codeline lineno="94"><highlight class="normal"><sp/><sp/><ref refid="structrs__header_1a54291223dd1e7501f4e252399eac6d4a" kindref="member">PACK_STRUCT_FLD_8</ref>(<ref refid="group__compiler__abstraction_1ga4caecabca98b43919dd11be1c0d4cd8e" kindref="member">u8_t</ref><sp/>type);</highlight></codeline> <codeline lineno="95"><highlight class="normal"><sp/><sp/><ref refid="structrs__header_1a54291223dd1e7501f4e252399eac6d4a" kindref="member">PACK_STRUCT_FLD_8</ref>(<ref refid="group__compiler__abstraction_1ga4caecabca98b43919dd11be1c0d4cd8e" kindref="member">u8_t</ref><sp/>code);</highlight></codeline> <codeline lineno="96"><highlight class="normal"><sp/><sp/><ref refid="structrs__header_1a90e37b6c47a027b0a312d093180498ea" kindref="member">PACK_STRUCT_FIELD</ref>(<ref refid="group__compiler__abstraction_1ga77570ac4fcab86864fa1916e55676da2" kindref="member">u16_t</ref><sp/>chksum);</highlight></codeline> <codeline lineno="97"><highlight class="normal"><sp/><sp/><ref refid="structrs__header_1a90e37b6c47a027b0a312d093180498ea" kindref="member">PACK_STRUCT_FIELD</ref>(<ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>reserved);</highlight></codeline> <codeline lineno="98"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*<sp/>Options<sp/>follow.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="99"><highlight class="normal">}<sp/><ref refid="prot_2nd6_8h_1ad54849dd53aacbde86da366985f094eb" kindref="member">PACK_STRUCT_STRUCT</ref>;</highlight></codeline> <codeline lineno="100"><highlight class="normal"><ref refid="cc_8h_1a465fef70f294e21cbf4ea51fc342f20e" kindref="member">PACK_STRUCT_END</ref></highlight></codeline> <codeline lineno="101"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>PACK_STRUCT_USE_INCLUDES</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="102"><highlight class="normal"></highlight><highlight class="preprocessor">#<sp/><sp/>include<sp/>"arch/epstruct.h"</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="103"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="104"><highlight class="normal"></highlight></codeline> <codeline lineno="106" refid="prot_2nd6_8h_1a7fb1b330719d83b7525374f4beca51bc" refkind="member"><highlight class="preprocessor">#define<sp/>ND6_RA_FLAG_MANAGED_ADDR_CONFIG<sp/>(0x80)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="107" refid="prot_2nd6_8h_1a25c3846344db73334471f1a113999d82" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ND6_RA_FLAG_OTHER_CONFIG<sp/>(0x40)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="108" refid="prot_2nd6_8h_1a7867a2c9435975e56656c78bc3c8dcaa" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ND6_RA_FLAG_HOME_AGENT<sp/>(0x20)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="109" refid="prot_2nd6_8h_1a328acad71d1e71c00e413ab2df4af4de" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ND6_RA_PREFERENCE_MASK<sp/>(0x18)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="110" refid="prot_2nd6_8h_1a63a5d0b59f2e493f04cb1df2d1495484" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ND6_RA_PREFERENCE_HIGH<sp/>(0x08)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="111" refid="prot_2nd6_8h_1aeee05b7e05eaed56fec06b1bb7e263dd" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ND6_RA_PREFERENCE_MEDIUM<sp/>(0x00)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="112" refid="prot_2nd6_8h_1ab53c89ac0b858537e224797f924aa7bf" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ND6_RA_PREFERENCE_LOW<sp/>(0x18)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="113" refid="prot_2nd6_8h_1aaa9aac80d5537508978ea0ed1b6dcdac" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ND6_RA_PREFERENCE_DISABLED<sp/>(0x10)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="114"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>PACK_STRUCT_USE_INCLUDES</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="115"><highlight class="normal"></highlight><highlight class="preprocessor">#<sp/><sp/>include<sp/>"arch/bpstruct.h"</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="116"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="117"><highlight class="normal"><ref refid="cc_8h_1a73199061891adf1b912d20835c7d5e96" kindref="member">PACK_STRUCT_BEGIN</ref></highlight></codeline> <codeline lineno="118" refid="structra__header" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structra__header" kindref="compound">ra_header</ref><sp/>{</highlight></codeline> <codeline lineno="119"><highlight class="normal"><sp/><sp/><ref refid="structra__header_1a587a1eb79a3802f40a97b3a5406b6bf5" kindref="member">PACK_STRUCT_FLD_8</ref>(<ref refid="group__compiler__abstraction_1ga4caecabca98b43919dd11be1c0d4cd8e" kindref="member">u8_t</ref><sp/>type);</highlight></codeline> <codeline lineno="120"><highlight class="normal"><sp/><sp/><ref refid="structra__header_1a587a1eb79a3802f40a97b3a5406b6bf5" kindref="member">PACK_STRUCT_FLD_8</ref>(<ref refid="group__compiler__abstraction_1ga4caecabca98b43919dd11be1c0d4cd8e" kindref="member">u8_t</ref><sp/>code);</highlight></codeline> <codeline lineno="121"><highlight class="normal"><sp/><sp/><ref refid="structra__header_1ae221ff37431ef6062d97afbe6e656d30" kindref="member">PACK_STRUCT_FIELD</ref>(<ref refid="group__compiler__abstraction_1ga77570ac4fcab86864fa1916e55676da2" kindref="member">u16_t</ref><sp/>chksum);</highlight></codeline> <codeline lineno="122"><highlight class="normal"><sp/><sp/><ref refid="structra__header_1a587a1eb79a3802f40a97b3a5406b6bf5" kindref="member">PACK_STRUCT_FLD_8</ref>(<ref refid="group__compiler__abstraction_1ga4caecabca98b43919dd11be1c0d4cd8e" kindref="member">u8_t</ref><sp/>current_hop_limit);</highlight></codeline> <codeline lineno="123"><highlight class="normal"><sp/><sp/><ref refid="structra__header_1a587a1eb79a3802f40a97b3a5406b6bf5" kindref="member">PACK_STRUCT_FLD_8</ref>(<ref refid="group__compiler__abstraction_1ga4caecabca98b43919dd11be1c0d4cd8e" kindref="member">u8_t</ref><sp/>flags);</highlight></codeline> <codeline lineno="124"><highlight class="normal"><sp/><sp/><ref refid="structra__header_1ae221ff37431ef6062d97afbe6e656d30" kindref="member">PACK_STRUCT_FIELD</ref>(<ref refid="group__compiler__abstraction_1ga77570ac4fcab86864fa1916e55676da2" kindref="member">u16_t</ref><sp/>router_lifetime);</highlight></codeline> <codeline lineno="125"><highlight class="normal"><sp/><sp/><ref refid="structra__header_1ae221ff37431ef6062d97afbe6e656d30" kindref="member">PACK_STRUCT_FIELD</ref>(<ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>reachable_time);</highlight></codeline> <codeline lineno="126"><highlight class="normal"><sp/><sp/><ref refid="structra__header_1ae221ff37431ef6062d97afbe6e656d30" kindref="member">PACK_STRUCT_FIELD</ref>(<ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>retrans_timer);</highlight></codeline> <codeline lineno="127"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*<sp/>Options<sp/>follow.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="128"><highlight class="normal">}<sp/><ref refid="prot_2nd6_8h_1ad54849dd53aacbde86da366985f094eb" kindref="member">PACK_STRUCT_STRUCT</ref>;</highlight></codeline> <codeline lineno="129"><highlight class="normal"><ref refid="cc_8h_1a465fef70f294e21cbf4ea51fc342f20e" kindref="member">PACK_STRUCT_END</ref></highlight></codeline> <codeline lineno="130"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>PACK_STRUCT_USE_INCLUDES</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="131"><highlight class="normal"></highlight><highlight class="preprocessor">#<sp/><sp/>include<sp/>"arch/epstruct.h"</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="132"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="133"><highlight class="normal"></highlight></codeline> <codeline lineno="135"><highlight class="preprocessor">#ifdef<sp/>PACK_STRUCT_USE_INCLUDES</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="136"><highlight class="normal"></highlight><highlight class="preprocessor">#<sp/><sp/>include<sp/>"arch/bpstruct.h"</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="137"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="138"><highlight class="normal"><ref refid="cc_8h_1a73199061891adf1b912d20835c7d5e96" kindref="member">PACK_STRUCT_BEGIN</ref></highlight></codeline> <codeline lineno="139" refid="structredirect__header" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structredirect__header" kindref="compound">redirect_header</ref><sp/>{</highlight></codeline> <codeline lineno="140"><highlight class="normal"><sp/><sp/><ref refid="structredirect__header_1a9773a169a844db8f2f820b727e6828b7" kindref="member">PACK_STRUCT_FLD_8</ref>(<ref refid="group__compiler__abstraction_1ga4caecabca98b43919dd11be1c0d4cd8e" kindref="member">u8_t</ref><sp/>type);</highlight></codeline> <codeline lineno="141"><highlight class="normal"><sp/><sp/><ref refid="structredirect__header_1a9773a169a844db8f2f820b727e6828b7" kindref="member">PACK_STRUCT_FLD_8</ref>(<ref refid="group__compiler__abstraction_1ga4caecabca98b43919dd11be1c0d4cd8e" kindref="member">u8_t</ref><sp/>code);</highlight></codeline> <codeline lineno="142"><highlight class="normal"><sp/><sp/><ref refid="structredirect__header_1a9c1bfe63a6cd1971b0d5e196573f7e00" kindref="member">PACK_STRUCT_FIELD</ref>(<ref refid="group__compiler__abstraction_1ga77570ac4fcab86864fa1916e55676da2" kindref="member">u16_t</ref><sp/>chksum);</highlight></codeline> <codeline lineno="143"><highlight class="normal"><sp/><sp/><ref refid="structredirect__header_1a9c1bfe63a6cd1971b0d5e196573f7e00" kindref="member">PACK_STRUCT_FIELD</ref>(<ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>reserved);</highlight></codeline> <codeline lineno="144"><highlight class="normal"><sp/><sp/><ref refid="structredirect__header_1a0ce0586e05ad1b9a480146a00aa14ac6" kindref="member">PACK_STRUCT_FLD_S</ref>(<ref refid="prot_2ip6_8h_1a560932a657f17ec5a0a3a78a1ce7e60a" kindref="member">ip6_addr_p_t</ref><sp/>target_address);</highlight></codeline> <codeline lineno="145"><highlight class="normal"><sp/><sp/><ref refid="structredirect__header_1a0ce0586e05ad1b9a480146a00aa14ac6" kindref="member">PACK_STRUCT_FLD_S</ref>(<ref refid="prot_2ip6_8h_1a560932a657f17ec5a0a3a78a1ce7e60a" kindref="member">ip6_addr_p_t</ref><sp/>destination_address);</highlight></codeline> <codeline lineno="146"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*<sp/>Options<sp/>follow.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="147"><highlight class="normal">}<sp/><ref refid="prot_2nd6_8h_1ad54849dd53aacbde86da366985f094eb" kindref="member">PACK_STRUCT_STRUCT</ref>;</highlight></codeline> <codeline lineno="148"><highlight class="normal"><ref refid="cc_8h_1a465fef70f294e21cbf4ea51fc342f20e" kindref="member">PACK_STRUCT_END</ref></highlight></codeline> <codeline lineno="149"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>PACK_STRUCT_USE_INCLUDES</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="150"><highlight class="normal"></highlight><highlight class="preprocessor">#<sp/><sp/>include<sp/>"arch/epstruct.h"</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="151"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="152"><highlight class="normal"></highlight></codeline> <codeline lineno="154" refid="prot_2nd6_8h_1a68ce8550a20cd30093d6e79e1ca51842" refkind="member"><highlight class="preprocessor">#define<sp/>ND6_OPTION_TYPE_SOURCE_LLADDR<sp/>(0x01)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="155" refid="prot_2nd6_8h_1a787edcc6357686798581dd714d68c8c1" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ND6_OPTION_TYPE_TARGET_LLADDR<sp/>(0x02)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="156"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>PACK_STRUCT_USE_INCLUDES</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="157"><highlight class="normal"></highlight><highlight class="preprocessor">#<sp/><sp/>include<sp/>"arch/bpstruct.h"</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="158"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="159"><highlight class="normal"><ref refid="cc_8h_1a73199061891adf1b912d20835c7d5e96" kindref="member">PACK_STRUCT_BEGIN</ref></highlight></codeline> <codeline lineno="160" refid="structlladdr__option" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structlladdr__option" kindref="compound">lladdr_option</ref><sp/>{</highlight></codeline> <codeline lineno="161"><highlight class="normal"><sp/><sp/><ref refid="structlladdr__option_1aafa5153a25930db33c5a8325a6b1d582" kindref="member">PACK_STRUCT_FLD_8</ref>(<ref refid="group__compiler__abstraction_1ga4caecabca98b43919dd11be1c0d4cd8e" kindref="member">u8_t</ref><sp/>type);</highlight></codeline> <codeline lineno="162"><highlight class="normal"><sp/><sp/><ref refid="structlladdr__option_1aafa5153a25930db33c5a8325a6b1d582" kindref="member">PACK_STRUCT_FLD_8</ref>(<ref refid="group__compiler__abstraction_1ga4caecabca98b43919dd11be1c0d4cd8e" kindref="member">u8_t</ref><sp/>length);</highlight></codeline> <codeline lineno="163"><highlight class="normal"><sp/><sp/><ref refid="structlladdr__option_1aafa5153a25930db33c5a8325a6b1d582" kindref="member">PACK_STRUCT_FLD_8</ref>(<ref refid="group__compiler__abstraction_1ga4caecabca98b43919dd11be1c0d4cd8e" kindref="member">u8_t</ref><sp/>addr[<ref refid="netif_8h_1ab887a8ec553de1be1d04cf2961c63c41" kindref="member">NETIF_MAX_HWADDR_LEN</ref>]);</highlight></codeline> <codeline lineno="164"><highlight class="normal">}<sp/><ref refid="prot_2nd6_8h_1ad54849dd53aacbde86da366985f094eb" kindref="member">PACK_STRUCT_STRUCT</ref>;</highlight></codeline> <codeline lineno="165"><highlight class="normal"><ref refid="cc_8h_1a465fef70f294e21cbf4ea51fc342f20e" kindref="member">PACK_STRUCT_END</ref></highlight></codeline> <codeline lineno="166"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>PACK_STRUCT_USE_INCLUDES</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="167"><highlight class="normal"></highlight><highlight class="preprocessor">#<sp/><sp/>include<sp/>"arch/epstruct.h"</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="168"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="169"><highlight class="normal"></highlight></codeline> <codeline lineno="171" refid="prot_2nd6_8h_1a0225d4c8911efdbdbc2b40de208906c2" refkind="member"><highlight class="preprocessor">#define<sp/>ND6_OPTION_TYPE_PREFIX_INFO<sp/>(0x03)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="172" refid="prot_2nd6_8h_1a5714faec71a571f2334ed750a33c61a2" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ND6_PREFIX_FLAG_ON_LINK<sp/>(0x80)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="173" refid="prot_2nd6_8h_1acc8f3704e72b27a166b120eec5a2665b" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ND6_PREFIX_FLAG_AUTONOMOUS<sp/>(0x40)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="174" refid="prot_2nd6_8h_1a0c8db370ade873d6af1c2fcb5b943808" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ND6_PREFIX_FLAG_ROUTER_ADDRESS<sp/>(0x20)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="175" refid="prot_2nd6_8h_1a95d286358c4dd448e1967e3a03f25d27" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ND6_PREFIX_FLAG_SITE_PREFIX<sp/>(0x10)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="176"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>PACK_STRUCT_USE_INCLUDES</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="177"><highlight class="normal"></highlight><highlight class="preprocessor">#<sp/><sp/>include<sp/>"arch/bpstruct.h"</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="178"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="179"><highlight class="normal"><ref refid="cc_8h_1a73199061891adf1b912d20835c7d5e96" kindref="member">PACK_STRUCT_BEGIN</ref></highlight></codeline> <codeline lineno="180" refid="structprefix__option" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structprefix__option" kindref="compound">prefix_option</ref><sp/>{</highlight></codeline> <codeline lineno="181"><highlight class="normal"><sp/><sp/><ref refid="structprefix__option_1a1f15126a26af6b1ef1c60774e8df6e8f" kindref="member">PACK_STRUCT_FLD_8</ref>(<ref refid="group__compiler__abstraction_1ga4caecabca98b43919dd11be1c0d4cd8e" kindref="member">u8_t</ref><sp/>type);</highlight></codeline> <codeline lineno="182"><highlight class="normal"><sp/><sp/><ref refid="structprefix__option_1a1f15126a26af6b1ef1c60774e8df6e8f" kindref="member">PACK_STRUCT_FLD_8</ref>(<ref refid="group__compiler__abstraction_1ga4caecabca98b43919dd11be1c0d4cd8e" kindref="member">u8_t</ref><sp/>length);</highlight></codeline> <codeline lineno="183"><highlight class="normal"><sp/><sp/><ref refid="structprefix__option_1a1f15126a26af6b1ef1c60774e8df6e8f" kindref="member">PACK_STRUCT_FLD_8</ref>(<ref refid="group__compiler__abstraction_1ga4caecabca98b43919dd11be1c0d4cd8e" kindref="member">u8_t</ref><sp/>prefix_length);</highlight></codeline> <codeline lineno="184"><highlight class="normal"><sp/><sp/><ref refid="structprefix__option_1a1f15126a26af6b1ef1c60774e8df6e8f" kindref="member">PACK_STRUCT_FLD_8</ref>(<ref refid="group__compiler__abstraction_1ga4caecabca98b43919dd11be1c0d4cd8e" kindref="member">u8_t</ref><sp/>flags);</highlight></codeline> <codeline lineno="185"><highlight class="normal"><sp/><sp/><ref refid="structprefix__option_1a8bfd7d4926736aff4341d8e0ba33c0b2" kindref="member">PACK_STRUCT_FIELD</ref>(<ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>valid_lifetime);</highlight></codeline> <codeline lineno="186"><highlight class="normal"><sp/><sp/><ref refid="structprefix__option_1a8bfd7d4926736aff4341d8e0ba33c0b2" kindref="member">PACK_STRUCT_FIELD</ref>(<ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>preferred_lifetime);</highlight></codeline> <codeline lineno="187"><highlight class="normal"><sp/><sp/><ref refid="structprefix__option_1a1f15126a26af6b1ef1c60774e8df6e8f" kindref="member">PACK_STRUCT_FLD_8</ref>(<ref refid="group__compiler__abstraction_1ga4caecabca98b43919dd11be1c0d4cd8e" kindref="member">u8_t</ref><sp/>reserved2[3]);</highlight></codeline> <codeline lineno="188"><highlight class="normal"><sp/><sp/><ref refid="structprefix__option_1a1f15126a26af6b1ef1c60774e8df6e8f" kindref="member">PACK_STRUCT_FLD_8</ref>(<ref refid="group__compiler__abstraction_1ga4caecabca98b43919dd11be1c0d4cd8e" kindref="member">u8_t</ref><sp/>site_prefix_length);</highlight></codeline> <codeline lineno="189"><highlight class="normal"><sp/><sp/><ref refid="structprefix__option_1a2976a36b68004e8b0ca1087252441883" kindref="member">PACK_STRUCT_FLD_S</ref>(<ref refid="prot_2ip6_8h_1a560932a657f17ec5a0a3a78a1ce7e60a" kindref="member">ip6_addr_p_t</ref><sp/>prefix);</highlight></codeline> <codeline lineno="190"><highlight class="normal">}<sp/><ref refid="prot_2nd6_8h_1ad54849dd53aacbde86da366985f094eb" kindref="member">PACK_STRUCT_STRUCT</ref>;</highlight></codeline> <codeline lineno="191"><highlight class="normal"><ref refid="cc_8h_1a465fef70f294e21cbf4ea51fc342f20e" kindref="member">PACK_STRUCT_END</ref></highlight></codeline> <codeline lineno="192"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>PACK_STRUCT_USE_INCLUDES</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="193"><highlight class="normal"></highlight><highlight class="preprocessor">#<sp/><sp/>include<sp/>"arch/epstruct.h"</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="194"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="195"><highlight class="normal"></highlight></codeline> <codeline lineno="197" refid="prot_2nd6_8h_1aeaa575c1a66ccaa2dc62ff2c0bd71619" refkind="member"><highlight class="preprocessor">#define<sp/>ND6_OPTION_TYPE_REDIR_HDR<sp/>(0x04)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="198"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>PACK_STRUCT_USE_INCLUDES</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="199"><highlight class="normal"></highlight><highlight class="preprocessor">#<sp/><sp/>include<sp/>"arch/bpstruct.h"</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="200"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="201"><highlight class="normal"><ref refid="cc_8h_1a73199061891adf1b912d20835c7d5e96" kindref="member">PACK_STRUCT_BEGIN</ref></highlight></codeline> <codeline lineno="202" refid="structredirected__header__option" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structredirected__header__option" kindref="compound">redirected_header_option</ref><sp/>{</highlight></codeline> <codeline lineno="203"><highlight class="normal"><sp/><sp/><ref refid="structredirected__header__option_1aa724d787c7d99af8871afd908797a26e" kindref="member">PACK_STRUCT_FLD_8</ref>(<ref refid="group__compiler__abstraction_1ga4caecabca98b43919dd11be1c0d4cd8e" kindref="member">u8_t</ref><sp/>type);</highlight></codeline> <codeline lineno="204"><highlight class="normal"><sp/><sp/><ref refid="structredirected__header__option_1aa724d787c7d99af8871afd908797a26e" kindref="member">PACK_STRUCT_FLD_8</ref>(<ref refid="group__compiler__abstraction_1ga4caecabca98b43919dd11be1c0d4cd8e" kindref="member">u8_t</ref><sp/>length);</highlight></codeline> <codeline lineno="205"><highlight class="normal"><sp/><sp/><ref refid="structredirected__header__option_1aa724d787c7d99af8871afd908797a26e" kindref="member">PACK_STRUCT_FLD_8</ref>(<ref refid="group__compiler__abstraction_1ga4caecabca98b43919dd11be1c0d4cd8e" kindref="member">u8_t</ref><sp/>reserved[6]);</highlight></codeline> <codeline lineno="206"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*<sp/>Portion<sp/>of<sp/>redirected<sp/>packet<sp/>follows.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="207"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*<sp/>PACK_STRUCT_FLD_8(u8_t<sp/>redirected[8]);<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="208"><highlight class="normal">}<sp/><ref refid="prot_2nd6_8h_1ad54849dd53aacbde86da366985f094eb" kindref="member">PACK_STRUCT_STRUCT</ref>;</highlight></codeline> <codeline lineno="209"><highlight class="normal"><ref refid="cc_8h_1a465fef70f294e21cbf4ea51fc342f20e" kindref="member">PACK_STRUCT_END</ref></highlight></codeline> <codeline lineno="210"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>PACK_STRUCT_USE_INCLUDES</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="211"><highlight class="normal"></highlight><highlight class="preprocessor">#<sp/><sp/>include<sp/>"arch/epstruct.h"</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="212"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="213"><highlight class="normal"></highlight></codeline> <codeline lineno="215" refid="prot_2nd6_8h_1aab6c15c9bea51fbdcc660f718bb403a8" refkind="member"><highlight class="preprocessor">#define<sp/>ND6_OPTION_TYPE_MTU<sp/>(0x05)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="216"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>PACK_STRUCT_USE_INCLUDES</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="217"><highlight class="normal"></highlight><highlight class="preprocessor">#<sp/><sp/>include<sp/>"arch/bpstruct.h"</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="218"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="219"><highlight class="normal"><ref refid="cc_8h_1a73199061891adf1b912d20835c7d5e96" kindref="member">PACK_STRUCT_BEGIN</ref></highlight></codeline> <codeline lineno="220" refid="structmtu__option" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structmtu__option" kindref="compound">mtu_option</ref><sp/>{</highlight></codeline> <codeline lineno="221"><highlight class="normal"><sp/><sp/><ref refid="structmtu__option_1ad61d7de73009f75f464c3b4b5c84dc46" kindref="member">PACK_STRUCT_FLD_8</ref>(<ref refid="group__compiler__abstraction_1ga4caecabca98b43919dd11be1c0d4cd8e" kindref="member">u8_t</ref><sp/>type);</highlight></codeline> <codeline lineno="222"><highlight class="normal"><sp/><sp/><ref refid="structmtu__option_1ad61d7de73009f75f464c3b4b5c84dc46" kindref="member">PACK_STRUCT_FLD_8</ref>(<ref refid="group__compiler__abstraction_1ga4caecabca98b43919dd11be1c0d4cd8e" kindref="member">u8_t</ref><sp/>length);</highlight></codeline> <codeline lineno="223"><highlight class="normal"><sp/><sp/><ref refid="structmtu__option_1aff19f1089ec723c5ef6864c8ab6a149b" kindref="member">PACK_STRUCT_FIELD</ref>(<ref refid="group__compiler__abstraction_1ga77570ac4fcab86864fa1916e55676da2" kindref="member">u16_t</ref><sp/>reserved);</highlight></codeline> <codeline lineno="224"><highlight class="normal"><sp/><sp/><ref refid="structmtu__option_1aff19f1089ec723c5ef6864c8ab6a149b" kindref="member">PACK_STRUCT_FIELD</ref>(<ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>mtu);</highlight></codeline> <codeline lineno="225"><highlight class="normal">}<sp/><ref refid="prot_2nd6_8h_1ad54849dd53aacbde86da366985f094eb" kindref="member">PACK_STRUCT_STRUCT</ref>;</highlight></codeline> <codeline lineno="226"><highlight class="normal"><ref refid="cc_8h_1a465fef70f294e21cbf4ea51fc342f20e" kindref="member">PACK_STRUCT_END</ref></highlight></codeline> <codeline lineno="227"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>PACK_STRUCT_USE_INCLUDES</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="228"><highlight class="normal"></highlight><highlight class="preprocessor">#<sp/><sp/>include<sp/>"arch/epstruct.h"</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="229"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="230"><highlight class="normal"></highlight></codeline> <codeline lineno="232" refid="prot_2nd6_8h_1aff2e03766ee1fa15263c4aeda5097d28" refkind="member"><highlight class="preprocessor">#define<sp/>ND6_OPTION_TYPE_ROUTE_INFO<sp/>(24)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="233"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>PACK_STRUCT_USE_INCLUDES</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="234"><highlight class="normal"></highlight><highlight class="preprocessor">#<sp/><sp/>include<sp/>"arch/bpstruct.h"</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="235"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="236"><highlight class="normal"><ref refid="cc_8h_1a73199061891adf1b912d20835c7d5e96" kindref="member">PACK_STRUCT_BEGIN</ref></highlight></codeline> <codeline lineno="237" refid="structroute__option" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structroute__option" kindref="compound">route_option</ref><sp/>{</highlight></codeline> <codeline lineno="238"><highlight class="normal"><sp/><sp/><ref refid="structroute__option_1a87552d0d60ff1d73fbf2527c4023d257" kindref="member">PACK_STRUCT_FLD_8</ref>(<ref refid="group__compiler__abstraction_1ga4caecabca98b43919dd11be1c0d4cd8e" kindref="member">u8_t</ref><sp/>type);</highlight></codeline> <codeline lineno="239"><highlight class="normal"><sp/><sp/><ref refid="structroute__option_1a87552d0d60ff1d73fbf2527c4023d257" kindref="member">PACK_STRUCT_FLD_8</ref>(<ref refid="group__compiler__abstraction_1ga4caecabca98b43919dd11be1c0d4cd8e" kindref="member">u8_t</ref><sp/>length);</highlight></codeline> <codeline lineno="240"><highlight class="normal"><sp/><sp/><ref refid="structroute__option_1a87552d0d60ff1d73fbf2527c4023d257" kindref="member">PACK_STRUCT_FLD_8</ref>(<ref refid="group__compiler__abstraction_1ga4caecabca98b43919dd11be1c0d4cd8e" kindref="member">u8_t</ref><sp/>prefix_length);</highlight></codeline> <codeline lineno="241"><highlight class="normal"><sp/><sp/><ref refid="structroute__option_1a87552d0d60ff1d73fbf2527c4023d257" kindref="member">PACK_STRUCT_FLD_8</ref>(<ref refid="group__compiler__abstraction_1ga4caecabca98b43919dd11be1c0d4cd8e" kindref="member">u8_t</ref><sp/>preference);</highlight></codeline> <codeline lineno="242"><highlight class="normal"><sp/><sp/><ref refid="structroute__option_1a3c7f14b8aa9b7c77d049290dc5f10e23" kindref="member">PACK_STRUCT_FIELD</ref>(<ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>route_lifetime);</highlight></codeline> <codeline lineno="243"><highlight class="normal"><sp/><sp/><ref refid="structroute__option_1a0f9b4787aa99b5f9395b68f1ab55f8d5" kindref="member">PACK_STRUCT_FLD_S</ref>(<ref refid="prot_2ip6_8h_1a560932a657f17ec5a0a3a78a1ce7e60a" kindref="member">ip6_addr_p_t</ref><sp/>prefix);</highlight></codeline> <codeline lineno="244"><highlight class="normal">}<sp/><ref refid="prot_2nd6_8h_1ad54849dd53aacbde86da366985f094eb" kindref="member">PACK_STRUCT_STRUCT</ref>;</highlight></codeline> <codeline lineno="245"><highlight class="normal"><ref refid="cc_8h_1a465fef70f294e21cbf4ea51fc342f20e" kindref="member">PACK_STRUCT_END</ref></highlight></codeline> <codeline lineno="246"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>PACK_STRUCT_USE_INCLUDES</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="247"><highlight class="normal"></highlight><highlight class="preprocessor">#<sp/><sp/>include<sp/>"arch/epstruct.h"</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="248"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="249"><highlight class="normal"></highlight></codeline> <codeline lineno="251"><highlight class="preprocessor">#if<sp/>LWIP_ND6_RDNSS_MAX_DNS_SERVERS</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="252"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>LWIP_RDNSS_OPTION_MAX_SERVERS<sp/>LWIP_ND6_RDNSS_MAX_DNS_SERVERS</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="253"><highlight class="normal"></highlight><highlight class="preprocessor">#else</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="254" refid="prot_2nd6_8h_1abf05527be6e826ea4b04b6103aa08497" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>LWIP_RDNSS_OPTION_MAX_SERVERS<sp/>1</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="255"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="256" refid="prot_2nd6_8h_1a3188b9704a8ca598f54b87c3db73272e" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ND6_OPTION_TYPE_RDNSS<sp/>(25)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="257"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>PACK_STRUCT_USE_INCLUDES</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="258"><highlight class="normal"></highlight><highlight class="preprocessor">#<sp/><sp/>include<sp/>"arch/bpstruct.h"</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="259"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="260"><highlight class="normal"><ref refid="cc_8h_1a73199061891adf1b912d20835c7d5e96" kindref="member">PACK_STRUCT_BEGIN</ref></highlight></codeline> <codeline lineno="261" refid="structrdnss__option" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structrdnss__option" kindref="compound">rdnss_option</ref><sp/>{</highlight></codeline> <codeline lineno="262"><highlight class="normal"><sp/><sp/><ref refid="structrdnss__option_1a48a99ff0a93ae6215faab37a1d314792" kindref="member">PACK_STRUCT_FLD_8</ref>(<ref refid="group__compiler__abstraction_1ga4caecabca98b43919dd11be1c0d4cd8e" kindref="member">u8_t</ref><sp/>type);</highlight></codeline> <codeline lineno="263"><highlight class="normal"><sp/><sp/><ref refid="structrdnss__option_1a48a99ff0a93ae6215faab37a1d314792" kindref="member">PACK_STRUCT_FLD_8</ref>(<ref refid="group__compiler__abstraction_1ga4caecabca98b43919dd11be1c0d4cd8e" kindref="member">u8_t</ref><sp/>length);</highlight></codeline> <codeline lineno="264"><highlight class="normal"><sp/><sp/><ref refid="structrdnss__option_1a7628b9cbc479b88e71724c48771489fa" kindref="member">PACK_STRUCT_FIELD</ref>(<ref refid="group__compiler__abstraction_1ga77570ac4fcab86864fa1916e55676da2" kindref="member">u16_t</ref><sp/>reserved);</highlight></codeline> <codeline lineno="265"><highlight class="normal"><sp/><sp/><ref refid="structrdnss__option_1a7628b9cbc479b88e71724c48771489fa" kindref="member">PACK_STRUCT_FIELD</ref>(<ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>lifetime);</highlight></codeline> <codeline lineno="266"><highlight class="normal"><sp/><sp/><ref refid="structrdnss__option_1a71ac04f04f0842fcb126aaf5ad372831" kindref="member">PACK_STRUCT_FLD_S</ref>(<ref refid="prot_2ip6_8h_1a560932a657f17ec5a0a3a78a1ce7e60a" kindref="member">ip6_addr_p_t</ref><sp/>rdnss_address[<ref refid="prot_2nd6_8h_1abf05527be6e826ea4b04b6103aa08497" kindref="member">LWIP_RDNSS_OPTION_MAX_SERVERS</ref>]);</highlight></codeline> <codeline lineno="267"><highlight class="normal">}<sp/><ref refid="prot_2nd6_8h_1ad54849dd53aacbde86da366985f094eb" kindref="member">PACK_STRUCT_STRUCT</ref>;</highlight></codeline> <codeline lineno="268"><highlight class="normal"><ref refid="cc_8h_1a465fef70f294e21cbf4ea51fc342f20e" kindref="member">PACK_STRUCT_END</ref></highlight></codeline> <codeline lineno="269"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>PACK_STRUCT_USE_INCLUDES</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="270"><highlight class="normal"></highlight><highlight class="preprocessor">#<sp/><sp/>include<sp/>"arch/epstruct.h"</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="271"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="272"><highlight class="normal"></highlight></codeline> <codeline lineno="273"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>__cplusplus</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="274"><highlight class="normal">}</highlight></codeline> <codeline lineno="275"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="276"><highlight class="normal"></highlight></codeline> <codeline lineno="277"><highlight class="normal"></highlight><highlight class="preprocessor">#endif<sp/></highlight><highlight class="comment">/*<sp/>LWIP_HDR_PROT_ND6_H<sp/>*/</highlight><highlight class="preprocessor"></highlight></codeline> </programlisting> <location file="C:/Dev/git/UbixOS/sys/include/net/prot/nd6.h"/> </compounddef> </doxygen>