diff --git a/bindings/python/ns3_module_emu.py b/bindings/python/ns3_module_emu.py index 62bf7c52a..7b0ba7f58 100644 --- a/bindings/python/ns3_module_emu.py +++ b/bindings/python/ns3_module_emu.py @@ -64,10 +64,6 @@ def register_Ns3EmuNetDevice_methods(root_module, cls): cls.add_method('SetDataRate', 'void', [param('ns3::DataRate', 'bps')]) - ## emu-net-device.h: void ns3::EmuNetDevice::SetInterframeGap(ns3::Time t) [member function] - cls.add_method('SetInterframeGap', - 'void', - [param('ns3::Time', 't')]) ## emu-net-device.h: void ns3::EmuNetDevice::Start(ns3::Time tStart) [member function] cls.add_method('Start', 'void', @@ -80,10 +76,6 @@ def register_Ns3EmuNetDevice_methods(root_module, cls): cls.add_method('SetQueue', 'void', [param('ns3::Ptr< ns3::Queue >', 'queue')]) - ## emu-net-device.h: void ns3::EmuNetDevice::Receive(ns3::Ptr p) [member function] - cls.add_method('Receive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p')]) ## emu-net-device.h: void ns3::EmuNetDevice::SetAddress(ns3::Mac48Address addr) [member function] cls.add_method('SetAddress', 'void', diff --git a/src/devices/emu/emu-net-device.h b/src/devices/emu/emu-net-device.h index 654c5e739..52e26a62b 100644 --- a/src/devices/emu/emu-net-device.h +++ b/src/devices/emu/emu-net-device.h @@ -68,14 +68,6 @@ public: */ void SetDataRate (DataRate bps); - /** - * Set the inteframe gap used to separate packets. The interframe gap - * defines the minimum space required between packets sent by this device. - * - * @param t the interframe gap time - */ - void SetInterframeGap (Time t); - /** * Set a start time for the device. * @@ -102,17 +94,6 @@ public: */ void SetQueue (Ptr queue); - /** - * Receive a packet. - * - * The EmuNetDevice receives packets from its socket reader - * and forwards them up the protocol stack. This is the public method - * used by the reader to indicate that a packet has arrived at the device. - * - * @param p Ptr to the received packet. - */ - void Receive (Ptr p); - /** * Assign a MAC address to this device. *