<div class="__aliyun_email_body_block"><div  style="line-height:1.7;font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;color:#000000;"><div  style="clear:both;">Hello All,</div><div  style="clear:both;"><br ></div><div  style="clear:both;">I am a newbie here. I am working on a link layer device to fit for a special scenario, which is as follows:</div><div  style="clear:both;"><br ></div><div  style="clear:both;">Host 1  ---  My Device  ---  Host2</div><div  style="clear:both;"><br ></div><div  style="clear:both;">At the very beginning, Host 1 and Host 2 are TCP connected. In this case, my device are introduced in the link between Host 1 and Host 2. What I have to do can be summarized as three folds:</div><div  style="clear:both;">(1) M<span  style="caret-color:#000000;color:#000000;font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:.0px;text-transform:none;white-space:normal;word-spacing:.0px;background-color:#ffffff;text-decoration:none;float:none;display:inline;">y device should be a link layer device to work without any affects for Host 1 and Host 2, in that case, no device in Host 1 and Host 2 needs to change current configurations, which are really not easy in my scenario. Host 1 and Host 2 can communicate with each other just like no my device are involved.</span></div><div  style="clear:both;">(2)Host 1 and Host 2 are out of my control, no product provider will support me to change even a character.</div><div  style="clear:both;">(3)My device should sign application layer payload and put signing values back to the application data, which are then encapsulated back to the TCP packet stream.</div><div  style="clear:both;"><br ></div><div  style="clear:both;">We are not sure that, how can we process those changed TCP packets to deal with various retransmissions like out-of-order, packet loss and so on. I am also review the previous threads in this mailing list. But as a newbie, I am not sure if I should turn to F-stack, KNI for the help from the protocol stack, or program a state checking applications in DPDK to calculate TCP sequence number and cache previous data for possible retransmission by myself. Or you may have better solution suggestions for us.</div><div  style="clear:both;"><br ></div><div  style="clear:both;">We are really appreciate your kind response.</div><div  style="clear:both;"><br ></div><div  style="clear:both;">Thank you and have a nice day.</div><div  style="clear:both;"><br ></div><div  style="clear:both;"><br ></div><div  style="clear:both;">Xiang</div></div></div>