|
Bugzilla – Full Text Bug Listing |
| Summary: | NetDevice link change callback proposal | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Tom Henderson <tomh> |
| Component: | devices | Assignee: | ns-bugs <ns-bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | vincent |
| Priority: | P5 | ||
| Version: | ns-3-dev | ||
| Hardware: | All | ||
| OS: | All | ||
| Attachments: |
proposed patch
std::list<Callback> => TracedCallback Use TracedCallback object in *-net-device |
||
|
Description
Tom Henderson
2009-08-06 17:56:47 UTC
Created attachment 544 [details]
proposed patch
from Sebastien Vincent, July 27 2009
Created attachment 560 [details]
std::list<Callback> => TracedCallback
Update patch :
- typedef TracedCallback to ListCallback;
- use ListCallback in NetDevice (csma, point-to-point, wifi, emu).
(In reply to comment #2) > Created an attachment (id=560) [details] > std::list<Callback> => TracedCallback > > Update patch : > - typedef TracedCallback to ListCallback; > - use ListCallback in NetDevice (csma, point-to-point, wifi, emu). > For the moment, how about just removing the typedef until requirements for a ListCallback are better sorted out, and just using a TracedCallback (with your other changes)? Plus, we need to patch CHANGES.html. Created attachment 570 [details]
Use TracedCallback object in *-net-device
Update patch.
It also add code to flush IPv6 neighbor discovery cache (in Icmpv6L4Protocol) and some text in CHANGES.html.
(In reply to comment #4) > Created an attachment (id=570) [details] > Use TracedCallback object in *-net-device > > Update patch. > > It also add code to flush IPv6 neighbor discovery cache (in Icmpv6L4Protocol) > and some text in CHANGES.html. > +1 on this; I suggest to merge it next week and close this if no further comments. Changeset: e90e1ef585b0 |