]> err.no Git - linux-2.6/commit
[DCCP]: make <linux/dccp.h> include-able from userspace
authorHarald Welte <laforge@netfilter.org>
Wed, 10 Aug 2005 03:26:03 +0000 (20:26 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 29 Aug 2005 22:54:18 +0000 (15:54 -0700)
commit5a47a470e602eecb168ddd3b78841b84ceddd319
tree9b2408cd295189662f4909522a15d24101bf3fdc
parentbb435b8d816582064ee0ddb1e2a6fbca67f34108
[DCCP]: make <linux/dccp.h> include-able from userspace

The protocol header files in <linux/foo.h> are usually structured in a
way to be included by userspace code.  The top section consists of
general protocol structure definitions, typedefs, enums - followed by
an #ifdef __KERNEL__ section.

Currently <linux/dccp.h> doesn't follow that convention and can
therefore not be used from userspace.  However, for example iptables'
libipt_dccp.c actually needs various definitions from there.

Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/dccp.h