inet: Add IPv{4,6} Host/Network Route Add/Delete with Metric / Priority Functions
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | inet: Relocate 'rtnl_route_cmd2string'.src/ | +12 | 0 replies | |
| 2/8 | inet: Reorder IPv6 host and network route function declarations.include/ | +4 | 0 replies | |
| 3/8 | inet: Add IPv{4,6} host/network route functions with metric/priority.include/ src/ | +479 | 0 replies | |
| 4/8 | connection: Document 'inet_get_addr_data'.src/ | +31 | 0 replies | |
| 5/8 | connection: Document 'inet_mask_addr_data'.src/ | +25 | 0 replies | |
| 6/8 | connection: Document 'inet_modify_host_or_network_route'.src/ | +61 | 0 replies | |
| 7/8 | connection: Document 'inet_modify_{,ipv4_,ipv6_}{host,network}_route'.src/ | +321 | 0 replies | |
| 8/8 | inet: Document IPv{4,6} host/network route functions with metric/priority.src/ | +338 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/8] inet: Add IPv{4,6} Host/Network Route Add/Delete with Metric / Priority Functions
This adds and documents 'connman_inet_{add,del}_{,ipv6_}{host,network}_route_with_metric' functions that provide the ability to add/delete an IPv4 or IPv6 host or network route with an explicit metric / priority.
As a convenience, the 'connman_inet_{add,del}_{,ipv6_}network_route_with_metric' network route functions allow the caller to provide the IPv4 or IPv6 network address in masked (for example, 169.254.0.0/16) or unmasked (for example, 169.254.75.191/16) form. The function will mask the address, based on the provided prefix length, before modifying the route with it.
Grant Erickson (8):
inet: Relocate 'rtnl_route_cmd2string'.
inet: Reorder IPv6 host and network route function declarations.
inet: Add IPv{4,6} host/network route functions with metric/priority.
connection: Document 'inet_get_addr_data'.
connection: Document 'inet_mask_addr_data'.
connection: Document 'inet_modify_host_or_network_route'.
connection: Document 'inet_modify_{,ipv4_,ipv6_}{host,network}_route'.
inet: Document IPv{4,6} host/network route functions with
metric/priority.
include/inet.h | 43 +- src/inet.c | 1275 ++++++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 1271 insertions(+), 47 deletions(-)
Signature · 1 line
2.42.0