2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 06:15:47 +00:00

socket-util: Factor inet_parse_passive() out of inet_open_passive().

This commit is contained in:
Ben Pfaff
2010-09-29 10:15:15 -07:00
parent eaa6eb2afd
commit d98fa5032e
2 changed files with 74 additions and 52 deletions

View File

@@ -40,6 +40,9 @@ bool inet_parse_active(const char *target, uint16_t default_port,
struct sockaddr_in *sinp);
int inet_open_active(int style, const char *target, uint16_t default_port,
struct sockaddr_in *sinp, int *fdp);
bool inet_parse_passive(const char *target, uint16_t default_port,
struct sockaddr_in *sinp);
int inet_open_passive(int style, const char *target, int default_port,
struct sockaddr_in *sinp);