Question

Locked

JPCAP & DSCP

By sorfanos ·
Hello there

Does anyone has an idea about how can someone can view the DSCP (Differentiated Services Code Point) field using the JPCAP library...

I try for example
if (packet instanceof IPPacket)
{
newPacket=(IPPacket)packet;
byte myByte=newPacket.rsv_tos;
...etc
}

but I get that the byte length is zero

Best regards
Spirus

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

What JPCap?

by bestia_averno In reply to JPCAP & DSCP

What JPCap are you using?
There are two diferent JPCap projects:
http://netresearch.ics.uci.edu/kfujii/jpcap/doc/
http://jpcap.sourceforge.net/
O.S.?

Collapse -

JPCAP & DSCP

by sorfanos In reply to What JPCap?

Well I use this
http://netresearch.ics.uci.edu/kfujii/jpcap/doc/
......
But if you are interest I solved it with an alternative way (using jpcap though)
......

But my original question still waits for an answer
......

Can the DCSP be found using
http://jpcap.sourceforge.net/ package?

Best regards
Spirus

Back to Networks Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums