On Tue, Feb 14, 2017 at 11:26:04AM -0500, David Miller wrote: > From: Xin Long <lucien....@gmail.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. >
I'll admit that I can never remember which is which, but the files in uapi seem pretty evenly split between the two types, and I always thought the uint<size>_t was the one meant for user space Neil