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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user