socket-util: socket_address_equal_unix()

This commit is contained in:
Ivan Kruglov
2025-05-13 01:55:15 -07:00
parent ea6075a26e
commit e739395f13
2 changed files with 19 additions and 0 deletions
+1
View File
@@ -342,6 +342,7 @@ int vsock_parse_cid(const char *s, unsigned *ret);
* protocol mismatch. */
int socket_address_parse_unix(SocketAddress *ret_address, const char *s);
int socket_address_parse_vsock(SocketAddress *ret_address, const char *s);
int socket_address_equal_unix(const char *a, const char *b);
/* libc's SOMAXCONN is defined to 128 or 4096 (at least on glibc). But actually, the value can be much
* larger. In our codebase we want to set it to the max usually, since nowadays socket memory is properly