service/wispr: Add Per-service-unique WISPr Host Route Metric/Priority
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest11 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | service: Add '__connman_service_get_route_metric'.src/ src/ | +66 | 0 replies | |
| 2/11 | service: Document '__connman_service_get_route_metric'.src/ | +34 | 0 replies | |
| 3/11 | wispr: Expand 'DBG' in 'wispr_portal_detect'.src/ | +2 | 0 replies | |
| 4/11 | wispr: Add 'DBG' to '__connman_wispr_start' error path.src/ | +2 | 0 replies | |
| 5/11 | wispr: Update 'DBG' in '__connman_wispr_start'.src/ | +1 | 0 replies | |
| 6/11 | wispr: Refactor 'free_wispr_routes'.src/ | +26 | 0 replies | |
| 7/11 | wispr: Simplify IPv4 vs. IPv6 host route management.src/ | +82 | 0 replies | |
| 8/11 | wispr: Document 'free_wispr_route{,s}'.src/ | +34 | 0 replies | |
| 9/11 | wispr: Document 'wispr_route'.src/ | +19 | 0 replies | |
| 10/11 | wispr: Document 'wispr_portal_context_route_ops'.src/ | +10 | 0 replies | |
| 11/11 | wispr: Leverage '__connman_service_get_route_metric'.src/ | +11 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/11] service/wispr: Add Per-service-unique WISPr Host Route Metric/Priority
This add and leverages '__connman_service_get_route_metric' to select an appropriate service-specific route metric/priority when adding or deleting WISPr host routes.
This allows multiple such routes to coexist simultaneously, supporting "continuous" mode online checks in which one or more services may be conducting "online" WISPr-based Internet reachability checks as they move in and out of reachability success/failure.
'__connman_service_get_route_metric' is a non-public service interface, which attempts to get the route metric/priority for the specified service based on the current service and services state.
If the service is the default or if it is the only service, then the metric is zero (0). Otherwise, a low-priority metric (metric > 0) unique to the service and its underlying network interface is computed and returned.
Grant Erickson (11):
service: Add '__connman_service_get_route_metric'.
service: Document '__connman_service_get_route_metric'.
wispr: Expand 'DBG' in 'wispr_portal_detect'.
wispr: Add 'DBG' to '__connman_wispr_start' error path.
wispr: Update 'DBG' in '__connman_wispr_start'.
wispr: Refactor 'free_wispr_routes'.
wispr: Simplify IPv4 vs. IPv6 host route management.
wispr: Document 'free_wispr_route{,s}'.
wispr: Document 'wispr_route'.
wispr: Document 'wispr_portal_context_route_ops'.
wispr: Leverage '__connman_service_get_route_metric'.
src/connman.h | 2 + src/service.c | 98 ++++++++++++++++++++++++ src/wispr.c | 207 +++++++++++++++++++++++++++++++++++++++++--------- 3 files changed, 271 insertions(+), 36 deletions(-)
Signature · 1 line
2.42.0