I have tested OFSwitch13 release 4.0.0 in ns-3.30.1 on ubuntu 18.04.3 and get these errors:
../src/ofswitch13/model/ofswitch13-queue.cc: In member function ‘virtual bool ns3::OFSwitch13Queue::Enqueue(ns3::Ptr<ns3::Packet>)’:
../src/ofswitch13/model/ofswitch13-queue.cc:90:18: error: ‘Tail’ was not declared in this scope
DoEnqueue (Tail (), packet);
^~~~
../src/ofswitch13/model/ofswitch13-queue.cc:90:18: note: suggested alternative: ‘Tag’
DoEnqueue (Tail (), packet);
^~~~
Tag
../src/ofswitch13/model/ofswitch13-queue.cc: In member function ‘void ns3::OFSwitch13Queue::NotifyDequeue(ns3::Ptr<ns3::Packet>)’:
../src/ofswitch13/model/ofswitch13-queue.cc:213:18: error: ‘Head’ was not declared in this scope
for (auto it = Head (); it != Tail (); it++)
^~~~
../src/ofswitch13/model/ofswitch13-queue.cc:213:18: note: suggested alternative: ‘read’
for (auto it = Head (); it != Tail (); it++)
^~~~
read
Thanks a lot.