-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Inet: Move some InterfaceId functions out of InetLayer (#11673)
* Inet: Move some InterfaceId functions out of InetLayer #### Problem `InetLayer` contains some operations involving `InterfaceId` that don't use any `InetLayer` state. This is a step toward #7715 _Virtualize System and Inet interfaces_. #### Change overview Move these methods from `InetLayer` to `InterfaceId`: - `GetLinkLocalAddr()` - `MatchLocalIPv6Subnet()` - `GetInterfaceFromAddr()`, renamed `InterfaceId::FromIPAddress()` #### Testing CI; no changes to functionality. * restyle
- Loading branch information
1 parent
8329bcf
commit 2428610
Showing
6 changed files
with
159 additions
and
169 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
Oops, something went wrong.