Tom Henderson
776f7dc5ac
A few minor cleanups to socket.h/cc
2008-04-22 22:39:17 -07:00
Tom Henderson
8c151e4b18
bug 131 partial fix: split out Send and DataSent callbacks
2008-04-22 22:29:16 -07:00
Tom Henderson
005849f7f5
formatting cleanup
2008-02-02 15:52:54 -08:00
Raj Bhattacharjea
33fa6d38f0
Added in ns-3-tcp (second try)
2008-01-25 13:57:38 -05:00
Raj Bhattacharjea
b9d8c0ebff
Add uint8_t* based API for sockets
2007-12-13 09:40:21 -05:00
Mathieu Lacage
af548b9f4a
do not use Packet objects directly. Use Ptr<Packet> instead
2007-10-01 14:15:56 +02:00
Tom Henderson
e8f289a705
Fold the two patches for bu6 69 together, building on the bug 65 patch
2007-09-03 23:32:23 -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
Tom Henderson
3b66211e3b
Doxygen cleanup
2007-08-13 20:53:29 -07: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
80a6f07ab0
remove uint8_t * buffers from socket receive API
2007-08-01 19:09:11 +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
8e2a107fde
rework the NetDevice <-> Node interface
2007-08-01 08:58:18 +02:00
Mathieu Lacage
140602fb4a
add InetSocketAddress::IsMatchingType and use it
2007-07-30 13:55:28 +02:00
Mathieu Lacage
866c75dc00
convert Socket to use Address class
2007-07-27 08:23:20 +02:00
Mathieu Lacage
fd29e39bee
rename INode to Node
2007-06-04 16:17:01 +02:00
Gustavo J. A. M. Carneiro
df3a324362
Rename the SocketErrno enumeration values, from ESOMETHING to ERROR_SOMETHING, to avoid conflict with errno #define's; fixes compilation in mingw32.
2007-05-17 15:50:20 +01:00
Mathieu Lacage
9464ec7549
rename Node to INode
2007-05-14 10:06:12 +02:00
Mathieu Lacage
0af1fb7d02
fix dox warnings
2007-05-13 10:57:43 +02:00
Mathieu Lacage
e70e445975
use Ptr<> everywhere Object or NsUnknown are used
2007-05-10 20:19:26 +02:00
Mathieu Lacage
abf74932a6
convert UdpSocket and Udp to Ptr<Node>
2007-05-10 07:51:59 +02:00
Mathieu Lacage
330ea61b96
make capabilities and sockets refcounted
2007-05-02 23:18:51 +02:00
Mathieu Lacage
d9daa0b63d
apply ref/unref rules consistently for Node
2007-05-02 14:40:40 +02:00
Mathieu Lacage
0ec535bb60
remove DatagramSocket, use Socket base class for UdpSocket subclass.
2007-04-30 16:23:10 +02:00
Tom Henderson
5d6b5e3873
Add base class IPAddr; L4Protocol; Protocol; OnOff Application, and base class Socket
2007-03-18 14:35:44 -07:00