May 2015

Parsing OpenFlow Tcp packets with JNetPcap

I am using jnetpcap-2.0.b0001.jar and this is my project code :
I created the OpenFlow header , OpenFlowAnalyzer and OpenFlowHandler but I am unable to parse the OpenFlow header from OpenFlow packets on the listening interface eth1 of my project.
Any help plz?

Creating a TCP Packet from scratch

Link to detailed problem statement here:

how to decode DNS protocol

As said above, how to decode the DNS protocol?