Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[routing-manager] track and report last update time of routers #10244

Merged
merged 1 commit into from
May 21, 2024

Conversation

abtink
Copy link
Member

@abtink abtink commented May 15, 2024

This commit enhances the DiscoveredPrefixTable::Router class to track the last time an ND6 message (RA or NS) was received from each discovered router. This information is now available through the otBorderRoutingRouterEntry and can be viewed using the br routers CLI command.

Copy link

size-report bot commented May 15, 2024

Size Report of OpenThread

Merging #10244 into main(0ce49fc).

name branch text data bss total
ot-cli-ftd main 467056 856 66364 534276
#10244 467056 856 66364 534276
+/- 0 0 0 0
ot-ncp-ftd main 435900 760 61576 498236
#10244 435900 760 61576 498236
+/- 0 0 0 0
libopenthread-ftd.a main 236174 95 40310 276579
#10244 236174 95 40310 276579
+/- 0 0 0 0
libopenthread-cli-ftd.a main 57533 0 8075 65608
#10244 57533 0 8075 65608
+/- 0 0 0 0
libopenthread-ncp-ftd.a main 31863 0 5916 37779
#10244 31863 0 5916 37779
+/- 0 0 0 0
ot-cli-mtd main 364520 760 51220 416500
#10244 364520 760 51220 416500
+/- 0 0 0 0
ot-ncp-mtd main 347060 760 46448 394268
#10244 347060 760 46448 394268
+/- 0 0 0 0
libopenthread-mtd.a main 158173 0 25182 183355
#10244 158173 0 25182 183355
+/- 0 0 0 0
libopenthread-cli-mtd.a main 39756 0 8059 47815
#10244 39756 0 8059 47815
+/- 0 0 0 0
libopenthread-ncp-mtd.a main 24743 0 5916 30659
#10244 24743 0 5916 30659
+/- 0 0 0 0
ot-cli-ftd-br main 550696 864 131204 682764
#10244 550792 864 131204 682860
+/- +96 0 0 +96
libopenthread-ftd-br.a main 324648 100 105126 429874
#10244 324702 100 105126 429928
+/- +54 0 0 +54
libopenthread-cli-ftd-br.a main 71320 0 8099 79419
#10244 71379 0 8099 79478
+/- +59 0 0 +59
ot-rcp main 62216 564 20604 83384
#10244 62216 564 20604 83384
+/- 0 0 0 0
libopenthread-rcp.a main 9542 0 5052 14594
#10244 9542 0 5052 14594
+/- 0 0 0 0
libopenthread-radio.a main 18870 0 214 19084
#10244 18870 0 214 19084
+/- 0 0 0 0

@abtink abtink force-pushed the rm/router-last-update-time branch from 1e654bc to 7eed64f Compare May 15, 2024 20:31
include/openthread/instance.h Outdated Show resolved Hide resolved
src/cli/cli_br.cpp Outdated Show resolved Hide resolved
This commit enhances the `DiscoveredPrefixTable::Router` class to
track the last time an ND6 message (RA or NS) was received from each
discovered router. This information is now available through the
`otBorderRoutingRouterEntry` and can be viewed using the `br routers`
CLI command.
@abtink abtink force-pushed the rm/router-last-update-time branch from 7eed64f to 13b9bfe Compare May 20, 2024 21:45
@jwhui jwhui merged commit b01b262 into openthread:main May 21, 2024
103 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants