<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>DTN Reference Implementation: dtn::PrimaryBlockProcessor Class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.6 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="main.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="namespacedtn.html">dtn</a>::<a class="el" href="classdtn_1_1PrimaryBlockProcessor.html">PrimaryBlockProcessor</a> </div> </div> <div class="contents"> <h1>dtn::PrimaryBlockProcessor Class Reference</h1><!-- doxytag: class="dtn::PrimaryBlockProcessor" --><!-- doxytag: inherits="dtn::BlockProcessor" --><code>#include <<a class="el" href="PrimaryBlockProcessor_8h-source.html">PrimaryBlockProcessor.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for dtn::PrimaryBlockProcessor:</div> <div class="dynsection"> <p><center><img src="classdtn_1_1PrimaryBlockProcessor.png" usemap="#dtn::PrimaryBlockProcessor_map" border="0" alt=""></center> <map name="dtn::PrimaryBlockProcessor_map"> <area href="classdtn_1_1BlockProcessor.html" alt="dtn::BlockProcessor" shape="rect" coords="0,0,168,24"> </map> </div> <p> <a href="classdtn_1_1PrimaryBlockProcessor-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> Block processor implementation for the primary bundle block. <p>Definition at line <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00030">30</a> of file <a class="el" href="PrimaryBlockProcessor_8h-source.html">PrimaryBlockProcessor.h</a>.</p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1PrimaryBlockProcessor.html#226a2c8d06ec75da24a71e730275802b">BundleProtocol</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1PrimaryBlockProcessor.html#49e5f6762a4b65450995e15e3d377864">get_primary_len</a> (const <a class="el" href="classdtn_1_1Bundle.html">Bundle</a> *bundle, <a class="el" href="classdtn_1_1Dictionary.html">Dictionary</a> *dict, <a class="el" href="structdtn_1_1PrimaryBlockProcessor_1_1PrimaryBlock.html">PrimaryBlock</a> *primary)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static u_int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1PrimaryBlockProcessor.html#6af9dae8b00ea10b837529c711dce499">format_bundle_flags</a> (const <a class="el" href="classdtn_1_1Bundle.html">Bundle</a> *bundle)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1PrimaryBlockProcessor.html#50097e7812b01ee86d75fa3bf537c4ec">parse_bundle_flags</a> (<a class="el" href="classdtn_1_1Bundle.html">Bundle</a> *bundle, u_int64_t flags)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static u_int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1PrimaryBlockProcessor.html#801e0dbe517b21953154a8f6df95457d">format_cos_flags</a> (const <a class="el" href="classdtn_1_1Bundle.html">Bundle</a> *bundle)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1PrimaryBlockProcessor.html#77f98160013cfeaeddce5bfab92033ad">parse_cos_flags</a> (<a class="el" href="classdtn_1_1Bundle.html">Bundle</a> *bundle, u_int64_t cos_flags)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static u_int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1PrimaryBlockProcessor.html#a987548dc642eca97ee24a867185987c">format_srr_flags</a> (const <a class="el" href="classdtn_1_1Bundle.html">Bundle</a> *bundle)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1PrimaryBlockProcessor.html#894369d093911b3b00adaf38c1953e44">parse_srr_flags</a> (<a class="el" href="classdtn_1_1Bundle.html">Bundle</a> *bundle, u_int64_t srr_flags)</td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1PrimaryBlockProcessor.html#937b663bfe5ae27f15217c5c80abae01">PrimaryBlockProcessor</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#937b663bfe5ae27f15217c5c80abae01"></a><br></td></tr> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1PrimaryBlockProcessor.html#6e5c41fd30e22ae3d0e1f9f4ce3dec22">consume</a> (<a class="el" href="classdtn_1_1Bundle.html">Bundle</a> *bundle, <a class="el" href="classdtn_1_1BlockInfo.html">BlockInfo</a> *block, u_char *<a class="el" href="num2sdnv_8c.html#a81cdcc7ff6987bc85c073253e32715f">buf</a>, size_t len)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Virtual from <a class="el" href="classdtn_1_1BlockProcessor.html" title="Base class for the protocol handling of bundle blocks, including the core primary...">BlockProcessor</a>. <a href="#6e5c41fd30e22ae3d0e1f9f4ce3dec22"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1PrimaryBlockProcessor.html#2fbc1715b03d51dddd4517414335502c">validate</a> (const <a class="el" href="classdtn_1_1Bundle.html">Bundle</a> *bundle, <a class="el" href="classdtn_1_1BlockInfoVec.html">BlockInfoVec</a> *block_list, <a class="el" href="classdtn_1_1BlockInfo.html">BlockInfo</a> *block, <a class="el" href="classdtn_1_1BundleProtocol.html#37b000d94172c06970bb8af32889f917">status_report_reason_t</a> *reception_reason, <a class="el" href="classdtn_1_1BundleProtocol.html#37b000d94172c06970bb8af32889f917">status_report_reason_t</a> *deletion_reason)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Virtual from <a class="el" href="classdtn_1_1BlockProcessor.html" title="Base class for the protocol handling of bundle blocks, including the core primary...">BlockProcessor</a>. <a href="#2fbc1715b03d51dddd4517414335502c"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1PrimaryBlockProcessor.html#a3a1005ed5dedac560fa0e694504fa24">prepare</a> (const <a class="el" href="classdtn_1_1Bundle.html">Bundle</a> *bundle, <a class="el" href="classdtn_1_1BlockInfoVec.html">BlockInfoVec</a> *xmit_blocks, const <a class="el" href="classdtn_1_1BlockInfo.html">BlockInfo</a> *source, const <a class="el" href="namespacedtn.html#6efb37e503f8062c537b022eb755b94e">LinkRef</a> &link, <a class="el" href="classdtn_1_1BlockInfo.html#3d0bc8cd207912ac5406fde3fc2c8d1c">list_owner_t</a> list)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Virtual from <a class="el" href="classdtn_1_1BlockProcessor.html" title="Base class for the protocol handling of bundle blocks, including the core primary...">BlockProcessor</a>. <a href="#a3a1005ed5dedac560fa0e694504fa24"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1PrimaryBlockProcessor.html#75c9dac1627305cebd6401dd1e86e95a">generate</a> (const <a class="el" href="classdtn_1_1Bundle.html">Bundle</a> *bundle, <a class="el" href="classdtn_1_1BlockInfoVec.html">BlockInfoVec</a> *xmit_blocks, <a class="el" href="classdtn_1_1BlockInfo.html">BlockInfo</a> *block, const <a class="el" href="namespacedtn.html#6efb37e503f8062c537b022eb755b94e">LinkRef</a> &link, <a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> last)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Virtual from <a class="el" href="classdtn_1_1BlockProcessor.html" title="Base class for the protocol handling of bundle blocks, including the core primary...">BlockProcessor</a>. <a href="#75c9dac1627305cebd6401dd1e86e95a"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1PrimaryBlockProcessor.html#541fb8e13968042f46b8d6e699e81941">generate_primary</a> (const <a class="el" href="classdtn_1_1Bundle.html">Bundle</a> *bundle, <a class="el" href="classdtn_1_1BlockInfoVec.html">BlockInfoVec</a> *xmit_blocks, <a class="el" href="classdtn_1_1BlockInfo.html">BlockInfo</a> *block)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Virtual from <a class="el" href="classdtn_1_1BlockProcessor.html" title="Base class for the protocol handling of bundle blocks, including the core primary...">BlockProcessor</a>. <a href="#541fb8e13968042f46b8d6e699e81941"></a><br></td></tr> <tr><td colspan="2"><br><h2>Protected Types</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1PrimaryBlockProcessor.html#8eaf1adb137e84715d8d1c2588bf1590">bundle_processing_flag_t</a> { <br> <a class="el" href="classdtn_1_1PrimaryBlockProcessor.html#8eaf1adb137e84715d8d1c2588bf1590239be97dedd4104bc85d8e423b5ac33f">BUNDLE_IS_FRAGMENT</a> = 1 << 0, <a class="el" href="classdtn_1_1PrimaryBlockProcessor.html#8eaf1adb137e84715d8d1c2588bf15901e598df2393cb90b3cd47c7bb842e142">BUNDLE_IS_ADMIN</a> = 1 << 1, <a class="el" href="classdtn_1_1PrimaryBlockProcessor.html#8eaf1adb137e84715d8d1c2588bf159069b81b44a73c2e669e8af7beff6cf8fb">BUNDLE_DO_NOT_FRAGMENT</a> = 1 << 2, <a class="el" href="classdtn_1_1PrimaryBlockProcessor.html#8eaf1adb137e84715d8d1c2588bf159059c3ae36ce59ffb3688546c97898fcb4">BUNDLE_CUSTODY_XFER_REQUESTED</a> = 1 << 3, <br> <a class="el" href="classdtn_1_1PrimaryBlockProcessor.html#8eaf1adb137e84715d8d1c2588bf1590933b3d5cd0c8407e97a5717cdfe2845f">BUNDLE_SINGLETON_DESTINATION</a> = 1 << 4, <a class="el" href="classdtn_1_1PrimaryBlockProcessor.html#8eaf1adb137e84715d8d1c2588bf15901af11a25f1a3143e0fafb8c322ab5ade">BUNDLE_ACK_BY_APP</a> = 1 << 5, <a class="el" href="classdtn_1_1PrimaryBlockProcessor.html#8eaf1adb137e84715d8d1c2588bf159001c667e5deeeaefdc07b953c1e9c995a">BUNDLE_UNUSED</a> = 1 << 6 <br> }</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Values for bundle processing flags that appear in the primary block. <a href="classdtn_1_1PrimaryBlockProcessor.html#8eaf1adb137e84715d8d1c2588bf1590">More...</a><br></td></tr> <tr><td colspan="2"><br><h2>Classes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structdtn_1_1PrimaryBlockProcessor_1_1PrimaryBlock.html">PrimaryBlock</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The remainder of the fixed-length part of the primary bundle block that immediately follows the block length. <a href="structdtn_1_1PrimaryBlockProcessor_1_1PrimaryBlock.html#_details">More...</a><br></td></tr> </table> <hr><h2>Member Enumeration Documentation</h2> <a class="anchor" name="8eaf1adb137e84715d8d1c2588bf1590"></a><!-- doxytag: member="dtn::PrimaryBlockProcessor::bundle_processing_flag_t" ref="8eaf1adb137e84715d8d1c2588bf1590" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">enum <a class="el" href="classdtn_1_1PrimaryBlockProcessor.html#8eaf1adb137e84715d8d1c2588bf1590">dtn::PrimaryBlockProcessor::bundle_processing_flag_t</a><code> [protected]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> Values for bundle processing flags that appear in the primary block. <p> <dl compact><dt><b>Enumerator: </b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"><em><a class="anchor" name="8eaf1adb137e84715d8d1c2588bf1590239be97dedd4104bc85d8e423b5ac33f"></a><!-- doxytag: member="BUNDLE_IS_FRAGMENT" ref="8eaf1adb137e84715d8d1c2588bf1590239be97dedd4104bc85d8e423b5ac33f" args="" -->BUNDLE_IS_FRAGMENT</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="8eaf1adb137e84715d8d1c2588bf15901e598df2393cb90b3cd47c7bb842e142"></a><!-- doxytag: member="BUNDLE_IS_ADMIN" ref="8eaf1adb137e84715d8d1c2588bf15901e598df2393cb90b3cd47c7bb842e142" args="" -->BUNDLE_IS_ADMIN</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="8eaf1adb137e84715d8d1c2588bf159069b81b44a73c2e669e8af7beff6cf8fb"></a><!-- doxytag: member="BUNDLE_DO_NOT_FRAGMENT" ref="8eaf1adb137e84715d8d1c2588bf159069b81b44a73c2e669e8af7beff6cf8fb" args="" -->BUNDLE_DO_NOT_FRAGMENT</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="8eaf1adb137e84715d8d1c2588bf159059c3ae36ce59ffb3688546c97898fcb4"></a><!-- doxytag: member="BUNDLE_CUSTODY_XFER_REQUESTED" ref="8eaf1adb137e84715d8d1c2588bf159059c3ae36ce59ffb3688546c97898fcb4" args="" -->BUNDLE_CUSTODY_XFER_REQUESTED</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="8eaf1adb137e84715d8d1c2588bf1590933b3d5cd0c8407e97a5717cdfe2845f"></a><!-- doxytag: member="BUNDLE_SINGLETON_DESTINATION" ref="8eaf1adb137e84715d8d1c2588bf1590933b3d5cd0c8407e97a5717cdfe2845f" args="" -->BUNDLE_SINGLETON_DESTINATION</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="8eaf1adb137e84715d8d1c2588bf15901af11a25f1a3143e0fafb8c322ab5ade"></a><!-- doxytag: member="BUNDLE_ACK_BY_APP" ref="8eaf1adb137e84715d8d1c2588bf15901af11a25f1a3143e0fafb8c322ab5ade" args="" -->BUNDLE_ACK_BY_APP</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="8eaf1adb137e84715d8d1c2588bf159001c667e5deeeaefdc07b953c1e9c995a"></a><!-- doxytag: member="BUNDLE_UNUSED" ref="8eaf1adb137e84715d8d1c2588bf159001c667e5deeeaefdc07b953c1e9c995a" args="" -->BUNDLE_UNUSED</em> </td><td> </td></tr> </table> </dl> <p>Definition at line <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00069">69</a> of file <a class="el" href="PrimaryBlockProcessor_8h-source.html">PrimaryBlockProcessor.h</a>.</p> </div> </div><p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="937b663bfe5ae27f15217c5c80abae01"></a><!-- doxytag: member="dtn::PrimaryBlockProcessor::PrimaryBlockProcessor" ref="937b663bfe5ae27f15217c5c80abae01" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">dtn::PrimaryBlockProcessor::PrimaryBlockProcessor </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Constructor. <p> <p>Definition at line <a class="el" href="PrimaryBlockProcessor_8cc-source.html#l00034">34</a> of file <a class="el" href="PrimaryBlockProcessor_8cc-source.html">PrimaryBlockProcessor.cc</a>.</p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="6e5c41fd30e22ae3d0e1f9f4ce3dec22"></a><!-- doxytag: member="dtn::PrimaryBlockProcessor::consume" ref="6e5c41fd30e22ae3d0e1f9f4ce3dec22" args="(Bundle *bundle, BlockInfo *block, u_char *buf, size_t len)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int dtn::PrimaryBlockProcessor::consume </td> <td>(</td> <td class="paramtype"><a class="el" href="classdtn_1_1Bundle.html">Bundle</a> * </td> <td class="paramname"> <em>bundle</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classdtn_1_1BlockInfo.html">BlockInfo</a> * </td> <td class="paramname"> <em>block</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">u_char * </td> <td class="paramname"> <em>buf</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">size_t </td> <td class="paramname"> <em>len</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Virtual from <a class="el" href="classdtn_1_1BlockProcessor.html" title="Base class for the protocol handling of bundle blocks, including the core primary...">BlockProcessor</a>. <p> <p>Reimplemented from <a class="el" href="classdtn_1_1BlockProcessor.html#1f73d119593ef13da9c5ee845fd5ec00">dtn::BlockProcessor</a>.</p> <p>Definition at line <a class="el" href="PrimaryBlockProcessor_8cc-source.html#l00301">301</a> of file <a class="el" href="PrimaryBlockProcessor_8cc-source.html">PrimaryBlockProcessor.cc</a>.</p> <p>References <a class="el" href="SDNV_8cc-source.html#l00044">ASSERT</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00086">dtn::PrimaryBlockProcessor::PrimaryBlock::block_length</a>, <a class="el" href="BlockInfo_8h-source.html#l00083">dtn::BlockInfo::complete()</a>, <a class="el" href="BlockProcessor_8cc-source.html#l00284">dtn::BlockProcessor::consume()</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00096">dtn::PrimaryBlockProcessor::PrimaryBlock::creation_sequence</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00095">dtn::PrimaryBlockProcessor::PrimaryBlock::creation_time</a>, <a class="el" href="BundleProtocol_8h-source.html#l00168">dtn::BundleProtocol::CURRENT_VERSION</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00093">dtn::PrimaryBlockProcessor::PrimaryBlock::custodian_scheme_offset</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00094">dtn::PrimaryBlockProcessor::PrimaryBlock::custodian_ssp_offset</a>, <a class="el" href="BlockInfo_8h-source.html#l00077">dtn::BlockInfo::data_length()</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00087">dtn::PrimaryBlockProcessor::PrimaryBlock::dest_scheme_offset</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00088">dtn::PrimaryBlockProcessor::PrimaryBlock::dest_ssp_offset</a>, <a class="el" href="BlockInfo_8h-source.html#l00161">dtn::BlockInfoVec::dict()</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00098">dtn::PrimaryBlockProcessor::PrimaryBlock::dictionary_length</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00222">dtn::Bundle::frag_offset()</a>, <a class="el" href="BlockInfo_8h-source.html#l00079">dtn::BlockInfo::full_length()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00209">dtn::Bundle::is_fragment()</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00097">dtn::PrimaryBlockProcessor::PrimaryBlock::lifetime</a>, <a class="el" href="BlockProcessor_8cc-source.html#l00030">dtn::log</a>, <a class="el" href="SDNV_8cc-source.html#l00054">log_err_p</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00245">dtn::Bundle::mutable_custodian()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00243">dtn::Bundle::mutable_dest()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00278">dtn::Bundle::mutable_recv_blocks()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00244">dtn::Bundle::mutable_replyto()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00242">dtn::Bundle::mutable_source()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00223">dtn::Bundle::orig_length()</a>, <a class="el" href="PrimaryBlockProcessor_8cc-source.html#l00074">parse_bundle_flags()</a>, <a class="el" href="PrimaryBlockProcessor_8cc-source.html#l00126">parse_cos_flags()</a>, <a class="el" href="PrimaryBlockProcessor_8cc-source.html#l00157">parse_srr_flags()</a>, <a class="el" href="PrimaryBlockProcessor_8cc.html#d91d604c84c78ba383d0919b801f77ad">PBP_READ_SDNV</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00085">dtn::PrimaryBlockProcessor::PrimaryBlock::processing_flags</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00091">dtn::PrimaryBlockProcessor::PrimaryBlock::replyto_scheme_offset</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00092">dtn::PrimaryBlockProcessor::PrimaryBlock::replyto_ssp_offset</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00266">dtn::Bundle::set_creation_ts()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00259">dtn::Bundle::set_expiration()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00260">dtn::Bundle::set_frag_offset()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00261">dtn::Bundle::set_orig_length()</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00089">dtn::PrimaryBlockProcessor::PrimaryBlock::source_scheme_offset</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00090">dtn::PrimaryBlockProcessor::PrimaryBlock::source_ssp_offset</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00084">dtn::PrimaryBlockProcessor::PrimaryBlock::version</a>, and <a class="el" href="BlockInfo_8h-source.html#l00094">dtn::BlockInfo::writable_contents()</a>.</p> </div> </div><p> <a class="anchor" name="2fbc1715b03d51dddd4517414335502c"></a><!-- doxytag: member="dtn::PrimaryBlockProcessor::validate" ref="2fbc1715b03d51dddd4517414335502c" args="(const Bundle *bundle, BlockInfoVec *block_list, BlockInfo *block, status_report_reason_t *reception_reason, status_report_reason_t *deletion_reason)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> dtn::PrimaryBlockProcessor::validate </td> <td>(</td> <td class="paramtype">const <a class="el" href="classdtn_1_1Bundle.html">Bundle</a> * </td> <td class="paramname"> <em>bundle</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classdtn_1_1BlockInfoVec.html">BlockInfoVec</a> * </td> <td class="paramname"> <em>block_list</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classdtn_1_1BlockInfo.html">BlockInfo</a> * </td> <td class="paramname"> <em>block</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classdtn_1_1BundleProtocol.html#37b000d94172c06970bb8af32889f917">status_report_reason_t</a> * </td> <td class="paramname"> <em>reception_reason</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classdtn_1_1BundleProtocol.html#37b000d94172c06970bb8af32889f917">status_report_reason_t</a> * </td> <td class="paramname"> <em>deletion_reason</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Virtual from <a class="el" href="classdtn_1_1BlockProcessor.html" title="Base class for the protocol handling of bundle blocks, including the core primary...">BlockProcessor</a>. <p> <p>Reimplemented from <a class="el" href="classdtn_1_1BlockProcessor.html#14242dcdb094a179f718a5eaee23cabd">dtn::BlockProcessor</a>.</p> <p>Definition at line <a class="el" href="PrimaryBlockProcessor_8cc-source.html#l00493">493</a> of file <a class="el" href="PrimaryBlockProcessor_8cc-source.html">PrimaryBlockProcessor.cc</a>.</p> <p>References <a class="el" href="bundling_2Bundle_8h-source.html#l00220">dtn::Bundle::app_acked_rcpt()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00206">dtn::Bundle::custodian()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00216">dtn::Bundle::custody_rcpt()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00212">dtn::Bundle::custody_requested()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00219">dtn::Bundle::deletion_rcpt()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00218">dtn::Bundle::delivery_rcpt()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00205">dtn::Bundle::dest()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00211">dtn::Bundle::do_not_fragment()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00217">dtn::Bundle::forward_rcpt()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00210">dtn::Bundle::is_admin()</a>, <a class="el" href="BlockProcessor_8cc-source.html#l00030">dtn::log</a>, <a class="el" href="SDNV_8cc-source.html#l00054">log_err_p</a>, <a class="el" href="EndpointID_8h-source.html#l00358">dtn::EndpointID::NULL_EID()</a>, <a class="el" href="BundleProtocol_8h-source.html#l00132">dtn::BundleProtocol::REASON_BLOCK_UNINTELLIGIBLE</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00171">dtn::Bundle::receipt_requested()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00215">dtn::Bundle::receive_rcpt()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00207">dtn::Bundle::replyto()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00204">dtn::Bundle::source()</a>, and <a class="el" href="EndpointID_8h-source.html#l00262">dtn::EndpointID::valid()</a>.</p> </div> </div><p> <a class="anchor" name="a3a1005ed5dedac560fa0e694504fa24"></a><!-- doxytag: member="dtn::PrimaryBlockProcessor::prepare" ref="a3a1005ed5dedac560fa0e694504fa24" args="(const Bundle *bundle, BlockInfoVec *xmit_blocks, const BlockInfo *source, const LinkRef &link, list_owner_t list)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int dtn::PrimaryBlockProcessor::prepare </td> <td>(</td> <td class="paramtype">const <a class="el" href="classdtn_1_1Bundle.html">Bundle</a> * </td> <td class="paramname"> <em>bundle</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classdtn_1_1BlockInfoVec.html">BlockInfoVec</a> * </td> <td class="paramname"> <em>xmit_blocks</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classdtn_1_1BlockInfo.html">BlockInfo</a> * </td> <td class="paramname"> <em>source</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="namespacedtn.html#6efb37e503f8062c537b022eb755b94e">LinkRef</a> & </td> <td class="paramname"> <em>link</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classdtn_1_1BlockInfo.html#3d0bc8cd207912ac5406fde3fc2c8d1c">list_owner_t</a> </td> <td class="paramname"> <em>list</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Virtual from <a class="el" href="classdtn_1_1BlockProcessor.html" title="Base class for the protocol handling of bundle blocks, including the core primary...">BlockProcessor</a>. <p> <p>Reimplemented from <a class="el" href="classdtn_1_1BlockProcessor.html#f7c21ecdcbbb4f2060c7f5f865415c48">dtn::BlockProcessor</a>.</p> <p>Definition at line <a class="el" href="PrimaryBlockProcessor_8cc-source.html#l00274">274</a> of file <a class="el" href="PrimaryBlockProcessor_8cc-source.html">PrimaryBlockProcessor.cc</a>.</p> <p>References <a class="el" href="bundling_2Dictionary_8h-source.html#l00052">dtn::Dictionary::add_eid()</a>, <a class="el" href="SDNV_8cc-source.html#l00044">ASSERT</a>, <a class="el" href="BlockProcessor_8h-source.html#l00241">dtn::BlockProcessor::BlockInfo</a>, <a class="el" href="BlockProcessor_8h-source.html#l00034">BP_SUCCESS</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00206">dtn::Bundle::custodian()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00205">dtn::Bundle::dest()</a>, <a class="el" href="BlockInfo_8h-source.html#l00161">dtn::BlockInfoVec::dict()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00207">dtn::Bundle::replyto()</a>, and <a class="el" href="bundling_2Bundle_8h-source.html#l00204">dtn::Bundle::source()</a>.</p> </div> </div><p> <a class="anchor" name="75c9dac1627305cebd6401dd1e86e95a"></a><!-- doxytag: member="dtn::PrimaryBlockProcessor::generate" ref="75c9dac1627305cebd6401dd1e86e95a" args="(const Bundle *bundle, BlockInfoVec *xmit_blocks, BlockInfo *block, const LinkRef &link, bool last)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int dtn::PrimaryBlockProcessor::generate </td> <td>(</td> <td class="paramtype">const <a class="el" href="classdtn_1_1Bundle.html">Bundle</a> * </td> <td class="paramname"> <em>bundle</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classdtn_1_1BlockInfoVec.html">BlockInfoVec</a> * </td> <td class="paramname"> <em>xmit_blocks</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classdtn_1_1BlockInfo.html">BlockInfo</a> * </td> <td class="paramname"> <em>block</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="namespacedtn.html#6efb37e503f8062c537b022eb755b94e">LinkRef</a> & </td> <td class="paramname"> <em>link</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> </td> <td class="paramname"> <em>last</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Virtual from <a class="el" href="classdtn_1_1BlockProcessor.html" title="Base class for the protocol handling of bundle blocks, including the core primary...">BlockProcessor</a>. <p> <p>Implements <a class="el" href="classdtn_1_1BlockProcessor.html#93079be0f3f307ae9a800106a9518f3e">dtn::BlockProcessor</a>.</p> <p>Definition at line <a class="el" href="PrimaryBlockProcessor_8cc-source.html#l00574">574</a> of file <a class="el" href="PrimaryBlockProcessor_8cc-source.html">PrimaryBlockProcessor.cc</a>.</p> <p>References <a class="el" href="SDNV_8cc-source.html#l00044">ASSERT</a>, and <a class="el" href="BlockProcessor_8h-source.html#l00034">BP_SUCCESS</a>.</p> </div> </div><p> <a class="anchor" name="541fb8e13968042f46b8d6e699e81941"></a><!-- doxytag: member="dtn::PrimaryBlockProcessor::generate_primary" ref="541fb8e13968042f46b8d6e699e81941" args="(const Bundle *bundle, BlockInfoVec *xmit_blocks, BlockInfo *block)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void dtn::PrimaryBlockProcessor::generate_primary </td> <td>(</td> <td class="paramtype">const <a class="el" href="classdtn_1_1Bundle.html">Bundle</a> * </td> <td class="paramname"> <em>bundle</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classdtn_1_1BlockInfoVec.html">BlockInfoVec</a> * </td> <td class="paramname"> <em>xmit_blocks</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classdtn_1_1BlockInfo.html">BlockInfo</a> * </td> <td class="paramname"> <em>block</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p> Virtual from <a class="el" href="classdtn_1_1BlockProcessor.html" title="Base class for the protocol handling of bundle blocks, including the core primary...">BlockProcessor</a>. <p> <p>Definition at line <a class="el" href="PrimaryBlockProcessor_8cc-source.html#l00595">595</a> of file <a class="el" href="PrimaryBlockProcessor_8cc-source.html">PrimaryBlockProcessor.cc</a>.</p> <p>References <a class="el" href="SDNV_8cc-source.html#l00044">ASSERT</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00086">dtn::PrimaryBlockProcessor::PrimaryBlock::block_length</a>, <a class="el" href="num2sdnv_8c-source.html#l00035">buf</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00234">dtn::Bundle::creation_ts()</a>, <a class="el" href="BundleProtocol_8h-source.html#l00168">dtn::BundleProtocol::CURRENT_VERSION</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00093">dtn::PrimaryBlockProcessor::PrimaryBlock::custodian_scheme_offset</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00094">dtn::PrimaryBlockProcessor::PrimaryBlock::custodian_ssp_offset</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00087">dtn::PrimaryBlockProcessor::PrimaryBlock::dest_scheme_offset</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00088">dtn::PrimaryBlockProcessor::PrimaryBlock::dest_ssp_offset</a>, <a class="el" href="bundling_2Dictionary_8h-source.html#l00039">dtn::Dictionary::dict()</a>, <a class="el" href="BlockInfo_8h-source.html#l00161">dtn::BlockInfoVec::dict()</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00098">dtn::PrimaryBlockProcessor::PrimaryBlock::dictionary_length</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00221">dtn::Bundle::expiration()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00222">dtn::Bundle::frag_offset()</a>, <a class="el" href="PrimaryBlockProcessor_8cc-source.html#l00177">get_primary_len()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00209">dtn::Bundle::is_fragment()</a>, <a class="el" href="num2sdnv_8c-source.html#l00034">len</a>, <a class="el" href="bundling_2Dictionary_8h-source.html#l00038">dtn::Dictionary::length()</a>, <a class="el" href="BlockProcessor_8cc-source.html#l00030">dtn::log</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00223">dtn::Bundle::orig_length()</a>, <a class="el" href="PrimaryBlockProcessor_8cc.html#2cdf87afd379cf25f488e19a8513e07c">PBP_WRITE_SDNV</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00085">dtn::PrimaryBlockProcessor::PrimaryBlock::processing_flags</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00091">dtn::PrimaryBlockProcessor::PrimaryBlock::replyto_scheme_offset</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00092">dtn::PrimaryBlockProcessor::PrimaryBlock::replyto_ssp_offset</a>, <a class="el" href="BundleTimestamp_8h-source.html#l00031">dtn::BundleTimestamp::seconds_</a>, <a class="el" href="BundleTimestamp_8h-source.html#l00032">dtn::BundleTimestamp::seqno_</a>, <a class="el" href="BlockInfo_8h-source.html#l00092">dtn::BlockInfo::set_data_length()</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00089">dtn::PrimaryBlockProcessor::PrimaryBlock::source_scheme_offset</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00090">dtn::PrimaryBlockProcessor::PrimaryBlock::source_ssp_offset</a>, and <a class="el" href="BlockInfo_8h-source.html#l00094">dtn::BlockInfo::writable_contents()</a>.</p> <p>Referenced by <a class="el" href="BundleProtocol_8cc-source.html#l00191">dtn::BundleProtocol::generate_blocks()</a>.</p> </div> </div><p> <a class="anchor" name="49e5f6762a4b65450995e15e3d377864"></a><!-- doxytag: member="dtn::PrimaryBlockProcessor::get_primary_len" ref="49e5f6762a4b65450995e15e3d377864" args="(const Bundle *bundle, Dictionary *dict, PrimaryBlock *primary)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">size_t dtn::PrimaryBlockProcessor::get_primary_len </td> <td>(</td> <td class="paramtype">const <a class="el" href="classdtn_1_1Bundle.html">Bundle</a> * </td> <td class="paramname"> <em>bundle</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classdtn_1_1Dictionary.html">Dictionary</a> * </td> <td class="paramname"> <em>dict</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="structdtn_1_1PrimaryBlockProcessor_1_1PrimaryBlock.html">PrimaryBlock</a> * </td> <td class="paramname"> <em>primary</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [static, protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Helper functions to parse/format the primary block <p>Definition at line <a class="el" href="PrimaryBlockProcessor_8cc-source.html#l00177">177</a> of file <a class="el" href="PrimaryBlockProcessor_8cc-source.html">PrimaryBlockProcessor.cc</a>.</p> <p>References <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00086">dtn::PrimaryBlockProcessor::PrimaryBlock::block_length</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00201">dtn::Bundle::bundleid()</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00096">dtn::PrimaryBlockProcessor::PrimaryBlock::creation_sequence</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00095">dtn::PrimaryBlockProcessor::PrimaryBlock::creation_time</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00234">dtn::Bundle::creation_ts()</a>, <a class="el" href="BundleProtocol_8h-source.html#l00168">dtn::BundleProtocol::CURRENT_VERSION</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00206">dtn::Bundle::custodian()</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00093">dtn::PrimaryBlockProcessor::PrimaryBlock::custodian_scheme_offset</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00094">dtn::PrimaryBlockProcessor::PrimaryBlock::custodian_ssp_offset</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00205">dtn::Bundle::dest()</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00087">dtn::PrimaryBlockProcessor::PrimaryBlock::dest_scheme_offset</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00088">dtn::PrimaryBlockProcessor::PrimaryBlock::dest_ssp_offset</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00098">dtn::PrimaryBlockProcessor::PrimaryBlock::dictionary_length</a>, <a class="el" href="SDNV_8cc-source.html#l00107">encoding_len()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00221">dtn::Bundle::expiration()</a>, <a class="el" href="PrimaryBlockProcessor_8cc-source.html#l00041">format_bundle_flags()</a>, <a class="el" href="PrimaryBlockProcessor_8cc-source.html#l00115">format_cos_flags()</a>, <a class="el" href="PrimaryBlockProcessor_8cc-source.html#l00133">format_srr_flags()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00222">dtn::Bundle::frag_offset()</a>, <a class="el" href="bundling_2Dictionary_8h-source.html#l00070">dtn::Dictionary::get_offsets()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00209">dtn::Bundle::is_fragment()</a>, <a class="el" href="bundling_2Dictionary_8h-source.html#l00038">dtn::Dictionary::length()</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00097">dtn::PrimaryBlockProcessor::PrimaryBlock::lifetime</a>, <a class="el" href="BlockProcessor_8cc-source.html#l00030">dtn::log</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00223">dtn::Bundle::orig_length()</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00085">dtn::PrimaryBlockProcessor::PrimaryBlock::processing_flags</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00207">dtn::Bundle::replyto()</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00091">dtn::PrimaryBlockProcessor::PrimaryBlock::replyto_scheme_offset</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00092">dtn::PrimaryBlockProcessor::PrimaryBlock::replyto_ssp_offset</a>, <a class="el" href="BundleTimestamp_8h-source.html#l00031">dtn::BundleTimestamp::seconds_</a>, <a class="el" href="BundleTimestamp_8h-source.html#l00032">dtn::BundleTimestamp::seqno_</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00204">dtn::Bundle::source()</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00089">dtn::PrimaryBlockProcessor::PrimaryBlock::source_scheme_offset</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00090">dtn::PrimaryBlockProcessor::PrimaryBlock::source_ssp_offset</a>, and <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00084">dtn::PrimaryBlockProcessor::PrimaryBlock::version</a>.</p> <p>Referenced by <a class="el" href="PrimaryBlockProcessor_8cc-source.html#l00595">generate_primary()</a>.</p> </div> </div><p> <a class="anchor" name="6af9dae8b00ea10b837529c711dce499"></a><!-- doxytag: member="dtn::PrimaryBlockProcessor::format_bundle_flags" ref="6af9dae8b00ea10b837529c711dce499" args="(const Bundle *bundle)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">u_int64_t dtn::PrimaryBlockProcessor::format_bundle_flags </td> <td>(</td> <td class="paramtype">const <a class="el" href="classdtn_1_1Bundle.html">Bundle</a> * </td> <td class="paramname"> <em>bundle</em> </td> <td> ) </td> <td><code> [static, protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Helper functions to parse/format the primary block <p>Definition at line <a class="el" href="PrimaryBlockProcessor_8cc-source.html#l00041">41</a> of file <a class="el" href="PrimaryBlockProcessor_8cc-source.html">PrimaryBlockProcessor.cc</a>.</p> <p>References <a class="el" href="bundling_2Bundle_8h-source.html#l00220">dtn::Bundle::app_acked_rcpt()</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00075">BUNDLE_ACK_BY_APP</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00073">BUNDLE_CUSTODY_XFER_REQUESTED</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00072">BUNDLE_DO_NOT_FRAGMENT</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00071">BUNDLE_IS_ADMIN</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00070">BUNDLE_IS_FRAGMENT</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00074">BUNDLE_SINGLETON_DESTINATION</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00212">dtn::Bundle::custody_requested()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00211">dtn::Bundle::do_not_fragment()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00210">dtn::Bundle::is_admin()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00209">dtn::Bundle::is_fragment()</a>, and <a class="el" href="bundling_2Bundle_8h-source.html#l00213">dtn::Bundle::singleton_dest()</a>.</p> <p>Referenced by <a class="el" href="PrimaryBlockProcessor_8cc-source.html#l00177">get_primary_len()</a>.</p> </div> </div><p> <a class="anchor" name="50097e7812b01ee86d75fa3bf537c4ec"></a><!-- doxytag: member="dtn::PrimaryBlockProcessor::parse_bundle_flags" ref="50097e7812b01ee86d75fa3bf537c4ec" args="(Bundle *bundle, u_int64_t flags)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void dtn::PrimaryBlockProcessor::parse_bundle_flags </td> <td>(</td> <td class="paramtype"><a class="el" href="classdtn_1_1Bundle.html">Bundle</a> * </td> <td class="paramname"> <em>bundle</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">u_int64_t </td> <td class="paramname"> <em>flags</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [static, protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Helper functions to parse/format the primary block <p>Definition at line <a class="el" href="PrimaryBlockProcessor_8cc-source.html#l00074">74</a> of file <a class="el" href="PrimaryBlockProcessor_8cc-source.html">PrimaryBlockProcessor.cc</a>.</p> <p>References <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00075">BUNDLE_ACK_BY_APP</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00073">BUNDLE_CUSTODY_XFER_REQUESTED</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00072">BUNDLE_DO_NOT_FRAGMENT</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00071">BUNDLE_IS_ADMIN</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00070">BUNDLE_IS_FRAGMENT</a>, <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00074">BUNDLE_SINGLETON_DESTINATION</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00258">dtn::Bundle::set_app_acked_rcpt()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00250">dtn::Bundle::set_custody_requested()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00249">dtn::Bundle::set_do_not_fragment()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00248">dtn::Bundle::set_is_admin()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00247">dtn::Bundle::set_is_fragment()</a>, and <a class="el" href="bundling_2Bundle_8h-source.html#l00251">dtn::Bundle::set_singleton_dest()</a>.</p> <p>Referenced by <a class="el" href="PrimaryBlockProcessor_8cc-source.html#l00301">consume()</a>.</p> </div> </div><p> <a class="anchor" name="801e0dbe517b21953154a8f6df95457d"></a><!-- doxytag: member="dtn::PrimaryBlockProcessor::format_cos_flags" ref="801e0dbe517b21953154a8f6df95457d" args="(const Bundle *bundle)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">u_int64_t dtn::PrimaryBlockProcessor::format_cos_flags </td> <td>(</td> <td class="paramtype">const <a class="el" href="classdtn_1_1Bundle.html">Bundle</a> * </td> <td class="paramname"> <em>bundle</em> </td> <td> ) </td> <td><code> [static, protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Helper functions to parse/format the primary block <p>Definition at line <a class="el" href="PrimaryBlockProcessor_8cc-source.html#l00115">115</a> of file <a class="el" href="PrimaryBlockProcessor_8cc-source.html">PrimaryBlockProcessor.cc</a>.</p> <p>References <a class="el" href="bundling_2Bundle_8h-source.html#l00214">dtn::Bundle::priority()</a>.</p> <p>Referenced by <a class="el" href="PrimaryBlockProcessor_8cc-source.html#l00177">get_primary_len()</a>.</p> </div> </div><p> <a class="anchor" name="77f98160013cfeaeddce5bfab92033ad"></a><!-- doxytag: member="dtn::PrimaryBlockProcessor::parse_cos_flags" ref="77f98160013cfeaeddce5bfab92033ad" args="(Bundle *bundle, u_int64_t cos_flags)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void dtn::PrimaryBlockProcessor::parse_cos_flags </td> <td>(</td> <td class="paramtype"><a class="el" href="classdtn_1_1Bundle.html">Bundle</a> * </td> <td class="paramname"> <em>bundle</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">u_int64_t </td> <td class="paramname"> <em>cos_flags</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [static, protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Helper functions to parse/format the primary block <p>Definition at line <a class="el" href="PrimaryBlockProcessor_8cc-source.html#l00126">126</a> of file <a class="el" href="PrimaryBlockProcessor_8cc-source.html">PrimaryBlockProcessor.cc</a>.</p> <p>References <a class="el" href="bundling_2Bundle_8h-source.html#l00252">dtn::Bundle::set_priority()</a>.</p> <p>Referenced by <a class="el" href="PrimaryBlockProcessor_8cc-source.html#l00301">consume()</a>.</p> </div> </div><p> <a class="anchor" name="a987548dc642eca97ee24a867185987c"></a><!-- doxytag: member="dtn::PrimaryBlockProcessor::format_srr_flags" ref="a987548dc642eca97ee24a867185987c" args="(const Bundle *bundle)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">u_int64_t dtn::PrimaryBlockProcessor::format_srr_flags </td> <td>(</td> <td class="paramtype">const <a class="el" href="classdtn_1_1Bundle.html">Bundle</a> * </td> <td class="paramname"> <em>bundle</em> </td> <td> ) </td> <td><code> [static, protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Helper functions to parse/format the primary block <p>Definition at line <a class="el" href="PrimaryBlockProcessor_8cc-source.html#l00133">133</a> of file <a class="el" href="PrimaryBlockProcessor_8cc-source.html">PrimaryBlockProcessor.cc</a>.</p> <p>References <a class="el" href="bundling_2Bundle_8h-source.html#l00216">dtn::Bundle::custody_rcpt()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00219">dtn::Bundle::deletion_rcpt()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00218">dtn::Bundle::delivery_rcpt()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00217">dtn::Bundle::forward_rcpt()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00215">dtn::Bundle::receive_rcpt()</a>, <a class="el" href="BundleProtocol_8h-source.html#l00236">dtn::BundleProtocol::STATUS_CUSTODY_ACCEPTED</a>, <a class="el" href="BundleProtocol_8h-source.html#l00239">dtn::BundleProtocol::STATUS_DELETED</a>, <a class="el" href="BundleProtocol_8h-source.html#l00238">dtn::BundleProtocol::STATUS_DELIVERED</a>, <a class="el" href="BundleProtocol_8h-source.html#l00237">dtn::BundleProtocol::STATUS_FORWARDED</a>, and <a class="el" href="BundleProtocol_8h-source.html#l00235">dtn::BundleProtocol::STATUS_RECEIVED</a>.</p> <p>Referenced by <a class="el" href="PrimaryBlockProcessor_8cc-source.html#l00177">get_primary_len()</a>.</p> </div> </div><p> <a class="anchor" name="894369d093911b3b00adaf38c1953e44"></a><!-- doxytag: member="dtn::PrimaryBlockProcessor::parse_srr_flags" ref="894369d093911b3b00adaf38c1953e44" args="(Bundle *bundle, u_int64_t srr_flags)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void dtn::PrimaryBlockProcessor::parse_srr_flags </td> <td>(</td> <td class="paramtype"><a class="el" href="classdtn_1_1Bundle.html">Bundle</a> * </td> <td class="paramname"> <em>bundle</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">u_int64_t </td> <td class="paramname"> <em>srr_flags</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [static, protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Helper functions to parse/format the primary block <p>Definition at line <a class="el" href="PrimaryBlockProcessor_8cc-source.html#l00157">157</a> of file <a class="el" href="PrimaryBlockProcessor_8cc-source.html">PrimaryBlockProcessor.cc</a>.</p> <p>References <a class="el" href="bundling_2Bundle_8h-source.html#l00254">dtn::Bundle::set_custody_rcpt()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00257">dtn::Bundle::set_deletion_rcpt()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00256">dtn::Bundle::set_delivery_rcpt()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00255">dtn::Bundle::set_forward_rcpt()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00253">dtn::Bundle::set_receive_rcpt()</a>, <a class="el" href="BundleProtocol_8h-source.html#l00236">dtn::BundleProtocol::STATUS_CUSTODY_ACCEPTED</a>, <a class="el" href="BundleProtocol_8h-source.html#l00239">dtn::BundleProtocol::STATUS_DELETED</a>, <a class="el" href="BundleProtocol_8h-source.html#l00238">dtn::BundleProtocol::STATUS_DELIVERED</a>, <a class="el" href="BundleProtocol_8h-source.html#l00237">dtn::BundleProtocol::STATUS_FORWARDED</a>, and <a class="el" href="BundleProtocol_8h-source.html#l00235">dtn::BundleProtocol::STATUS_RECEIVED</a>.</p> <p>Referenced by <a class="el" href="PrimaryBlockProcessor_8cc-source.html#l00301">consume()</a>.</p> </div> </div><p> <hr><h2>Friends And Related Function Documentation</h2> <a class="anchor" name="226a2c8d06ec75da24a71e730275802b"></a><!-- doxytag: member="dtn::PrimaryBlockProcessor::BundleProtocol" ref="226a2c8d06ec75da24a71e730275802b" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">friend class <a class="el" href="classdtn_1_1BundleProtocol.html">BundleProtocol</a><code> [friend]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> Helper functions to parse/format the primary block <p>Reimplemented from <a class="el" href="classdtn_1_1BlockProcessor.html#226a2c8d06ec75da24a71e730275802b">dtn::BlockProcessor</a>.</p> <p>Definition at line <a class="el" href="PrimaryBlockProcessor_8h-source.html#l00104">104</a> of file <a class="el" href="PrimaryBlockProcessor_8h-source.html">PrimaryBlockProcessor.h</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="PrimaryBlockProcessor_8h-source.html">PrimaryBlockProcessor.h</a><li><a class="el" href="PrimaryBlockProcessor_8cc-source.html">PrimaryBlockProcessor.cc</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jul 21 14:09:52 2008 for DTN Reference Implementation by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> </body> </html>