I am attempting to route all Layer 2 and Layer 3 data to a user application(java). Does anyone have any suggestions on the best way to accomplish this. I was attempting to create a TUN device but have been having no luck with it. Any suggestions appreciated.