nh-encap: Add support for IPv6, IPv4 and ILA encap#446
Merged
thom311 merged 6 commits intothom311:mainfrom Nov 3, 2025
Merged
Conversation
As we are adding more encap types, it is useful to have a function that can actually query the type of a nh-encap object. Signed-off-by: Christoph Paasch <cpaasch@openai.com>
With more nexthop encapsulation types coming, having a helper will simplify the code. Signed-off-by: Christoph Paasch <cpaasch@openai.com>
Group link-creation and adding an address in a helper. _nltst_add_dummy_v6_with_addr() is not yet used but will be by the next change. Signed-off-by: Christoph Paasch <cpaasch@openai.com>
thom311
reviewed
Sep 29, 2025
Signed-off-by: Christoph Paasch <cpaasch@openai.com>
Signed-off-by: Christoph Paasch <cpaasch@openai.com>
Full support as well as tests. Added rtnl_nh_clear_encap_ila_* functions to clear certain fields. This is needed because 0 is a valid value for those fields. Signed-off-by: Christoph Paasch <cpaasch@openai.com>
22497cf to
9f89452
Compare
Owner
|
branch lgtm. Merged. Sorry for the long time of no reply, and thank you for your patches. @cpaasch-oai I plan to do a 3.12 release next week. That does not need to concern you, unless you want to change something first, then please reach out. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Continuing the previous work and adding now support for IPv6, IPv4 and ILA encap with tests.
More to come later...