Commit Graph

25 Commits

Author SHA1 Message Date
Tom Henderson
18011ba4eb improve send semantics, documentation 2008-05-15 23:06:58 -07:00
Tom Henderson
aa7b91f890 branch merge 2008-05-15 21:35:55 -07:00
Gustavo J. A. M. Carneiro
36e6b69aaf PacketSocket bind-to-interface bug 2008-05-14 19:15:00 +01:00
Tom Henderson
b00892cae7 swap SendTo parameters 2008-05-13 07:22:03 -07:00
Tom Henderson
6be343530f Add SocketDefaults to store socket option attributes 2008-05-12 23:02:23 -07:00
Tom Henderson
ee62b6d04e Enable receive buffer limit for packet socket 2008-05-11 20:59:08 -07:00
Tom Henderson
0f55fefaba API for SocketOptions class 2008-05-10 21:27:32 -07:00
Tom Henderson
08511f30c5 Add GetTxBuffer; add some socket options; make limited UDP receive buffer functional 2008-05-03 11:11:24 -07:00
Tom Henderson
daddd90d07 Implement GetRxAvailable () 2008-05-02 10:55:07 -07:00
Tom Henderson
288d193daa Cut over UDP applications to use the new receive API 2008-04-25 14:29:28 -07:00
Tom Henderson
d7a038431f Plumb in socket receive pull model, in parallel to existing Receive framework 2008-04-24 08:18:01 -07:00
Mathieu Lacage
1649c1dc65 NS_LOG_FUNCTION -> NS_LOG_FUNCTION_NOARGS and NS_LOG_PARAMS -> NS_LOG_FUNCTION 2008-04-15 15:10:53 -07:00
Providence SALUMU MUNGA
46cc3fab6d make sure dev is initialized correctly when binding to more than one interface. 2008-03-28 11:26:59 -07:00
Mathieu Lacage
b5a8d46096 get rid of CreateObjectWith 2008-03-11 13:30:12 -07:00
Mathieu Lacage
c156f29c86 merge 2007-11-22 10:30:29 +01:00
Gustavo J. A. M. Carneiro
11a58a55c3 Add a few NS_LOG_LOGIC calls in PacketSocket::SendTo () 2007-11-15 16:08:28 +00:00
Mathieu Lacage
327e60b275 do not use Packet objects directly. Use Ptr<Packet> instead 2007-10-01 14:15:56 +02:00
Craig Dowell
2e1dcf1479 debug to log 2007-09-13 21:36:32 -07:00
Mathieu Lacage
e20b40ee61 backout 9856d1175cbb:642d6798feaa:27dd3e15308a 2007-08-29 09:35:53 +02:00
George Riley
391b3eef11 Change the protocol stack processing to pass packets by non-const
reference, rather than const reference and value as was previously done.
Also change  the queue semantics to return the packet on a deque, rather
than requiring a packet as a parameter.  The problem with the original
approach was that packet UID's were getting skipped.  The fix handles
the uid properly, and we get sequential packet uid's on the trace file.
2007-08-24 11:44:11 -04:00
Mathieu Lacage
971997fbc1 use implicit conversion rather than private explicit conversion: fixes build 2007-08-10 19:18:19 +02:00
Mathieu Lacage
b954d65b8f remove uint8_t * from the send path of the socket API 2007-08-01 19:19:42 +02:00
Mathieu Lacage
210e88b511 split callback registration from socket operations in socket.h API. 2007-08-01 18:48:24 +02:00
Mathieu Lacage
707b722c36 fix tracing 2007-08-01 13:53:48 +02:00
Mathieu Lacage
b835a6b564 a packet socket 2007-08-01 09:02:03 +02:00