Commit Graph
171 Commits
Author SHA1 Message Date
Gustavo J. A. M. Carneiro 0824ceacd9 WAF: as suggested by George, add a bunch of helper waf scripts that call the toplevel waf script, so that it is possible to compile with ./waf from emacs regardless of which buffer you are visiting (the other alternative is to install waf system wide and run 'waf'. 2007-09-08 19:24:39 +01: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
Mathieu Lacage 8b87d39c72 merge with trunk 2007-08-10 16:28:09 +02:00
Mathieu Lacage 23a116b96e merge with win32 tree 2007-08-09 13:42:42 +02:00
Mathieu Lacage c4ccb4a8ca merge 2007-08-09 09:39:29 +02:00
Mathieu Lacage b392b2a867 merge with trunk 2007-08-09 09:36:59 +02:00
Mathieu Lacage 7f3f471f12 rename Bind to DefaultValue::Bind. fix bug 62 2007-08-08 16:41:59 +02:00
Gustavo J. A. M. Carneiro 0eca73234a 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 b5f68770a3 move header sample and build tag sample 2007-08-08 11:20:49 +02:00
Mathieu Lacage 1242430e2f improve print output 2007-08-08 11:20:09 +02:00
Mathieu Lacage 7f9545754c sample packet tag code 2007-08-08 11:15:45 +02:00
Mathieu Lacage 5a38178db2 Trailer::Register -> Trailer::AllocateUid and Header::Register -> Header::AllocateUid 2007-08-08 10:01:19 +02:00
Mathieu Lacage 5c419ea37f remove Chunk base class 2007-08-08 09:12:55 +02:00
Mathieu Lacage 0db07e14d6 merge implicit conversion tree 2007-08-06 15:32:27 +02:00
Mathieu Lacage 06c632fa50 merge from trunk 2007-08-06 12:35:06 +02:00
Mathieu Lacage 913319d9e3 merge packet socket with trunk 2007-08-06 09:59:29 +02:00
Mathieu Lacage 93cea27ad8 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 a454a51939 rework the PacketPrinter API and implementation 2007-08-04 13:22:08 +02:00
Mathieu Lacage f6ec749e96 update sample code to use a std::string rather than a const char * 2007-08-03 17:52:39 +02:00
Mathieu Lacage c05e7134ed doxygen improvements to Packet, Tags, and Headers/Trailers 2007-08-03 17:00:40 +02:00
Mathieu Lacage 9c1e4a0e70 rework the Tags API to ensure proper uid generation for tags 2007-08-03 13:00:38 +02:00
Mathieu Lacage 7298cd1110 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 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 2641f7fe88 InetSocketAddress: replace explicit conversion to implicit conversion 2007-07-30 14:07:39 +02:00
Mathieu Lacage df7f115415 InetAddress -> InetSocketAddress 2007-07-30 13:29:36 +02:00
Mathieu Lacage 7b9fbc36e1 merge 2007-07-30 10:35:03 +02:00
Mathieu Lacage 695119b3a5 Ipv4TransportAddress -> InetAddress 2007-07-27 08:44:26 +02:00
Mathieu Lacage 863de62880 ipv4-transport-address -> inet-address 2007-07-27 08:32:34 +02:00
Mathieu Lacage c716994cab convert Socket to use Address class 2007-07-27 08:23:20 +02:00
Emmanuelle Laprise b078d91894 cleanup the wscripts 2007-07-27 20:45:07 +02:00
Mathieu Lacage 014bc9ed79 mobility models 2007-07-23 15:53:54 +02:00
Mathieu Lacage f6712c7cbd IntegerDefaultValue -> NumericDefaultValue 2007-07-23 14:13:03 +02:00
Unknown 8b7716b380 Add payload size to UDP 2007-07-01 00:35:59 -07:00
Unknown 96a92d230e more verbose commenting of the sample 2007-07-01 00:21:14 -07:00
Mathieu Lacage 35f80fc5c3 modify sample packet printer to use ipv4 and udp headers 2007-06-28 11:48:37 +02:00
Mathieu Lacage d879c3c54a merge from head 2007-06-21 09:40:57 +02:00
Mathieu Lacage 10d053a838 comment the sample code a little bit 2007-06-13 00:07:17 +02:00
Mathieu Lacage c4ab5ba8ff add separator support to PacketPrinter 2007-06-13 00:02:57 +02:00
Mathieu Lacage 75bc2e9b0b sample code for pretty printing 2007-06-12 23:40:14 +02:00
Mathieu Lacage d27fe9ac8e merge 2007-06-12 22:54:10 +02:00
Mathieu Lacage f5ce4791d2 IUdp -> Udp 2007-06-06 10:54:58 +02:00
Mathieu Lacage c32fa46161 ISocketFactory -> SocketFactory 2007-06-04 17:57:01 +02:00
Mathieu Lacage d0bd4ea161 i-socket-factory.h -> socket-factory.h 2007-06-04 17:54:56 +02:00
Mathieu Lacage 01f37ccb65 rename MakeNewObject to Create 2007-06-04 16:32:37 +02:00
Mathieu Lacage 4d5a66d6e5 remove MakeInternetNode 2007-06-04 16:28:18 +02:00
Mathieu Lacage 1225b1623e rename INode to Node 2007-06-04 16:17:01 +02:00
Tom Henderson cdf13df87d Add main-query-interface.cc sample file 2007-06-13 23:13:21 -07:00