Tom Henderson
de69fcb842
RecvFrom() expansion, add flags parameter to some Send calls
2008-06-09 06:40:21 -07:00
Raj Bhattacharjea
de2475ddc3
Merge with ns-3-dev
2008-06-04 17:19:32 -04:00
Mathieu Lacage
12ae07ddab
bug 202: classes disappeared from doxygen output
2008-06-04 11:48:52 -07:00
Mathieu Lacage
92f2ed110a
bug 203: Listen must be implemented for Udp and Packet sockets.
2008-06-04 09:19:16 -07:00
Mathieu Lacage
94587dd4f3
bug 200: Packet::PrintTags is not implemented.
2008-06-03 16:20:17 -07:00
Tom Henderson
9a94ef7a2d
some doxygen cleanup
2008-05-26 11:48:18 -07:00
Tom Henderson
791e9ae464
Receive raw buffer variant
2008-05-26 11:22:42 -07:00
Tom Henderson
5f94a4cf59
merge with ns-3-dev
2008-05-21 22:40:18 -07:00
Raj Bhattacharjea
3a34c3fff1
Merge with tomh/ns-3-dev-socket
2008-05-20 14:40:36 -04:00
Tom Henderson
5b119aa40d
Add attributes to new abstract base class for UdpSocket
2008-05-20 07:25:17 -07:00
Tom Henderson
67d54a7f8a
Implement IPTTL socket option for UDP
2008-05-17 11:15:02 -07:00
Tom Henderson
0a476b4f04
undo SocketDefaults class; plumb in new UdpSocket option attributes
2008-05-16 21:28:07 -07:00
Tom Henderson
18011ba4eb
improve send semantics, documentation
2008-05-15 23:06:58 -07:00
Tom Henderson
b00892cae7
swap SendTo parameters
2008-05-13 07:22:03 -07:00
Raj Bhattacharjea
5d5fd895f1
Add a socket callback that can unblock a blocked close
2008-05-12 13:13:50 -04:00
Tom Henderson
a042d0bbef
Move API for socket factory to a Socket::CreateSocket () factory method
2008-05-12 06:39:00 -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
bfe0533aa3
overloaded Recv() method suggested by Gustavo
2008-05-02 09:38:18 -07:00
Tom Henderson
f8a2add627
more cleanup
2008-05-02 09:21:01 -07:00
Tom Henderson
c6f7bb2d3e
remove previous socket receive methods
2008-04-28 21:45:55 -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
Tom Henderson
b998a05cce
A few minor cleanups to socket.h/cc
2008-04-22 22:39:17 -07:00
Tom Henderson
3752943c22
bug 131 partial fix: split out Send and DataSent callbacks
2008-04-22 22:29:16 -07:00
Tom Henderson
a0e14bd523
formatting cleanup
2008-02-02 15:52:54 -08:00
Raj Bhattacharjea
6c3559792c
Added in ns-3-tcp (second try)
2008-01-25 13:57:38 -05:00
Raj Bhattacharjea
282543b759
Add uint8_t* based API for sockets
2007-12-13 09:40:21 -05:00
Mathieu Lacage
327e60b275
do not use Packet objects directly. Use Ptr<Packet> instead
2007-10-01 14:15:56 +02:00
Tom Henderson
5e7e0d7b2a
Fold the two patches for bu6 69 together, building on the bug 65 patch
2007-09-03 23:32:23 -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
Tom Henderson
ad3b6a04cc
Doxygen cleanup
2007-08-13 20:53:29 -07: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
48d1219f5c
remove uint8_t * buffers from socket receive API
2007-08-01 19:09:11 +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
e05f635db5
rework the NetDevice <-> Node interface
2007-08-01 08:58:18 +02:00
Mathieu Lacage
f2084098e2
add InetSocketAddress::IsMatchingType and use it
2007-07-30 13:55:28 +02:00
Mathieu Lacage
c716994cab
convert Socket to use Address class
2007-07-27 08:23:20 +02:00
Mathieu Lacage
1225b1623e
rename INode to Node
2007-06-04 16:17:01 +02:00
Gustavo J. A. M. Carneiro
4c68aff164
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
ee02cd1a23
rename Node to INode
2007-05-14 10:06:12 +02:00
Mathieu Lacage
f1612bbc2c
fix dox warnings
2007-05-13 10:57:43 +02:00
Mathieu Lacage
4bd2abebd2
use Ptr<> everywhere Object or NsUnknown are used
2007-05-10 20:19:26 +02:00
Mathieu Lacage
96e58ed708
convert UdpSocket and Udp to Ptr<Node>
2007-05-10 07:51:59 +02:00
Mathieu Lacage
e5d10e4bf7
make capabilities and sockets refcounted
2007-05-02 23:18:51 +02:00
Mathieu Lacage
43adf5863d
apply ref/unref rules consistently for Node
2007-05-02 14:40:40 +02:00
Mathieu Lacage
399ba068e1
remove DatagramSocket, use Socket base class for UdpSocket subclass.
2007-04-30 16:23:10 +02:00
Tom Henderson
3e2f129922
Add base class IPAddr; L4Protocol; Protocol; OnOff Application, and base class Socket
2007-03-18 14:35:44 -07:00