Commit Graph
592 Commits
Author SHA1 Message Date
Mathieu Lacage 233714297e bug 273: constify packet pointers. 2008-08-25 09:13:05 -07:00
Mathieu Lacage 1b4a8f28fb bug 285: NetDevice base class should define an attribute Mtu. 2008-08-25 09:05:41 -07:00
Raj Bhattacharjea cdd286349c Use scheduler to call up the stack in SimpleNetDevice (bug 287) 2008-08-15 11:25:18 -04:00
Mathieu Lacage 9d3ae9dc41 bug 275: Queue::Peek should return Ptr<const Packet> 2008-08-11 10:40:31 -07:00
Mathieu Lacage c6b12de54a remove uneeded virtual keyword 2008-08-08 16:29:15 -07:00
Mathieu Lacage 5af2eb3f49 remove Node::GetFirstApplication checked in changeset 38b8549b1ad3 by mistake. 2008-08-07 10:13:54 -07:00
Gustavo J. A. M. Carneiro 660ce6a96b Oops, typo (evil copy-paste) 2008-08-06 16:11:44 +01:00
Gustavo J. A. M. Carneiro b8b4889c57 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 a76c709ef8 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 ca47bdc908 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 90a520d862 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 a4d3a59bea merge 2008-07-14 11:12:30 +01:00
Mathieu Lacage a214d8ea03 more cleanups based on bug 249. 2008-07-09 19:52:15 -07:00
Gustavo J. A. M. Carneiro 78728e9ca6 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 11c9cacc5c sync with ns-3-dev 2008-07-08 14:18:50 +01:00
Gustavo J. A. M. Carneiro e525ff58ab 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 b7adae1949 Backed out changeset ae9f7d5e2d56 2008-07-07 10:26:00 +01:00
Gustavo J. A. M. Carneiro fd8f87cd26 Try to preserve API compatibility, after SendFrom / promiscuous mode changes. 2008-07-04 19:15:00 +01:00
Gustavo J. A. M. Carneiro c5fa9f16a5 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 51b8c5c36f 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
tjkopena@cs.drexel.edu ed9944dc14 Minor doc notes added to ipv4.h 2008-07-03 09:44:23 -04:00
Mathieu Lacage 278de76fc9 avoid pygccxml warning. 2008-07-02 13:23:23 -07:00
Mathieu Lacage 2f59439a4c no need for protected variables 2008-07-02 13:22:46 -07:00
Mathieu Lacage 4855dc6fec no need for protected variables 2008-07-02 13:22:32 -07:00
Mathieu Lacage d81e28227f bug 245: build failure with gcc 4.3.x 2008-07-02 03:16:36 -07:00
Sebastien Vincent ff37dab9d2 bug 236: add optional support for tcp and udp checksum. 2008-07-01 10:52:11 -07:00
Gustavo J. A. M. Carneiro 9f1edd34cd Sketching a new promiscuous mode protocol handlers API; Netdevices implementation missing, though.
--HG--
extra : transplant_source : %9B%D1%BEZ%7E%CC%BC%1Dk%1BX%00%D5%EE%FC%D4%F4%E5%A4%B3
2008-06-30 19:25:58 +01:00
Mathieu Lacage ed33a251b0 add missing copyright statement 2008-06-23 12:45:01 -07:00
Mathieu Lacage a42b4addfa add small comment, fix typo, add missing copyright statement 2008-06-23 12:44:45 -07:00
Mathieu Lacage 22a8530ae1 dox missing SetNode method 2008-06-23 12:44:21 -07:00
Mathieu Lacage e912e41354 avoid dox warning 2008-06-23 12:44:05 -07:00
Mathieu Lacage 4227950389 update doxygen to match the reality of the code 2008-06-23 12:43:54 -07:00
craigdo@craig-dowells-imac.local 76de3bd64c GetNNodes() in NodeList fixes bug 225 2008-06-18 21:17:56 -07:00
Craig Dowell d10c01649b Changes for bug 205, unlisted FIN bug 2008-06-16 16:25:52 -07:00
Mathieu Lacage d031eee06e merge bug 213 repo
--HG--
rename : src/internet-node/tcp-socket-impl.cc => src/internet-stack/tcp-socket-impl.cc
rename : src/internet-node/tcp-socket-impl.h => src/internet-stack/tcp-socket-impl.h
rename : src/internet-node/udp-socket-impl.cc => src/internet-stack/udp-socket-impl.cc
rename : src/internet-node/udp-socket-impl.h => src/internet-stack/udp-socket-impl.h
2008-06-13 17:20:55 -07:00
Tom Henderson dd0847f7c8 doxygen for applications 2008-06-13 06:32:54 -07:00
Craig Dowell 91e5798397 documentation to resolve bug 75 2008-06-09 08:53:47 -07:00
Tom Henderson 097d2d9fc6 RecvFrom() expansion, add flags parameter to some Send calls 2008-06-09 06:40:21 -07:00
Raj Bhattacharjea 30cd3367f9 Merge last 6 changesets 2008-06-06 13:58:28 -04:00
Mathieu Lacage b7bb06a35c add support for attribtues to bug 34 2008-06-05 15:56:23 -07:00
Florian Westphal 4f674b463a Add ipv4 header checksum support. 2008-06-05 01:08:33 +02:00
Raj Bhattacharjea 1badfe472a Merge with ns-3-dev 2008-06-04 17:19:32 -04:00
Mathieu Lacage 1de8cdad49 bug 202: classes disappeared from doxygen output 2008-06-04 11:48:52 -07:00
Mathieu Lacage dfeedc907b fix bug 208 for true. 2008-06-04 11:35:14 -07:00
Mathieu Lacage 834d84d1a1 remove misleading doxygen comment 2008-06-04 11:01:01 -07:00
Mathieu Lacage 183fe8f239 bug 210: must take device mtu into account. 2008-06-04 10:59:30 -07:00
Mathieu Lacage 407275e1c3 bug 209: remove buggy test for open state in PacketSocket::SendTo 2008-06-04 10:47:34 -07:00
Mathieu Lacage 33e8c02113 bug 208: must clear flags bits in fragment offset deserialization. 2008-06-04 10:39:36 -07:00
Mathieu Lacage dfd4e6daf9 bug 207: ipv4-header.h needed in src/node module.
--HG--
rename : src/internet-node/ipv4-header.cc => src/node/ipv4-header.cc
rename : src/internet-node/ipv4-header.h => src/node/ipv4-header.h
2008-06-04 10:18:57 -07:00
Mathieu Lacage f2bd0c0340 bug 206: allow comparing addresses of different types. 2008-06-04 10:09:29 -07:00