Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(6)

Issue 65047: ns-3 ipv4 changes

Can't Edit
Can't Publish+Mail
Start Review
Created:
6 months, 2 weeks ago by Tom Henderson
Modified:
3 months, 4 weeks ago
CC:
ns-developers_isi.edu
SVN Base:
Visibility:
Public.

Patch Set 1

Total comments: 22
Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M CHANGES.html View 1 chunk 98 lines 0 comments Download
M examples/csma-multicast.cc View 2 chunks 24 lines 0 comments Download
M examples/emu-ping.cc View 1 chunk 15 lines 0 comments Download
M examples/static-routing-slash32.cc View 1 chunk 22 lines 0 comments Download
M src/applications/packet-sink/packet-sink.cc View 2 chunks 37 lines 0 comments Download
M src/applications/udp-echo/udp-echo-server.cc View 2 chunks 36 lines 0 comments Download
M src/devices/tap-bridge/tap-bridge.cc View 1 chunk 13 lines 0 comments Download
M src/helper/internet-stack-helper.cc View 1 chunk 14 lines 0 comments Download
M src/helper/internet-stack-helper.h View 1 chunk 13 lines 0 comments Download
M src/helper/ipv4-address-helper.cc View 1 chunk 13 lines 0 comments Download
M src/helper/ipv4-interface-container.h View 1 chunk 16 lines 0 comments Download
A src/helper/ipv4-static-routing-helper.cc View 1 chunk 195 lines 1 comment Download
A src/helper/ipv4-static-routing-helper.h View 1 chunk 69 lines 0 comments Download
M src/helper/olsr-helper.cc View 2 chunks 23 lines 0 comments Download
M src/helper/packet-sink-helper.cc View 1 chunk 27 lines 0 comments Download
R src/helper/static-multicast-route-helper.cc View 1 chunk 159 lines 0 comments Download
R src/helper/static-multicast-route-helper.h View 1 chunk 63 lines 0 comments Download
M src/helper/wscript View 2 chunks 32 lines 0 comments Download
M src/internet-stack/icmpv4-l4-protocol.cc View 4 chunks 68 lines 1 comment Download
M src/internet-stack/icmpv4-l4-protocol.h View 2 chunks 21 lines 0 comments Download
M src/internet-stack/internet-stack.cc View 2 chunks 34 lines 1 comment Download
M src/internet-stack/internet-stack.h View 1 chunk 27 lines 0 comments Download
M src/internet-stack/ipv4-global-routing.cc View 10 chunks 282 lines 2 comments Download
M src/internet-stack/ipv4-global-routing.h View 5 chunks 160 lines 0 comments Download
M src/internet-stack/ipv4-interface.cc View 1 chunk 22 lines 0 comments Download
M src/internet-stack/ipv4-interface.h View 4 chunks 72 lines 1 comment Download
M src/internet-stack/ipv4-l3-protocol.cc View 22 chunks 1164 lines 1 comment Download
M src/internet-stack/ipv4-l3-protocol.h View 8 chunks 205 lines 0 comments Download
A src/internet-stack/ipv4-list-routing-impl.cc View 1 chunk 288 lines 1 comment Download
A src/internet-stack/ipv4-list-routing-impl.h View 1 chunk 71 lines 0 comments Download
M src/internet-stack/ipv4-raw-socket-impl.cc View 1 chunk 36 lines 0 comments Download
M src/internet-stack/ipv4-raw-socket-impl.h View 1 chunk 12 lines 0 comments Download
A src/internet-stack/ipv4-static-routing-impl.cc View 1 chunk 575 lines 0 comments Download
A src/internet-stack/ipv4-static-routing-impl.h View 1 chunk 373 lines 1 comment Download
R src/internet-stack/ipv4-static-routing.cc View 1 chunk 660 lines 0 comments Download
R src/internet-stack/ipv4-static-routing.h View 1 chunk 512 lines 0 comments Download
M src/internet-stack/nsc-tcp-l4-protocol.cc View 2 chunks 21 lines 0 comments Download
M src/internet-stack/tcp-l4-protocol.cc View 3 chunks 46 lines 0 comments Download
M src/internet-stack/tcp-socket-impl.cc View 6 chunks 136 lines 1 comment Download
M src/internet-stack/udp-l4-protocol.cc View 3 chunks 61 lines 0 comments Download
M src/internet-stack/udp-l4-protocol.h View 2 chunks 22 lines 0 comments Download
M src/internet-stack/udp-socket-impl.cc View 7 chunks 167 lines 1 comment Download
M src/internet-stack/udp-socket-impl.h View 2 chunks 43 lines 0 comments Download
M src/internet-stack/wscript View 1 chunk 14 lines 0 comments Download
M src/node/address-utils.cc View 2 chunks 33 lines 0 comments Download
M src/node/address-utils.h View 1 chunk 19 lines 0 comments Download
M src/node/ipv4-address.cc View 1 chunk 12 lines 0 comments Download
A src/node/ipv4-list-routing.cc View 1 chunk 40 lines 0 comments Download
A src/node/ipv4-list-routing.h View 1 chunk 67 lines 0 comments Download
M src/node/ipv4-route.cc View 3 chunks 387 lines 0 comments Download
M src/node/ipv4-route.h View 3 chunks 222 lines 0 comments Download
A src/node/ipv4-routing-protocol.cc View 1 chunk 41 lines 0 comments Download
A src/node/ipv4-routing-protocol.h View 1 chunk 103 lines 0 comments Download
A src/node/ipv4-routing-table-entry.cc View 1 chunk 339 lines 0 comments Download
A src/node/ipv4-routing-table-entry.h View 1 chunk 187 lines 0 comments Download
A src/node/ipv4-static-routing.cc View 1 chunk 40 lines 0 comments Download
A src/node/ipv4-static-routing.h View 1 chunk 372 lines 0 comments Download
M src/node/ipv4.cc View 3 chunks 58 lines 0 comments Download
M src/node/ipv4.h View 5 chunks 553 lines 1 comment Download
M src/node/udp-socket.cc View 2 chunks 40 lines 0 comments Download
M src/node/udp-socket.h View 2 chunks 83 lines 0 comments Download
M src/node/wscript View 2 chunks 32 lines 0 comments Download
M src/routing/global-routing/global-route-manager-impl.cc View 12 chunks 245 lines 1 comment Download
M src/routing/global-routing/global-route-manager-impl.h View 2 chunks 22 lines 0 comments Download
M src/routing/olsr/olsr-routing-protocol.cc View 3 chunks 174 lines 9 comments Download
M src/routing/olsr/olsr-routing-protocol.h View 1 chunk 22 lines 0 comments Download

