Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The following changes are made to support flow-lookup for IPv6.
1. Change vr_flow Sandesh message to include family (AF_INET/AF_INET6) and <list> for IP addresses (instead of uint32 for SrcIP and DstIP). The list of IP address will pack both SrcIP and Dst IP (8 bytes for IPv4 and 32 bytes for IPv6, identified by the family field . 2. Defined a 'union' to describe how the flow entry looks for V4 and V6. 3. Added flow_key data structure for V6 addresses. Changed order of fields in flow_key (moved IP addresses to the end), added #defines to access generic/V4/V6 fileds in the flow_key 4. Updated hash/lookup logic to use different key size based on key_family. 5. Other related changes in dp-core and utils Change-Id: I0147c54b8e5a8f5a046a097a39581c899fa6f972 Closes-bug: 1398625
- Loading branch information
Showing
8 changed files
with
264 additions
and
98 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
Oops, something went wrong.