|
Message-ID: <CAK4o1WygqkFer_Y6FsKO0gNfJFs8+7mqK5b=k7YJ77E6rUrmig@mail.gmail.com> Date: Tue, 8 Apr 2014 17:19:12 +0100 From: Justin Cormack <justin@...cialbusservice.com> To: Timo Teras <timo.teras@....fi> Cc: musl@...ts.openwall.com Subject: Re: if_nameindex/getifaddrs and dhcpcd issue On Tue, Apr 8, 2014 at 5:08 PM, Timo Teras <timo.teras@....fi> 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
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.