Messages

Total messages: 3
faker.moatamri
Hello, Here is some comments on the patch to be pushed to the server, the ...
6 months, 2 weeks ago
Tom Henderson
On 2009/05/15 07:55:25, faker.moatamri wrote: > Hello, > Here is some comments on the patch ...
6 months, 1 week ago
Mathieu Lacage
6 months, 1 week ago
+1 for merging.

http://codereview.appspot.com/65047/diff/1/27
File src/internet-stack/ipv4-interface.h (right):

http://codereview.appspot.com/65047/diff/1/27#newcode100
Line 100: * XXX deprecated?  This is duplicate API to GetDevice ()->GetMtu ()
ok, let's kill it.

http://codereview.appspot.com/65047/diff/1/30
File src/internet-stack/ipv4-list-routing-impl.cc (right):

http://codereview.appspot.com/65047/diff/1/30#newcode255
Line 255: srp = dynamic_cast<Ipv4StaticRouting*>
(PeekPointer((*rprotoIter).second));
DynamicCast<Ipv4StaticRouting> is your friend.

http://codereview.appspot.com/65047/diff/1/60
File src/node/ipv4.h (right):

http://codereview.appspot.com/65047/diff/1/60#newcode128
Line 128: virtual int32_t GetInterfaceForAddress (Ipv4Address address) const =
0;
I liked the previous name better: Find makes it clear that this is a O(n)
operation, not O(1). Not a big deal either way.

http://codereview.appspot.com/65047/diff/1/64
File src/routing/global-routing/global-route-manager-impl.cc (right):

http://codereview.appspot.com/65047/diff/1/64#newcode1438
Line 1438: #if 0
dead code, remove it ?

http://codereview.appspot.com/65047/diff/1/66
File src/routing/olsr/olsr-routing-protocol.cc (right):

http://codereview.appspot.com/65047/diff/1/66#newcode2588
Line 2588: << " interface=" << entry2.interface);      NS_LOG_DEBUG ("Found
route to " << rtentry->GetDestination () << " via nh " << rtentry->GetGateway ()
<< " with source addr " << rtentry->GetSource () << " and output dev " <<
rtentry->GetOutputDevice());
missing cariage return

http://codereview.appspot.com/65047/diff/1/66#newcode2596
Line 2596: #if 0
If code is dead, can you kill it ?

http://codereview.appspot.com/65047/diff/1/66#newcode2613
Line 2613: << " --> NOT FOUND; ** Dumping routing table...");      for
(std::map<Ipv4Address, RoutingTableEntry>::const_iterator iter = m_table.begin
();
missing cariage return

http://codereview.appspot.com/65047/diff/1/66#newcode2627
Line 2627: const Ipv4Header &header, Ptr<const NetDevice> idev,                 
          UnicastForwardCallback ucb, MulticastForwardCallback mcb,
indenting looks all broken.

http://codereview.appspot.com/65047/diff/1/66#newcode2675
Line 2675: << " --> NOT FOUND; ** Dumping routing table...");      for
(std::map<Ipv4Address, RoutingTableEntry>::const_iterator iter = m_table.begin
();
missing caarriage return ?

http://codereview.appspot.com/65047/diff/1/66#newcode2688
Line 2688: #if 0
If this code is dead, can you kill it ?
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld r497