<div dir="ltr"><div dir="ltr">Hi Mostafa,<br>This thread might help to see some previous discussions on the topic.<br>Link:<br><a href="http://lists.p4.org/pipermail/p4-dev_lists.p4.org/2017-July/002903.html">http://lists.p4.org/pipermail/p4-dev_lists.p4.org/2017-July/002903.html</a><div><br></div><div>Regards</div><div>Sahil Gupta</div><div><br><br><br><br><div id="mt-signature">
        <table border="0" cellpadding="8" cellspacing="0" style="user-select: none;">
            <tbody><tr>
                <td>
                    <a href="https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&" class="" style="text-decoration:none">
                        <img src="https://s3.amazonaws.com/mailtrack-signature/sender_notified.gif" alt="Mailtrack" class="" width="32" height="32">
                    </a>
                </td>
                <td>
                    <span style="color:#777">Sender notified by</span> <br>
                    <a href="https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&" class="mt-install" style="color:#4374f7">Mailtrack</a>
                    <span style="color:transparent;font-size:0">05/27/20, 03:35:50 PM</span>
                </td>
                <td>
                    
                </td>
            </tr>
        </tbody></table>
    </div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 27, 2020 at 2:41 PM Dr. Mostafa Abdallah. Ammar <<a href="mailto:mostafaammar@aast.edu">mostafaammar@aast.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">




<div>
<div style="font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Dear All,<br>
</p>
<p><br>
</p>
<p>Kindly I want to parse a variable length header fields. Each header field is preceeded with two tags defining the header field type and another tag defining  the field size. </p>
<p>We want to be able to read the field size and accordingly be able to  parse the field according to size  to map it to a metadata variable .<br>
</p>
<div>
<p><br>
</p>
<p><br>
</p>
<div name="divtagdefaultwrapper" style="font-family:calibri,arial,helvetica,sans-serif;margin:0px">
<div style="font-family:tahoma;font-size:13px">
<div><font size="2"><span style="font-size:10pt">
<div><span style="font-size:10pt"><font size="3" face="Verdana"><span style="color:black">Best Regards,<br>
<br>
<br>
</span><span style="font-size:12pt"></span><font face="'Times New Roman', Times, serif"><span style="color:black">Mostafa Abdallah Ammar, PhD.</span><span style="color:black"><br>
Head of Information Security Department</span><span style="color:black"><br>
CCIE security #23971</span><span style="font-size:12pt"></span><span style="color:black"><br>
Arab Academy For Science And Technology & maritime Transport</span><span style="font-size:12pt"></span><span style="color:black"><br>
Computer Networks & Data Center (CNDC)</span><span style="font-size:12pt"></span></font></font><span style="color:black"><font face="'Times New Roman', Times, serif"><font size="3"><br>
Mobile: 002 01001983674</font></font><br>
</span></span></div>
</span></font></div>
</div>
</div>
</div>
</div>
</div>

_______________________________________________<br>
P4-dev mailing list<br>
<a href="mailto:P4-dev@lists.p4.org" target="_blank">P4-dev@lists.p4.org</a><br>
<a href="http://lists.p4.org/mailman/listinfo/p4-dev_lists.p4.org" rel="noreferrer" target="_blank">http://lists.p4.org/mailman/listinfo/p4-dev_lists.p4.org</a><br>
</blockquote></div><img width="0" height="0" class="mailtrack-img" alt="" style="display:flex" src="https://mailtrack.io/trace/mail/f0d315bcce353904e0fd184c20be3f298ed0f763.png?u=1052462"></div>