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
bf65ed9df4
merge with win32 tree
2007-08-09 13:42:42 +02:00
Mathieu Lacage
5b5fd9a8f0
merge
2007-08-09 09:39:29 +02:00
Mathieu Lacage
ceb786f389
merge with trunk
2007-08-09 09:36:59 +02:00
Mathieu Lacage
5a15701fca
rename Bind to DefaultValue::Bind. fix bug 62
2007-08-08 16:41:59 +02:00
Gustavo J. A. M. Carneiro
9aa65d1e2a
WAF: add new bld.create_ns3_module() and bld.create_ns3_program() methods to make declaration of modules and programs simpler, and allowing us to change how ns-3 is built in a centralized way, without needing to change every module wscript file.
2007-08-08 15:10:36 +01:00
Mathieu Lacage
bb4559d644
move header sample and build tag sample
...
--HG--
rename : samples/main-header.cc => samples/main-packet-header.cc
2007-08-08 11:20:49 +02:00
Mathieu Lacage
9e865ad55e
improve print output
2007-08-08 11:20:09 +02:00
Mathieu Lacage
2298329fcf
sample packet tag code
2007-08-08 11:15:45 +02:00
Mathieu Lacage
252af8d9bf
Trailer::Register -> Trailer::AllocateUid and Header::Register -> Header::AllocateUid
2007-08-08 10:01:19 +02:00
Mathieu Lacage
5d6c37a355
remove Chunk base class
...
--HG--
rename : src/common/chunk.cc => src/common/chunk-registry.cc
rename : src/common/chunk.h => src/common/chunk-registry.h
2007-08-08 09:12:55 +02:00
Mathieu Lacage
31fe48b221
merge implicit conversion tree
...
--HG--
rename : examples/csma-cd-one-subnet.cc => examples/csma-cd-packet-socket.cc
rename : src/node/eui48-address.cc => src/node/eui64-address.cc
rename : src/node/eui48-address.h => src/node/eui64-address.h
2007-08-06 15:32:27 +02:00
Mathieu Lacage
4832ec6d54
merge from trunk
2007-08-06 12:35:06 +02:00
Mathieu Lacage
082bd1f001
merge packet socket with trunk
2007-08-06 09:59:29 +02:00
Mathieu Lacage
4d013a8d3d
force users to register their header/trailer uid strings by hand rather than do lazy uid allocation.
2007-08-04 16:37:16 +02:00
Mathieu Lacage
3150763b95
rework the PacketPrinter API and implementation
2007-08-04 13:22:08 +02:00
Mathieu Lacage
bd7830b253
update sample code to use a std::string rather than a const char *
2007-08-03 17:52:39 +02:00
Mathieu Lacage
90fbd76f4c
doxygen improvements to Packet, Tags, and Headers/Trailers
...
--HG--
rename : samples/main-packet.cc => samples/main-header.cc
2007-08-03 17:00:40 +02:00
Mathieu Lacage
03930c9350
rework the Tags API to ensure proper uid generation for tags
2007-08-03 13:00:38 +02:00
Mathieu Lacage
ebc240690e
make sure we return the right integer uid if the header of trailer was already registered.
2007-08-03 10:39:55 +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
36efa41341
merge
2007-07-30 10:35:03 +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
Emmanuelle Laprise
79639e08c8
cleanup the wscripts
2007-07-27 20:45:07 +02:00
Mathieu Lacage
1dd6a3258a
mobility models
2007-07-23 15:53:54 +02:00
Mathieu Lacage
06036030ba
IntegerDefaultValue -> NumericDefaultValue
2007-07-23 14:13:03 +02:00
tomh@ns-regression.ee.washington.edu
07b1cbce87
Add payload size to UDP
2007-07-01 00:35:59 -07:00
tomh@ns-regression.ee.washington.edu
0d870f7e19
more verbose commenting of the sample
2007-07-01 00:21:14 -07:00
Mathieu Lacage
868e8c93e3
modify sample packet printer to use ipv4 and udp headers
2007-06-28 11:48:37 +02:00
Mathieu Lacage
60d0b58baf
merge from head
2007-06-21 09:40:57 +02:00
Mathieu Lacage
7744599194
comment the sample code a little bit
2007-06-13 00:07:17 +02:00
Mathieu Lacage
b0a25190fa
add separator support to PacketPrinter
2007-06-13 00:02:57 +02:00
Mathieu Lacage
a9e2a574cd
sample code for pretty printing
2007-06-12 23:40:14 +02:00
Mathieu Lacage
70de515a71
merge
2007-06-12 22:54:10 +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
Tom Henderson
c2286f1c11
Add main-query-interface.cc sample file
2007-06-13 23:13:21 -07:00
Mathieu Lacage
cf021d8438
add Chunk::GetName and implement it
2007-05-30 10:03:15 +02:00
Mathieu Lacage
3d5b3270fc
sample code for component manager
2007-05-25 21:53:24 +02:00