Bug 837 - Nix-vector pointer in packet
Nix-vector pointer in packet
Status: NEW
Product: ns-3
Classification: Unclassified
Component: general
All All
: P4 normal
Assigned To: Josh Pelkey
Depends on:
  Show dependency treegraph
Reported: 2010-03-09 13:18 EST by Josh Pelkey
Modified: 2012-10-04 00:26 EDT (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Josh Pelkey 2010-03-09 13:18:09 EST
A cause for concern since merging nix-vector code in ns-3.6, the nix-vector pointer in Packet should be removed.  See the comments in packet.h:

/* Note: These functions support a temporary solution 
 * to a specific problem in this generic class, i.e. 
 * how to associate something specific like nix-vector 
 * with a packet.  This design methodology 
 * should _not_ be followed, and is only here as an 
 * impetus to fix this general issue. */
void SetNixVector (Ptr<NixVector>);
Ptr<NixVector> GetNixVector (void) const;