[Ns-bugs] [Bug 491] It is painful to enable all checksums

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Tue Apr 28 00:02:22 PDT 2009


http://www.nsnam.org/bugzilla/show_bug.cgi?id=491





--- Comment #14 from Mathieu Lacage <mathieu.lacage at sophia.inria.fr>  2009-04-28 03:02:22 EDT ---
(In reply to comment #13)
> > Well, that is pretty weird: I thought that this was the purpose of
> > GlobalValues. If you really want to go down that path/patch, then, 
> > removing the GlobalValue code would be the way to go.
> 
> That was the idea.
> 
> Right now the global values are kind of scattered around the system and are
> hard to find.  The enable checksum value spans node and internet stack and I
> can think of reasons to put in both places.
> 
> In either case, you end up with a global variable that lifes in one place and
> affects code in other places.  It seemed like a good idea to have a place to
> put these things that worked with the rest of the system.  For example,
> system-wide attributes would appear in the list of all attributes for easier
> documentation.  Unless I'm mistaken, I don't think there is a list of all
> global values anywhere in the documentation.

There is none but it should be fairly trivial to extend
print-introspected-doxygen.cc to generate it: all the API to do so is there.


-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Ns-bugs mailing list