-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lldpad: Introduce support for multiple agents per port
This patch introduces support for multiple agents per port. Each agent sends and receives frames to and from different group mac addresses. Right now these are nearest bridge, nearest customer bridge and nearest non-twoport mac-relaying bridge. It splits out most of the agent specific variables from the port structure to an agent structure. This requires changes in the rx and tx state machines. With the changes for the multi-agent support, adminStatus has moved from the port to the agent. As port->adminStatus has been used to control the VDP state machines as well, a new mechanism was needed here. The VDP module does not have agent support, so port->adminStatus is replaced by the vdp->enableTx flag. If this is set to yes by lldptool, VDP will be active, and will be inactive if set to no. JF: fixed some minor nit issues and a few real bugs as well as some style items. Signed-off-by: Jens Osterkamp <[email protected]> Signed-off-by: John Fastabend <[email protected]>
- Loading branch information
Jens Osterkamp
authored and
John Fastabend
committed
Oct 5, 2011
1 parent
dd9d2a3
commit 99fedf7
Showing
45 changed files
with
1,416 additions
and
1,010 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.