X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fsocket-util.h;h=11f21c2dcc4b3c77112c55376bb709b3ba1b5574;hb=2f3ca7ea710ccfb1be4988e12ea265d37f41e971;hp=def2132cee52cc0729770a51f1806562e761d4c9;hpb=e1bd3bee5cd7065e019b4b6736918b2fda95fa49;p=openvswitch diff --git a/lib/socket-util.h b/lib/socket-util.h index def2132c..11f21c2d 100644 --- a/lib/socket-util.h +++ b/lib/socket-util.h @@ -36,7 +36,8 @@ int get_null_fd(void); int inet_open_active(int style, const char *target, uint16_t default_port, struct sockaddr_in *sinp, int *fdp); -int inet_open_passive(int style, const char *target, int default_port); +int inet_open_passive(int style, const char *target, int default_port, + struct sockaddr_in *sinp); int read_fully(int fd, void *, size_t, size_t *bytes_read); int write_fully(int fd, const void *, size_t, size_t *bytes_written);