LCOV - code coverage report
Current view: top level - waltz - fd_fqdn.h (source / functions) Hit Total Coverage
Test: cov.lcov Lines: 1 1 100.0 %
Date: 2026-09-17 04:28:31 Functions: 0 0 -

          Line data    Source code
       1             : #ifndef HEADER_fd_src_waltz_fd_fqdn_h
       2             : #define HEADER_fd_src_waltz_fd_fqdn_h
       3             : 
       4             : /* Cstr storage capacity for host names used by Waltz URL and resolver
       5             :    APIs: up to 255 bytes plus the terminating NUL.  This is a storage
       6             :    bound, not a DNS validity limit; DNS syntax and its 253-byte textual
       7             :    limit without a trailing dot are enforced separately. */
       8          87 : #define FD_FQDN_BUF_MAX (255UL+1UL)
       9             : 
      10             : /* TLS SNI contains a host name. */
      11             : #define FD_SNI_BUF_MAX FD_FQDN_BUF_MAX
      12             : 
      13             : /* Cstr storage capacity for a maximum-sized host followed by ':', a
      14             :    five-digit port, and the terminating NUL.  FD_FQDN_BUF_MAX already
      15             :    accounts for the terminating NUL. */
      16             : #define FD_HOSTPORT_BUF_MAX (FD_FQDN_BUF_MAX+6UL)
      17             : 
      18             : #endif /* HEADER_fd_src_waltz_fd_fqdn_h */

Generated by: LCOV version 1.14