Bug 837

Summary: Nix-vector pointer in packet
Product: ns-3 Reporter: Josh Pelkey <jpelkey>
Component: generalAssignee: Josh Pelkey <joshpelkey>
Status: NEW ---    
Severity: normal CC: joshpelkey, ns-bugs, tomh
Priority: P4    
Version: ns-3-dev   
Hardware: All   
OS: All   

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;