Commit Graph

153 Commits

Author SHA1 Message Date
Craig Dowell
20bf1d71bb merge with trunk 2007-09-10 15:50:07 -07:00
Craig Dowell
a39d25f6c1 readme file includes APIs 2007-09-06 15:57:53 -07:00
Tom Henderson
929e23b74e Fix for bug69: set local address correctly upon UDP connect; apply correct UDP connect() semantics (that sendto cannot override addresses on a connected socket); if destination is IPv4 limited broadcast address, convert to subnet-directed broadcast and send out on each interface; provide example csma-broadcast.cc script 2007-09-04 21:26:54 -07:00
Craig Dowell
07fb4b1e5b clarify use of wildcards in multicast routes versus default mulicast routes. 2007-09-04 18:06:06 -07:00
Craig Dowell
f652969936 Don't flood multicasts if no route found 2007-09-04 15:10:47 -07:00
Craig Dowell
65c0b60e5f piles of doxygen, changes to SetDefaultMulticastRoute plumbing 2007-09-04 14:38:40 -07: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
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
Craig Dowell
2d73bd9927 Move MakeMulticastAddress to NetDevice 2007-08-29 12:11:11 -07:00
Mathieu Lacage
e20b40ee61 backout 9856d1175cbb:642d6798feaa:27dd3e15308a 2007-08-29 09:35:53 +02:00
George Riley
979da57982 Reconcile changes with Mathieu's latest 2007-08-28 09:55:21 -04:00
Mathieu Lacage
cc6d4c0c06 constify 2007-08-28 13:03:08 +02:00
Craig Dowell
551fe6ebc5 real multicast enet addr, more source routes, default multicast route 2007-08-27 23:46:14 -07:00
Craig Dowell
4e486b1f59 semi-real multicast hardware addresses 2007-08-24 17:38:49 -07:00
Craig Dowell
217edad33c add ipv4 methods, remove source multicast route requirement, fix udp socket source address prob 2007-08-24 16:57:54 -07: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
Craig Dowell
c0b90df335 branch merge 2007-08-20 13:40:15 -07:00
Tom Henderson
ad45701790 restore ns-2 .tr format 2007-08-13 22:53:20 -07:00
Craig Dowell
aecc283cb5 set source IP address in udp-socket packets 2007-08-13 19:54:47 -07:00
Craig Dowell
87c9e523c7 set source address in socket 2007-08-13 16:21:39 -07:00
Craig Dowell
e567af9b24 more multicast plumbing 2007-08-13 12:08:01 -07:00
Craig Dowell
d62a38e533 many debug prints 2007-08-12 22:41:24 -07:00
Craig Dowell
bc8ee80491 debug prints to make validation easier 2007-08-12 15:51:12 -07:00
Craig Dowell
5099a91a21 untested multicast support 2007-08-12 13:59:49 -07:00
Mathieu Lacage
971997fbc1 use implicit conversion rather than private explicit conversion: fixes build 2007-08-10 19:18:19 +02:00
Mathieu Lacage
8b87d39c72 merge with trunk 2007-08-10 16:28:09 +02:00
Mathieu Lacage
b392b2a867 merge with trunk 2007-08-09 09:36: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
1bd35c2b55 make sure udp-header.h is exported for main-packet-printer 2007-08-08 11:20:35 +02:00
Mathieu Lacage
1e22e6d203 rework the NS_XX_ENSURE_REGISTERED macros and make sure we typecheck the input to TraceContext::Add and TraceContext::Get methods 2007-08-08 10:18:55 +02:00
Mathieu Lacage
496f1d91d0 TraceContextElement::Register -> TraceContextElement::AllocateUid 2007-08-08 10:06:58 +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
1a1dda1796 build with the new TraceContextElement API 2007-08-06 19:40:18 +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
a55fa0d833 merge with trunk 2007-08-04 17:17:23 +02:00
Mathieu Lacage
0cb76eb275 macros to ensure proper initialization 2007-08-04 16:49:06 +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
6a1e38d831 forgot to use std::string instead of const char * 2007-08-04 13:21:55 +02:00
Tom Henderson
de77db64fc interim 2007-08-03 09:29:57 -07:00
Tom Henderson
fce7c3cc39 merge with ns-3-dev 2007-08-03 08:29:24 -07:00
Mathieu Lacage
4050d495ed fix valgrind warnings 2007-08-03 17:26:10 +02:00
Mathieu Lacage
e672f9711f add GetUid methods to all headers and trailers 2007-08-03 09:23:41 +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
210e88b511 split callback registration from socket operations in socket.h API. 2007-08-01 18:48:24 +02:00
Mathieu Lacage
707b722c36 fix tracing 2007-08-01 13:53:48 +02:00
Mathieu Lacage
dd3ca3aa63 replace Node::DoCreateTraceResolver with Node::DoFillTraceResolver 2007-08-01 12:33:44 +02:00
Mathieu Lacage
e05f635db5 rework the NetDevice <-> Node interface 2007-08-01 08:58:18 +02:00