Get sources (for Debian-based distributions)
git clone git:
sudo apt-get install wireshark-dev
export WIRESHARK=/usr/include/wireshark
Ensure that <epan/packet.h> is in the $WIRESHARK path.
cd src
sudo apt-get install scons
scons install
sudo mv openflow.so /usr/lib/wireshark/libwireshark1/plugins/
cd /usr/lib/wireshark/libwireshark1/plugins/
sudo chown root:root openflow.so
sudo chmod 644 openflow.so
Run Wireshark.