connection: Introduce and Leverage IP Any / Unspecified Address String Constants and Functions
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 1 replyIn review
- v13 patches 5 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | connection: Introduce and leverage 'ipv[46]_addr_any_str' constants.src/ | +24 | 0 replies | |
| 2/3 | connection: Introduce and leverage 'is_ipv[46]_addr_any_str' functions.src/ | +20 | 0 replies | |
| 3/3 | connection: Document 'is_ipv[46]_addr_any_str'.src/ | +40 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/3] connection: Introduce and Leverage IP Any / Unspecified Address String Constants and Functions
The IPv4 and IPv6 any / unspecified address string literals, "0.0.0.0" and "::" respectively, and comparisons against them appear often enough throughout the code where they warrant referencing through file-scoped constants and introducing and leveraging introspection functions to encapsulate the comparison patterns.
This introduces and uses such constants and 'is_ipv[46]_addr_any_str' introspection functions to encapsulate these comparison patterns.
Grant Erickson (3):
connection: Introduce and leverage 'ipv[46]_addr_any_str' constants.
connection: Introduce and leverage 'is_ipv[46]_addr_any_str'
functions.
connection: Document 'is_ipv[46]_addr_any_str'.
src/connection.c | 92 ++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 73 insertions(+), 19 deletions(-)
Signature · 1 line
2.42.0