Commit Graph

590 Commits

Author SHA1 Message Date
Raj Bhattacharjea
471112db7e Use scheduler to call up the stack in SimpleNetDevice (bug 287) 2008-08-15 11:25:18 -04:00
Mathieu Lacage
b591ee4053 bug 275: Queue::Peek should return Ptr<const Packet> 2008-08-11 10:40:31 -07:00
Mathieu Lacage
f6044dc0b4 remove uneeded virtual keyword 2008-08-08 16:29:15 -07:00
Mathieu Lacage
29151f4ec2 remove Node::GetFirstApplication checked in changeset 38b8549b1ad3 by mistake. 2008-08-07 10:13:54 -07:00
Gustavo J. A. M. Carneiro
bf060fddf8 Oops, typo (evil copy-paste) 2008-08-06 16:11:44 +01:00
Gustavo J. A. M. Carneiro
3883a5e095 Add bounds checking asserts to Node::GetApplication, NodeList::GetNode, and Node::GetDevice. 2008-08-06 16:06:44 +01:00
Gustavo J. A. M. Carneiro
ca2fef3bd8 Make the new NetDevice APIs pure virtual methods, by Mathieu's insistence. 2008-07-24 11:41:15 +01: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
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
d1a7261479 merge 2008-07-14 11:12:30 +01:00
Mathieu Lacage
fb17731cab more cleanups based on bug 249. 2008-07-09 19:52:15 -07: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
fe73953148 sync with ns-3-dev 2008-07-08 14:18:50 +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
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
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
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
Unknown
12c6c43d57 Minor doc notes added to ipv4.h 2008-07-03 09:44:23 -04: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
b93a9aeef4 bug 245: build failure with gcc 4.3.x 2008-07-02 03:16:36 -07:00
Sebastien Vincent
75fab6d1b0 bug 236: add optional support for tcp and udp checksum. 2008-07-01 10:52:11 -07:00
Gustavo J. A. M. Carneiro
bf513e45d2 Sketching a new promiscuous mode protocol handlers API; Netdevices implementation missing, though. 2008-06-30 19:25:58 +01:00
Mathieu Lacage
e10db3d576 add missing copyright statement 2008-06-23 12:45:01 -07:00
Mathieu Lacage
daaed2d5e6 add small comment, fix typo, add missing copyright statement 2008-06-23 12:44:45 -07:00
Mathieu Lacage
f1019e4026 dox missing SetNode method 2008-06-23 12:44:21 -07:00
Mathieu Lacage
398ffd3d58 avoid dox warning 2008-06-23 12:44:05 -07:00
Mathieu Lacage
ae661f53e0 update doxygen to match the reality of the code 2008-06-23 12:43:54 -07:00
Unknown
b357866655 GetNNodes() in NodeList fixes bug 225 2008-06-18 21:17:56 -07:00
Craig Dowell
1b8812d558 Changes for bug 205, unlisted FIN bug 2008-06-16 16:25:52 -07:00
Mathieu Lacage
2edda56a6f merge bug 213 repo 2008-06-13 17:20:55 -07:00
Tom Henderson
1e4c17bc9f doxygen for applications 2008-06-13 06:32:54 -07:00
Craig Dowell
5a3fbf3637 documentation to resolve bug 75 2008-06-09 08:53:47 -07:00
Tom Henderson
de69fcb842 RecvFrom() expansion, add flags parameter to some Send calls 2008-06-09 06:40:21 -07:00
Raj Bhattacharjea
36ac76b49c Merge last 6 changesets 2008-06-06 13:58:28 -04:00
Mathieu Lacage
fb9ca8f381 add support for attribtues to bug 34 2008-06-05 15:56:23 -07:00
Florian Westphal
64e2c2bb8f Add ipv4 header checksum support. 2008-06-05 01:08:33 +02:00
Raj Bhattacharjea
de2475ddc3 Merge with ns-3-dev 2008-06-04 17:19:32 -04:00
Mathieu Lacage
12ae07ddab bug 202: classes disappeared from doxygen output 2008-06-04 11:48:52 -07:00
Mathieu Lacage
d86a521ff1 fix bug 208 for true. 2008-06-04 11:35:14 -07:00
Mathieu Lacage
3e3f102d62 remove misleading doxygen comment 2008-06-04 11:01:01 -07:00
Mathieu Lacage
45f9ff0ddc bug 210: must take device mtu into account. 2008-06-04 10:59:30 -07:00
Mathieu Lacage
44478e378d bug 209: remove buggy test for open state in PacketSocket::SendTo 2008-06-04 10:47:34 -07:00
Mathieu Lacage
1eb07aeaef bug 208: must clear flags bits in fragment offset deserialization. 2008-06-04 10:39:36 -07:00
Mathieu Lacage
10a7924d63 bug 207: ipv4-header.h needed in src/node module. 2008-06-04 10:18:57 -07:00
Mathieu Lacage
d3b35a295c bug 206: allow comparing addresses of different types. 2008-06-04 10:09:29 -07:00
Mathieu Lacage
1a5577bc3d bug 204: implement Queue::DequeueAll. 2008-06-04 09:22:37 -07:00
Mathieu Lacage
92f2ed110a bug 203: Listen must be implemented for Udp and Packet sockets. 2008-06-04 09:19:16 -07:00