From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 6955A2BC3C for ; Thu, 18 Apr 2019 11:15:04 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4WjY10HN9SBw for ; Thu, 18 Apr 2019 11:15:04 -0400 (EDT) Received: from smtp56.i.mail.ru (smtp56.i.mail.ru [217.69.128.36]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 232AF25F19 for ; Thu, 18 Apr 2019 11:15:03 -0400 (EDT) Received: by smtp56.i.mail.ru with esmtpa (envelope-from ) id 1hH8kg-0001H5-7u for tarantool-patches@freelists.org; Thu, 18 Apr 2019 18:15:02 +0300 Date: Thu, 18 Apr 2019 18:15:02 +0300 From: Konstantin Osipov Subject: [tarantool-patches] Re: [PATCH 1/4] swim: move sockaddr_in checkers to swim_proto.h Message-ID: <20190418151502.GB13022@chai> References: <1e3490a96e2daec7906def26f31265d995966204.1555530516.git.v.shpilevoy@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1e3490a96e2daec7906def26f31265d995966204.1555530516.git.v.shpilevoy@tarantool.org> Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-Help: List-Unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-Subscribe: List-Owner: List-post: List-Archive: To: tarantool-patches@freelists.org * Vladislav Shpilevoy [19/04/18 09:03]: > There are several places where it is necessary to check if a > sockaddr_in is nullified, and to compare a couple of addresses. > Some of them are in swim_proto.c, and more are coming in indirect > SWIM messages patch. The patch moves the checkers into > swim_proto.h so as to be usable from anywhere in SWIM. > > Also minor renames are made alongside. 'sockaddr_in' is too long > to use in each related function's name, and is replaced with > 'inaddr' by analogue with the standard library. > > Part of #3234 OK to push. -- Konstantin Osipov, Moscow, Russia, +7 903 626 22 32 http://tarantool.io - www.twitter.com/kostja_osipov