-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mle] update
kAloc16ServiceEnd
and add explicit ALOC16 range check (#…
…11300) This commit updates `kAloc16ServiceEnd` to `0xfc1f`, aligning it with recent changes in the Thread specification. The range `0xfc10-0xfc1f` is now used for service ALOC16 corresponding to the 16 service IDs, and the range `0xfc20-0xfc2f` is reserved for future use. It also updates the `NetworkData::Leader::AnycastLookup()` to explicitly check a given `aAloc16` against the defined ALOC16 ranges. This replaces the previous model, which assumed that ALOC16 ranges followed each other sequentially. While this assumption held true previously, the introduction of the reserved range disrupts this pattern. The explicit range check ensures correct behavior regardless of future changes, making it a safer and more robust approach.
- Loading branch information
Showing
4 changed files
with
32 additions
and
5 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