X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fsocket-util.h;h=4a1df12e9567add33687c5a4fc5c2d85a082135c;hb=5ca92d1d5dc0d8dba9ed554444cd0ae00a43209f;hp=56c72cd3727d3e89916c068c699e75a1b9c07bd4;hpb=c50c79431efa7b85688fb4be61d97c5ee7a9c459;p=openvswitch diff --git a/lib/socket-util.h b/lib/socket-util.h index 56c72cd3..4a1df12e 100644 --- a/lib/socket-util.h +++ b/lib/socket-util.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2009, 2010, 2011 Nicira, Inc. + * Copyright (c) 2008, 2009, 2010, 2011, 2012 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,7 +38,7 @@ int get_socket_rcvbuf(int sock); int check_connection_completion(int fd); int drain_rcvbuf(int fd); void drain_fd(int fd, size_t n_packets); -int make_unix_socket(int style, bool nonblock, bool passcred, +int make_unix_socket(int style, bool nonblock, const char *bind_path, const char *connect_path); int get_unix_name_len(socklen_t sun_len); ovs_be32 guess_netmask(ovs_be32 ip);