RecvFrom() expansion, add flags parameter to some Send calls

This commit is contained in:
Tom Henderson committed 2008-06-09 06:40:21 -07:00
1 parent aa140401da
commit 097d2d9fc6
15 files changed
+410 -179

No files matched your search

+6 -3
View File
@@ -57,11 +57,14 @@ public:
virtual int ShutdownSend (void) = 0;
virtual int ShutdownRecv (void) = 0;
virtual int Connect (const Address &address) = 0;
virtual int Send (Ptr<Packet> p) = 0;
virtual uint32_t GetTxAvailable (void) const = 0;
virtual int SendTo (Ptr<Packet> p, const Address &address) = 0;
virtual Ptr<Packet> Recv (uint32_t maxSize, uint32_t flags) = 0;
virtual int Send (Ptr<Packet> p, uint32_t flags) = 0;
virtual int SendTo (Ptr<Packet> p, uint32_t flags,
const Address &toAddress) = 0;
virtual uint32_t GetRxAvailable (void) const = 0;
virtual Ptr<Packet> Recv (uint32_t maxSize, uint32_t flags) = 0;
virtual Ptr<Packet> RecvFrom (uint32_t maxSize, uint32_t flags,
Address &fromAddress) = 0;
private:
// Indirect the attribute setting and getting through private virtual methods