Im not sure how they do it as my understanding about those type things is limited. I just remember reading about it on one of the their boards. I'll look and see if I can find the exact thread and maybe that will help point you in the right direction
Also one other thing is Xlink Kai has a java based UI thats open source so maybe you could look at that for a few ideas. Now this wont tell you anything regarding the Ethernet and IP headers being removed and reconstructed as that is a feature for the up coming Xlink One (which is in beta) but it might help you in other areas of your project.
open source jKaiUI:
http://jkaiui.sourceforge.net/Here is the thread on the Xlink forums talking about stripping of the Ethernet header and IP header. Nobody says exactly how its done but Tod_XBC from XBConnect gives a brief rundown. If you have any questions maybe one of those guys will help.
http://www.teamxlink...3830b62033a6cdf