-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✨ Add Custom Net Device #12
Conversation
if (explicitFilename) { | ||
filename = prefix; | ||
} else { | ||
filename = pcapHelper.GetFilenameFromDevice(prefix, device); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this mean we can mess with the file names a bit? Might help to clear up the different suffixes to know which gateway we are looking at.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one is a little bit beyond me but I assume a lot is taken from NS3 source.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
most of it yeah, just modifying to create PointToPointFRRNetDevices instead
{ | ||
NS_LOG_FUNCTION_NOARGS(); | ||
switch (proto) { | ||
case 0x0800: return 0x0021; // IPv4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seeing the protocol numbers that clearly in front of me is slightly infuriating.....
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah I was wondering where I got the number from 😂😂
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Somewhat confused by the p2p code but I guess I do not need to understand all of it. Well done as always.
This PR is aimed to address the issue with packets dropping when attempting to reroute. Also its marks the separation of the FRR Policy utilization by the Queue and instead it moves it up to the net device.