X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fsocket-util.h;h=ce7cd5ba414d9c6a4f076ba29f374cf38669fad1;hb=13f2ef9709fbe24b56540ddc5db62c1098b4190f;hp=10f821e1429b1a80d85541d45ddfd1d45a6088c9;hpb=d98fa5032eaf49b073058dbf390283c9a71001e1;p=sliver-openvswitch.git diff --git a/lib/socket-util.h b/lib/socket-util.h index 10f821e14..ce7cd5ba4 100644 --- a/lib/socket-util.h +++ b/lib/socket-util.h @@ -24,8 +24,12 @@ int set_nonblocking(int fd); int get_max_fds(void); + int lookup_ip(const char *host_name, struct in_addr *address); int lookup_ipv6(const char *host_name, struct in6_addr *address); + +int lookup_hostname(const char *host_name, struct in_addr *); + int get_socket_error(int sock); int check_connection_completion(int fd); int drain_rcvbuf(int fd);