From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xin Long Date: Thu, 16 Feb 2017 15:40:33 +0000 Subject: Re: [PATCH net-next] sctp: change to use uint_t in uapi sctp.h Message-Id: List-Id: References: <05fb9cd9aed85d33cc8d635a18b0dcd3e7c0ff29.1487060628.git.lucien.xin@gmail.com> <20170214.112604.827348279100654183.davem@davemloft.net> In-Reply-To: <20170214.112604.827348279100654183.davem@davemloft.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: David Miller Cc: network dev , linux-sctp@vger.kernel.org, Marcelo Ricardo Leitner , Neil Horman , Vlad Yasevich On Wed, Feb 15, 2017 at 12:26 AM, David Miller wrote: > From: Xin Long > Date: Tue, 14 Feb 2017 16:23:48 +0800 > >> All structures in uapi sctp.h are exported for userspace, their members' >> types should use uint_t instead of __u. > > This is not true. > > __u is in fact preferred for userspace exported datastructures. Hi, David, can you tell more details about uint_t and __u, especially for usage of kernel and userspace in linux ? or some documents about them. Thanks.