mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
socket-util: New function lookup_hostname().
This is equivalent to lookup_ip() except that it accepts DNS names also.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user