From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4840 Path: news.gmane.org!not-for-mail From: Justin Cormack Newsgroups: gmane.linux.lib.musl.general Subject: Re: if_nameindex/getifaddrs and dhcpcd issue Date: Tue, 8 Apr 2014 17:19:12 +0100 Message-ID: References: <20140408111147.5f79729f@ncopa-desktop.alpinelinux.org> <20140408152559.124030b1@vostro> <20140408154537.GG26358@brightrain.aerifal.cx> <20140408190807.7dc6b184@vostro> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1396973970 16179 80.91.229.3 (8 Apr 2014 16:19:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Apr 2014 16:19:30 +0000 (UTC) Cc: musl@lists.openwall.com To: Timo Teras Original-X-From: musl-return-4844-gllmg-musl=m.gmane.org@lists.openwall.com Tue Apr 08 18:19:25 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1WXYk9-0003iq-10 for gllmg-musl@plane.gmane.org; Tue, 08 Apr 2014 18:19:25 +0200 Original-Received: (qmail 32356 invoked by uid 550); 8 Apr 2014 16:19:24 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 32348 invoked from network); 8 Apr 2014 16:19:24 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=specialbusservice.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=pLs9JCtWrmF20ekkOTVz5176ZA3zZW1UCYw76pLuGR0=; b=k+bIoeo9T6d5xI5Gp4X/TgGhQNb4Rym0BG6+4S7yXffcJokQt/XxZYM+HT9kXiaWi+ kZeJZuJ3lgt2s2TAzu+nTvD0C7TlcbsNlOd5BW0QKfeUjxtrqLaZbuEBM81fDPyUdPjH yL65GPju+YiEJIhCZamCIfMIktK4mGsVr9RNk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=pLs9JCtWrmF20ekkOTVz5176ZA3zZW1UCYw76pLuGR0=; b=eNepjPOTd3lmEUYEF5kchMiC8N8rQfnanRucisT630fTaHw5TV7WiCEa0zWhBLNPGA AYcAhlv8896QahwyAxKepMmYgw0XvBfi+m0T6HStGZX19D61+ofmhT0OrXmg+2KdJ9lZ dNScZkJZUGAMspYNi1nDg5iuNfcTtRsWY3wqG89us2jNojuUNCxqo0sb+f7nnqy+0tiD XCjMAjwxZRQ9q+bTt2SlpiwkfdCdQfTkJOEQQhMFJf58H1+2ZoI8VK+iF4WAP6TTvw+h +hbmmZwevFxm7Og+dvA7DVi9lmyutnNiFKfn8j5EE65uNY5tp1yjHI7/d+MoBhoqv0Eq 2gCQ== X-Gm-Message-State: ALoCoQmoOxXo/Ja9gnW+eFHq9M8BGIHyMOVeBa+KXEWQyxZaoA6C1CiBm5yr/viae+dvretJcEt7 X-Received: by 10.60.65.1 with SMTP id t1mr3007390oes.7.1396973952139; Tue, 08 Apr 2014 09:19:12 -0700 (PDT) In-Reply-To: <20140408190807.7dc6b184@vostro> Xref: news.gmane.org gmane.linux.lib.musl.general:4840 Archived-At: On Tue, Apr 8, 2014 at 5:08 PM, Timo Teras wrote: > But as to netlink, all the addresses I've looked at are not wrapped in > struct sockaddr. They are netlink 'attributes' that are variable > length. > > The only ABI mess in netlink has been with 32-bit apps running on > 64-bit kernels. And it has been kernel header issue. > > Please let me know details on the claimed deficiency of netlink. It *a > lot* better (but also a bit complicated - and even more often > misunderstood [because the #define's exposed by kernel to use it is > garbage]) than the the traditional APIs IMHO. The 'on wire' protocol of > netlink is usable though. Yes I quite like netlink. If only it was documented it would be a lot nicer. It is more pleasant to implement it in a dynamicly typed language than in C with #defines. But I don't think it should be in libc if possible... Justin