Commit Graph

19651 Commits

Author SHA1 Message Date
Gustavo J. A. M. Carneiro
ee19e57741 Rescan API; fix and enable the socket unit test, as it now works. 2008-07-09 18:50:28 +01:00
Gustavo J. A. M. Carneiro
1f1ffe7372 merge 2008-07-09 18:36:10 +01:00
Gustavo J. A. M. Carneiro
5f9b651ba8 Don't re-declare pure virtual methods from the parent Socket class. Fixes bug #249. 2008-07-09 18:34:42 +01:00
Gustavo J. A. M. Carneiro
a6ccafbed7 Fix a problem with callback proxies with zero or one parameters. 2008-07-09 18:33:16 +01:00
Gustavo J. A. M. Carneiro
fd2cdaf7ac Redirect the stderr of pybindgen to a log file (ns3modulegen.log). 2008-07-09 17:31:37 +01:00
Gustavo J. A. M. Carneiro
3ff7e83dd0 Upgrade to a patched WAF 1.4.2; needed for redirecting stderr of command-output objects. 2008-07-09 17:31:01 +01:00
Gustavo J. A. M. Carneiro
0f045371a3 The 'everything.h' header file is only used for Python bindings and should be generated into bindings/python/, not ns3/. 2008-07-09 14:58:02 +01:00
Mathieu Lacage
3d6e4532ae avoid direct access to Object::m_tid. Use ObjectBase::GetInstanceTypeId instead. 2008-07-08 14:27:45 -07:00
Gustavo J. A. M. Carneiro
5f994081d5 python bindings 2008-07-08 10:43:58 -07:00
Mathieu Lacage
178567b32b add PythonCompleteConstruct friend for python bindings 2008-07-08 10:19:34 -07:00
Mathieu Lacage
11ddb61d96 avoid uneeded inline 2008-07-08 10:17:18 -07:00
Mathieu Lacage
24693d3bbd add Object::GetReferenceCount 2008-07-08 10:16:53 -07:00
Mathieu Lacage
5a35637ab9 add RefCountBase::GetReferenceCount. 2008-07-08 10:12:38 -07:00
Mathieu Lacage
b07781eead coding style 2008-07-08 10:11:55 -07:00
Mathieu Lacage
7f8fcbc547 add CalbackImplBase::GetReferenceCount 2008-07-08 10:10:26 -07:00
Mathieu Lacage
c1f8cff710 kill dead unimplemented API 2008-07-08 10:02:57 -07:00
Mathieu Lacage
864923164b add missing implementations 2008-07-08 10:02:46 -07:00
Mathieu Lacage
8e0738b5ba add missing implementations 2008-07-08 10:02:28 -07:00
Mathieu Lacage
8b1b7b25a2 kill dead code 2008-07-08 10:02:11 -07:00
Mathieu Lacage
dfc7509dd6 kill dead code 2008-07-08 10:01:53 -07:00
Mathieu Lacage
3c16c7d6d0 kill dead code 2008-07-08 10:01:42 -07:00
Raj Bhattacharjea
d236aad5e5 Check in a tcp example which has rate error models 2008-07-08 11:09:22 -04:00
Gustavo J. A. M. Carneiro
eb3d502a49 Adapt to evil API breakage 2008-07-08 14:40:01 +01:00
Gustavo J. A. M. Carneiro
fe73953148 sync with ns-3-dev 2008-07-08 14:18:50 +01:00
Gustavo J. A. M. Carneiro
c5ec154ea1 Add BridgeChannel 2008-07-07 12:52:48 +01:00
Gustavo J. A. M. Carneiro
cb491541ac Simplify promiscuous mode API: NetDevices always operate in promiscuous mode, normal receive callbacks receive extra destination address and packet type. 2008-07-07 12:18:05 +01:00
Gustavo J. A. M. Carneiro
bcae4f9ea1 Move the csma packet-from-self receive filtering away from the CsmaChannel into the CsmaNetDevice, with the help of an extra Ptr<CsmaNetDevice> parameter in Receive(). As discussed in the mailing list. 2008-07-07 10:37:09 +01:00
Gustavo J. A. M. Carneiro
95be482f24 Backed out changeset ae9f7d5e2d56 2008-07-07 10:26:00 +01:00
Gustavo J. A. M. Carneiro
ab714db3a9 Try to preserve API compatibility, after SendFrom / promiscuous mode changes. 2008-07-04 19:15:00 +01:00
Gustavo J. A. M. Carneiro
1c8622e4f8 Add the 'learning' part of the Learning Bridge, with option to disable it and revert to dummy mode (hub-like). 2008-07-04 18:48:10 +01:00
Gustavo J. A. M. Carneiro
a97acf9ac0 Use NetDevice::SendFrom where appropriate, in order to preserve source address of bridged mac frames. 2008-07-04 18:04:13 +01:00
Gustavo J. A. M. Carneiro
df677111d4 Add a NetDevice::SendFrom API, for sending packets with a custom source MAC address (a.k.a. MAC spoofing). Only implemented for CsmaNetDevice for now. 2008-07-04 18:03:26 +01:00
Gustavo J. A. M. Carneiro
f3d8a5eb6d Don't allow csma devices to receive packets sent by themselves. 2008-07-04 17:58:31 +01:00
Gustavo J. A. M. Carneiro
d00d6e123c Start of a BridgeNetDevice example, using csma (basically an Ethernet Switch). 2008-07-04 15:40:29 +01:00
Gustavo J. A. M. Carneiro
f8a561c16a Start of a BridgeNetDevice; for now does not yet do the 'learning' part, and does not preserve the source address of mac frames. 2008-07-04 15:39:24 +01:00
Gustavo J. A. M. Carneiro
8a0bcd18ba Implement the promiscuous receive callback for CsmaNetDevice. 2008-07-04 15:37:54 +01:00
Gustavo J. A. M. Carneiro
629a5b02da Changes in the promiscuous mode API: now the callback receives everything, both 'for me' and 'not for me', with an additional 'forMe' parameter. 2008-07-04 15:37:03 +01:00
Gustavo J. A. M. Carneiro
45334ff8de For csma, set a sensible netdevice name, if none has been set. 2008-07-04 12:35:13 +01:00
Craig Dowell
d8a6c6f336 some slips of the keyboard in tutorial 2008-07-03 20:03:03 -07:00
Craig Dowell
26b91a3c6c fix bug 234 which changes required methods on helpers to constructor parameters. Update tutorial content to reflect. Change RemoteIpv4 attribute to RemoteAddress. 2008-07-03 17:37:32 -07:00
Craig Dowell
b2b5de9d22 bug 232, references to Parameter obsolete 2008-07-03 15:44:54 -07:00
Unknown
12c6c43d57 Minor doc notes added to ipv4.h 2008-07-03 09:44:23 -04:00
Tom Henderson
0f27dc1b81 close socket upon PacketSink::StopApplication() 2008-07-02 21:07:36 -07:00
Mathieu Lacage
74e8ce7845 no need for protected members 2008-07-02 13:23:54 -07:00
Mathieu Lacage
cf37954b04 no need to export this header 2008-07-02 13:23:44 -07:00
Mathieu Lacage
7c7cfcc865 avoid pygccxml warning. 2008-07-02 13:23:23 -07:00
Mathieu Lacage
ab3a728ba5 no need for protected variables 2008-07-02 13:22:46 -07:00
Mathieu Lacage
f7c6438560 no need for protected variables 2008-07-02 13:22:32 -07:00
Mathieu Lacage
94ee9fd47e no need for protected variables 2008-07-02 13:22:14 -07:00
Mathieu Lacage
925136697a avoid pygccxml warning 2008-07-02 13:21:56 -07:00