Maybe you can use jpcap library
Date: Sun, 5 Feb 2012 13:00:14 +0530 Subject: Re: How to read and manipulate IP header using Java. From: santosh.yesoptus@xxxxxxxxx To: prashantpatil321@xxxxxxxxx CC: kernelnewbies@xxxxxxxxxxxxxxxxx On Sun, Feb 5, 2012 at 10:30 AM, Prashant Patil <prashantpatil321@xxxxxxxxx> wrote:
If you want to manipulate packet headers in linux network stack you can use a framework called netfilter and work around with skbuff by writing a LKM, you can then provide an interface so that ur java application can read it out or pass required parameters in the user land application.
_______________________________________________ Regards, Santosh Kulkarni _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies |
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies