Commit Graph
30 Commits
Author SHA1 Message Date
Tom Henderson 097d2d9fc6 RecvFrom() expansion, add flags parameter to some Send calls 2008-06-09 06:40:21 -07:00
Mathieu Lacage 183fe8f239 bug 210: must take device mtu into account. 2008-06-04 10:59:30 -07:00
Mathieu Lacage 407275e1c3 bug 209: remove buggy test for open state in PacketSocket::SendTo 2008-06-04 10:47:34 -07:00
Mathieu Lacage abb03e66af bug 203: Listen must be implemented for Udp and Packet sockets. 2008-06-04 09:19:16 -07:00
Tom Henderson f91eac1957 undo SocketDefaults class; plumb in new UdpSocket option attributes 2008-05-16 21:28:07 -07:00
Tom Henderson 4c32e8eb6e improve send semantics, documentation 2008-05-15 23:06:58 -07:00
Tom Henderson a6e0ed416b branch merge 2008-05-15 21:35:55 -07:00
Gustavo J. A. M. Carneiro bf1c46e9d8 PacketSocket bind-to-interface bug 2008-05-14 19:15:00 +01:00
Tom Henderson de36a7fdbc swap SendTo parameters 2008-05-13 07:22:03 -07:00
Tom Henderson 115aaa1250 Add SocketDefaults to store socket option attributes 2008-05-12 23:02:23 -07:00
Tom Henderson c624fd527d Enable receive buffer limit for packet socket 2008-05-11 20:59:08 -07:00
Tom Henderson 5b99a9d189 API for SocketOptions class 2008-05-10 21:27:32 -07:00
Tom Henderson ae4c8ad2d9 Add GetTxBuffer; add some socket options; make limited UDP receive buffer functional 2008-05-03 11:11:24 -07:00
Tom Henderson b94b2f1574 Implement GetRxAvailable () 2008-05-02 10:55:07 -07:00
Tom Henderson b28522507a Cut over UDP applications to use the new receive API 2008-04-25 14:29:28 -07:00
Tom Henderson 1c73dd0dd8 Plumb in socket receive pull model, in parallel to existing Receive framework 2008-04-24 08:18:01 -07:00
Mathieu Lacage 394014ddbc 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 b00dae394f make sure dev is initialized correctly when binding to more than one interface. 2008-03-28 11:26:59 -07:00
Mathieu Lacage 48a191409b get rid of CreateObjectWith 2008-03-11 13:30:12 -07:00
Mathieu Lacage 8eb55d86f1 merge 2007-11-22 10:30:29 +01:00
Gustavo J. A. M. Carneiro 12718515b9 Add a few NS_LOG_LOGIC calls in PacketSocket::SendTo ()
--HG--
extra : transplant_source : %13%FB%0A%92K%7F%5D%BB%5D%B4%F5%80%5C%C4%AEu%BC%C7%CE%DC
2007-11-15 16:08:28 +00:00
Mathieu Lacage af548b9f4a do not use Packet objects directly. Use Ptr<Packet> instead 2007-10-01 14:15:56 +02:00
Craig Dowell 611d0d35f1 debug to log 2007-09-13 21:36:32 -07:00
Mathieu Lacage c85f578bde backout 9856d1175cbb:642d6798feaa:27dd3e15308a 2007-08-29 09:35:53 +02:00
George Riley feb08acc56 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 680586f0e2 use implicit conversion rather than private explicit conversion: fixes build 2007-08-10 19:18:19 +02:00
Mathieu Lacage ea46e29e24 remove uint8_t * from the send path of the socket API 2007-08-01 19:19:42 +02:00
Mathieu Lacage 84f5d7e306 split callback registration from socket operations in socket.h API. 2007-08-01 18:48:24 +02:00
Mathieu Lacage 65ec58ce0a fix tracing 2007-08-01 13:53:48 +02:00
Mathieu Lacage a11316060c a packet socket 2007-08-01 09:02:03 +02:00