remove dead code
parent
5c9a4d2328
commit
62a6143de1
|
@ -62,12 +62,6 @@ Arp::Dispose (void)
|
|||
}
|
||||
}
|
||||
|
||||
Arp *
|
||||
Arp::Copy (Node *node) const
|
||||
{
|
||||
return new Arp (node);
|
||||
}
|
||||
|
||||
TraceResolver *
|
||||
Arp::CreateTraceResolver (TraceContext const &context)
|
||||
{
|
||||
|
|
|
@ -42,7 +42,6 @@ public:
|
|||
|
||||
Arp (Node *node);
|
||||
~Arp ();
|
||||
virtual Arp *Copy (Node *node) const;
|
||||
|
||||
virtual void Dispose (void);
|
||||
|
||||
|
|
|
@ -363,13 +363,6 @@ Ipv4::FindInterfaceForDevice (NetDevice const*device)
|
|||
return 0;
|
||||
}
|
||||
|
||||
Ipv4*
|
||||
Ipv4::Copy(Node *node) const
|
||||
{
|
||||
Ipv4 *ipv4 = new Ipv4 (node);
|
||||
ipv4->SetDefaultTtl (m_defaultTtl);
|
||||
return ipv4;
|
||||
}
|
||||
void
|
||||
Ipv4::Receive(Packet& packet, NetDevice *device)
|
||||
{
|
||||
|
|
|
@ -186,8 +186,6 @@ public:
|
|||
Ipv4Interface *FindInterfaceForDevice (NetDevice const*device);
|
||||
|
||||
|
||||
virtual Ipv4* Copy(Node *node) const;
|
||||
|
||||
/**
|
||||
* Lower layer calls this method after calling L3Demux::Lookup
|
||||
* The ARP subclass needs to know from which NetDevice this
|
||||
|
|
|
@ -105,12 +105,6 @@ Udp::Allocate (Ipv4Address localAddress, uint16_t localPort,
|
|||
peerAddress, peerPort);
|
||||
}
|
||||
|
||||
Udp*
|
||||
Udp::Copy(Node *node) const
|
||||
{
|
||||
return new Udp (node);
|
||||
}
|
||||
|
||||
void
|
||||
Udp::Receive(Packet& packet,
|
||||
Ipv4Address const &source,
|
||||
|
|
|
@ -61,7 +61,6 @@ public:
|
|||
Ipv4Address saddr, Ipv4Address daddr,
|
||||
uint16_t sport, uint16_t dport);
|
||||
// inherited from Ipv4L4Protocol
|
||||
virtual Udp* Copy(Node *node) const;
|
||||
virtual void Receive(Packet& p,
|
||||
Ipv4Address const &source,
|
||||
Ipv4Address const &destination);
|
||||
|
|
Loading…
Reference in New Issue