test-openflowd: Allow specifying port type on --ports option.
[openvswitch] / lib / socket-util.h
index 10f821e1429b1a80d85541d45ddfd1d45a6088c9..ce7cd5ba414d9c6a4f076ba29f374cf38669fad1 100644 (file)
 
 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);