X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvcl%2Fvcl_private.h;h=f79786ba51c28241c28e3277df4b16aa9f8b1c74;hb=6068719f37419a9b636571706087e835c5956434;hp=66d418084ee33e85588f1ca32b8aeb3a8162a939;hpb=db4abc4bc2cd5a597a90e62c7388cd506337bf81;p=vpp.git diff --git a/src/vcl/vcl_private.h b/src/vcl/vcl_private.h index 66d418084ee..f79786ba51c 100644 --- a/src/vcl/vcl_private.h +++ b/src/vcl/vcl_private.h @@ -541,8 +541,6 @@ vcl_session_table_lookup_listener (vcl_worker_t * wrk, u64 handle) return s; } -const char *vppcom_session_state_str (vcl_session_state_t state); - static inline u8 vcl_session_is_ct (vcl_session_t * s) { @@ -754,6 +752,14 @@ int vcl_sapi_recv_fds (vcl_worker_t * wrk, int *fds, int n_fds); int vcl_sapi_add_cert_key_pair (vppcom_cert_key_pair_t *ckpair); int vcl_sapi_del_cert_key_pair (u32 ckpair_index); +/* + * Utility functions + */ +const char *vcl_session_state_str (vcl_session_state_t state); +u8 *vcl_format_ip4_address (u8 *s, va_list *args); +u8 *vcl_format_ip6_address (u8 *s, va_list *args); +u8 *vcl_format_ip46_address (u8 *s, va_list *args); + #endif /* SRC_VCL_VCL_PRIVATE_H_ */ /*