From e4181ea8a202dd2c690c51c244fcff18b43be7dd Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Mon, 20 Jul 2020 00:03:16 +0200 Subject: socket: add osmo_sockaddr_cmp() Compare two osmo_sockaddr. Change-Id: I2d12ebae2710ffd17cf071e6ada0804e73f87dd6 --- include/osmocom/core/socket.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/osmocom/core/socket.h') diff --git a/include/osmocom/core/socket.h b/include/osmocom/core/socket.h index 44414498..e417f429 100644 --- a/include/osmocom/core/socket.h +++ b/include/osmocom/core/socket.h @@ -113,5 +113,7 @@ int osmo_sock_mcast_subscribe(int fd, const char *grp_addr); int osmo_sock_local_ip(char *local_ip, const char *remote_ip); +int osmo_sockaddr_cmp(struct osmo_sockaddr *a, struct osmo_sockaddr *b); + #endif /* (!EMBEDDED) */ /*! @} */ -- cgit v1.2.3