Commit Graph
44 Commits
Author SHA1 Message Date
Tom Henderson 15ba46e508 s/ns3::Udp/ns3::UdpSocketFactory
--HG--
rename : src/node/udp.cc => src/node/udp-socket-factory.cc
rename : src/node/udp.h => src/node/udp-socket-factory.h
2008-05-17 12:08:20 -07:00
Tom Henderson 957f927736 Move API for socket factory to a Socket::CreateSocket () factory method 2008-05-12 06:39:00 -07:00
Tom Henderson ee3e88761c overloaded Recv() method suggested by Gustavo 2008-05-02 09:38:18 -07:00
Tom Henderson a903971a50 more cleanup 2008-05-02 09:21:01 -07:00
Tom Henderson db05fa1775 remove previous socket receive methods 2008-04-28 21:45:55 -07:00
Mathieu Lacage b9ddd98e03 Build -> Install 2008-04-07 10:38:37 -07:00
Mathieu Lacage a465f59fd3 port to helper API. 2008-03-24 16:30:37 -07:00
Mathieu Lacage e716bbe09d add back support for introspected doxygen. 2008-03-13 12:56:49 -07:00
Mathieu Lacage eb652032a8 QueryInterface -> GetObject 2008-01-31 22:11:03 +01:00
Mathieu Lacage 876fb1f44b iid -> tid 2008-01-15 12:44:09 +01:00
Mathieu Lacage 604159b374 InterfaceId -> TypeId 2008-01-15 12:36:22 +01:00
Mathieu Lacage 813570fdf2 add CreateObject<> to instanciate subclasses of the Object base class. Replaces Create<>. 2008-01-02 09:09:24 +01:00
Mathieu Lacage af548b9f4a do not use Packet objects directly. Use Ptr<Packet> instead 2007-10-01 14:15:56 +02: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 6e340cbb56 merge with trunk 2007-08-10 16:28:09 +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 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 90d2314ab2 InetSocketAddress: replace explicit conversion to implicit conversion 2007-07-30 14:07:39 +02:00
Mathieu Lacage 072947fae1 InetAddress -> InetSocketAddress
--HG--
rename : src/node/inet-address.cc => src/node/inet-socket-address.cc
rename : src/node/inet-address.h => src/node/inet-socket-address.h
2007-07-30 13:29:36 +02:00
Mathieu Lacage 6770e9008d Ipv4TransportAddress -> InetAddress 2007-07-27 08:44:26 +02:00
Mathieu Lacage 75fdbc8ded ipv4-transport-address -> inet-address
--HG--
rename : src/node/ipv4-transport-address.cc => src/node/inet-address.cc
rename : src/node/ipv4-transport-address.h => src/node/inet-address.h
2007-07-27 08:32:34 +02:00
Mathieu Lacage 866c75dc00 convert Socket to use Address class 2007-07-27 08:23:20 +02:00
Mathieu Lacage 1cef2b1149 IUdp -> Udp 2007-06-06 10:54:58 +02:00
Mathieu Lacage f97323b733 ISocketFactory -> SocketFactory 2007-06-04 17:57:01 +02:00
Mathieu Lacage 0a621ad784 i-socket-factory.h -> socket-factory.h
--HG--
rename : src/node/i-socket-factory.cc => src/node/socket-factory.cc
rename : src/node/i-socket-factory.h => src/node/socket-factory.h
2007-06-04 17:54:56 +02:00
Mathieu Lacage 343e72475c rename MakeNewObject to Create 2007-06-04 16:32:37 +02:00
Mathieu Lacage 669a876460 remove MakeInternetNode
--HG--
rename : src/internet-node/i-node-impl.cc => src/internet-node/internet-node.cc
rename : src/internet-node/i-node-impl.h => src/internet-node/internet-node.h
2007-06-04 16:28:18 +02:00
Mathieu Lacage fd29e39bee rename INode to Node 2007-06-04 16:17:01 +02:00
Mathieu Lacage 2b61526c18 make OnOffApplication not depend on IUdp 2007-05-14 12:59:44 +02:00
Mathieu Lacage 9464ec7549 rename Node to INode 2007-05-14 10:06:12 +02:00
Mathieu Lacage 7c2ad03168 rename internet-node.h to i-node-impl.h
--HG--
rename : src/internet-node/internet-node.cc => src/internet-node/i-node-impl.cc
rename : src/internet-node/internet-node.h => src/internet-node/i-node-impl.h
2007-05-14 09:26:32 +02:00
Mathieu Lacage 257602899f rework the refcounting framework to use the MakeNewObject function 2007-05-11 08:59:49 +02:00
Mathieu Lacage e70e445975 use Ptr<> everywhere Object or NsUnknown are used 2007-05-10 20:19:26 +02:00
Mathieu Lacage 7102517ca9 remove leaks and rework the Ptr class to work with a new refcount mechanism 2007-05-10 18:33:52 +02:00
Mathieu Lacage 5e8a744bec define and implement IUdp 2007-05-03 14:20:04 +02:00
Mathieu Lacage e26095c940 port sample code to refcounting model 2007-05-03 00:12:39 +02:00
Mathieu Lacage 66f0d86355 remove Node::Copy, Node::Create and Node::*Prototype* methods. 2007-05-02 12:34:53 +02:00
Mathieu Lacage 0ec535bb60 remove DatagramSocket, use Socket base class for UdpSocket subclass. 2007-04-30 16:23:10 +02:00
Tom Henderson 9fc27750c3 Rename UdpSocket to DatagramSocket 2007-03-17 23:16:59 -07:00
Mathieu Lacage 5ecf847cb1 make simple example work 2007-02-12 19:52:01 +01:00
Mathieu Lacage 91b126036d add some traffic generation to sample code 2007-02-12 19:47:36 +01:00
Mathieu Lacage c106232f07 make the sample code compile and link. 2007-02-12 19:28:48 +01:00