25 #ifndef __MOTR_NET_IP_H__ 26 #define __MOTR_NET_IP_H__ 28 #define M0_NET_IP_STRLEN_MAX 150 29 #define M0_NET_IP_PORTLEN_MAX 6 30 #define M0_NET_IP_PORT_MAX 65536 union m0_net_ip_params::@377 nip_fmt_pvt
struct m0_net_ip_lnet_addr la
enum m0_net_ip_format nip_format
M0_INTERNAL int m0_net_ip_parse(const char *name, struct m0_net_ip_addr *addr)
M0_INTERNAL void m0_net_ip_fini(void)
M0_INTERNAL int m0_net_ip_print(const struct m0_net_ip_addr *nia)
struct m0_net_ip_params nia_n
char nia_p[M0_NET_IP_STRLEN_MAX]
struct m0_net_ip_inet_addr ia
union m0_net_ip_params::@376 nip_ip_n
char * fmt(const char *format,...) __attribute__((format(printf
M0_INTERNAL int m0_net_ip_init(void)
M0_INTERNAL int m0_net_hostname_to_ip(const char *hostname, char *ip, enum m0_net_ip_format *fmt)
M0_INTERNAL bool m0_net_ip_addr_eq(const struct m0_net_ip_addr *addr1, const struct m0_net_ip_addr *addr2, bool is_ncmp)
#define M0_NET_IP_STRLEN_MAX