<font size="4"><font face="times new roman,serif">HI, <br></font></font><div><span class="Apple-style-span" style="font-family: 'times new roman', serif; font-size: large; "><br></span></div><div><span class="Apple-style-span" style="font-family: 'times new roman', serif; font-size: large; ">When I define flowunit data for flow, I am bothered by the not support incremental input. I have searched this error and found a mail from Seth. It seems that flowunit data has to be clearly set the &length. My situation is something like follows</span></div>
<div><span class="Apple-style-span" style="font-family: 'times new roman', serif; font-size: large; "><br></span></div><div>type XXX_Request = record {</div><div> header: Header;</div><div> data: case header.function_code of {</div>
<div> x -> request_type1: Type1;</div><div> x -> request_type2: Type2;</div><div> ..............</div><div> };</div><div>} &length = ....;</div><div><span class="Apple-style-span" style="font-family: 'times new roman', serif; font-size: large; "><br>
</span></div><div><span class="Apple-style-span" style="font-family: 'times new roman', serif; font-size: large; ">XXX_Request is the flowunit data. My problem is that after header is parsed, I still don't know the length of the whole XXX_Request data unit. The function_code from the header will define what data type follows the header and different data type have different length. So I am wondering what I can do in this situation to set the proper value of length of the XXX_Request. Or flowunit is not supporting this situation, I have to use the datagram?</span></div>
<div><span class="Apple-style-span" style="font-family: 'times new roman', serif; font-size: large; "><br></span></div><div><span class="Apple-style-span" style="font-family: 'times new roman', serif; font-size: large; ">Best,</span></div>
<div><font class="Apple-style-span" face="'times new roman', serif" size="4">Hui</font></div><div><br>-- <br>Hui Lin<br>Research Assistant<br>DEPEND Research Group, ECE Department<br>University of Illinois at Urbana-Champaign<br>
<a href="mailto:hlin33@illinois.edu" target="_blank">hlin33@illinois.edu</a><br>
</div>