forked from openthread/openthread
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…ead#9519) This commit contains the following smaller changes in `Ip6` and its public APIs: - Updates the `otNetifAddress.mNext` field to be a pointer to `const`. This prevents users of OT APIs from modifying addresses as they iterate over the list of addresses. The `otNetifMulticastAddress` structure already uses this model. - Adds new API `otIp6HasUnicastAddress()` to check whether or not a unicast IPv6 address is assigned to the Thread interface. This is used to simplify CLI and `posix/platform/netif.cpp`. - Fixes the returned error from `otIp6AddUnicastAddress()` to be `OT_ERROR_INVALID_ARGS` when the address is a Thread internal address, to match the documentation. - Fixes documentation and style in `ip6.h`.
- Loading branch information
Showing
7 changed files
with
55 additions
and
57 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