jpcap - IPPacket rsv_tos
Hello there
Does anyone has any idea regarding the rsv_tos option for the jpcap.packet.IPPacket class of the jpcap lib.....
Specifically I try to view the TOS field of a Packet (which, by the way, is marked) using the following sc.
if(packetr instanceof IPPacket)
{
jpcap.packet.IPPacket ip_pack=(jpacap.packet.IPPacket)packet
System.out.println(ip_pack.rsv_tos);
}
.....
the point is that I get that the ip_pack.rsv_tos equal to zero even when the Type Of Service field is marked......
Any ideas, suggestions or alternative solutions are well accepted
Thanks in advance

