Commit Graph

2777 Commits

Author SHA1 Message Date
Craig Dowell
c415957dfc branch merge 2008-07-21 15:53:03 -07:00
Craig Dowell
9c8ee223b3 make simulator implementation replaceable via global default value 2008-07-18 21:51:31 -07:00
Gustavo J. A. M. Carneiro
ae074d9e03 No need to make NetDevice::SendFrom pure virtual; instead just give a fatal error if used in runtime (it's only used by the learning bridge, anyway, so...). 2008-07-18 11:41:22 +01:00
Gustavo J. A. M. Carneiro
0632b05ed9 merge 2008-07-18 11:23:29 +01:00
Gustavo J. A. M. Carneiro
06a4d72721 merge 2008-07-18 11:12:31 +01:00
Craig Dowell
b1af5815b0 factor simulator into interface and (multiple) implementation pieces 2008-07-17 23:52:59 -07:00
Unknown
d369fc0c61 fix darwin build break 2008-07-17 18:57:08 -07:00
Craig Dowell
e567e5fec5 fix darwin build break 2008-07-17 18:45:58 -07:00
Tom Henderson
4914c4afcb Add NS_LOG_FUNCTION calls in arp implementation 2008-07-16 22:33:51 -07:00
Gustavo J. A. M. Carneiro
a8d461f29e Remove some useless code 2008-07-16 16:17:21 +01:00
Gustavo J. A. M. Carneiro
c33568c079 New API considering comments from Craig: NetDevice->Node uses two callbacks; Node->ProtocolHandlers uses a single API with a promiscuous flag. 2008-07-16 16:06:50 +01:00
Gustavo J. A. M. Carneiro
ccb5ec4d4d merge 2008-07-16 14:33:44 +01:00
Craig Dowell
db748a0000 add system threads and synchronization primitives 2008-07-15 15:59:57 -07:00
Gustavo J. A. M. Carneiro
d1a7261479 merge 2008-07-14 11:12:30 +01:00
Mathieu Lacage
731a76246f bug 247: tcp checksum crashes when enabled. 2008-07-10 15:58:24 -07:00
Mathieu Lacage
7f07acc254 use NS_DEPRECATED for bug 232. 2008-07-09 20:12:05 -07:00
Mathieu Lacage
7b34f76ef7 define NS_DEPRECATED 2008-07-09 20:11:16 -07:00
Mathieu Lacage
fb17731cab more cleanups based on bug 249. 2008-07-09 19:52:15 -07:00
Raj Bhattacharjea
be9e5ced39 Add some additional TCP dox about RFC compliance 2008-07-09 14:10:18 -04: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
Mathieu Lacage
3d6e4532ae avoid direct access to Object::m_tid. Use ObjectBase::GetInstanceTypeId instead. 2008-07-08 14:27:45 -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
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
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
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