14#include <netinet/in.h> 
   16#include <sys/socket.h> 
   24#define XCM_UTLS_PROTO "utls" 
   27#define XCM_TLS_PROTO "tls" 
   29#define XCM_TCP_PROTO "tcp" 
   31#define XCM_SCTP_PROTO "sctp" 
   34#define XCM_UX_PROTO "ux" 
   37#define XCM_UXF_PROTO "uxf" 
   41#define XCM_BTLS_PROTO "btls" 
   43#define XCM_BTCP_PROTO "btcp" 
  267               char *utls_addr_s, 
size_t capacity);
 
  285              char *tls_addr_s, 
size_t capacity);
 
  303              char *tcp_addr_s, 
size_t capacity);
 
  321               char *sctp_addr_s, 
size_t capacity);
 
  371               char *btcp_addr_s, 
size_t capacity);
 
  389               char *btls_addr_s, 
size_t capacity);
 
  391#include <xcm_addr_compat.h> 
enum xcm_addr_type type
Definition xcm_addr.h:71
 
union xcm_addr_ip::@0 addr
 
sa_family_t family
Definition xcm_addr.h:54
 
uint8_t ip6[16]
Definition xcm_addr.h:63
 
in_addr_t ip4
Definition xcm_addr.h:60
 
int xcm_addr_parse_uxf(const char *uxf_addr_s, char *uxf_path, size_t capacity)
 
int xcm_addr_make_btls(const struct xcm_addr_host *host, unsigned short port, char *btls_addr_s, size_t capacity)
 
int xcm_addr_make_utls(const struct xcm_addr_host *host, unsigned short port, char *utls_addr_s, size_t capacity)
 
int xcm_addr_parse_sctp(const char *sctp_addr_s, struct xcm_addr_host *host, uint16_t *port)
 
int xcm_addr_make_ux(const char *ux_name, char *ux_addr_s, size_t capacity)
 
int xcm_addr_parse_utls(const char *utls_addr_s, struct xcm_addr_host *host, uint16_t *port)
 
bool xcm_addr_is_supported(const char *xcm_addr_s)
 
int xcm_addr_parse_btls(const char *btls_addr_s, struct xcm_addr_host *host, uint16_t *port)
 
int xcm_addr_make_tcp(const struct xcm_addr_host *host, unsigned short port, char *tcp_addr_s, size_t capacity)
 
int xcm_addr_make_tls(const struct xcm_addr_host *host, unsigned short port, char *tls_addr_s, size_t capacity)
 
int xcm_addr_parse_ux(const char *ux_addr_s, char *ux_path, size_t capacity)
 
int xcm_addr_parse_btcp(const char *btcp_addr_s, struct xcm_addr_host *host, uint16_t *port)
 
int xcm_addr_make_uxf(const char *uxf_name, char *uxf_addr_s, size_t capacity)
 
int xcm_addr_parse_proto(const char *addr_s, char *proto, size_t capacity)
 
bool xcm_addr_is_valid(const char *xcm_addr_s)
 
int xcm_addr_parse_tls(const char *tls_addr_s, struct xcm_addr_host *host, uint16_t *port)
 
int xcm_addr_parse_tcp(const char *tcp_addr_s, struct xcm_addr_host *host, uint16_t *port)
 
int xcm_addr_make_btcp(const struct xcm_addr_host *host, unsigned short port, char *btcp_addr_s, size_t capacity)
 
int xcm_addr_make_sctp(const struct xcm_addr_host *host, unsigned short port, char *sctp_addr_s, size_t capacity)