[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CADvbK_c82TA+NETwPsMuTCx=k7tc9d6Wwi4yK5Y5NKOOVb5eTg@mail.gmail.com>
Date: Thu, 16 Feb 2017 23:40:33 +0800
From: Xin Long <lucien.xin@...il.com>
To: David Miller <davem@...emloft.net>
Cc: network dev <netdev@...r.kernel.org>, linux-sctp@...r.kernel.org,
Marcelo Ricardo Leitner <marcelo.leitner@...il.com>,
Neil Horman <nhorman@...driver.com>,
Vlad Yasevich <vyasevich@...il.com>
Subject: Re: [PATCH net-next] sctp: change to use uint<size>_t in uapi sctp.h
On Wed, Feb 15, 2017 at 12:26 AM, David Miller <davem@...emloft.net> wrote:
> From: Xin Long <lucien.xin@...il.com>
> 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<size>_t instead of __u<size>.
>
> This is not true.
>
> __u<size> is in fact preferred for userspace exported datastructures.
Hi, David, can you tell more details about uint<size>_t and __u<size>,
especially for usage of kernel and userspace in linux ?
or some documents about them.
Thanks.
Powered by blists - more mailing lists