[lkml]   [2011]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[PATCH 18/40] UAPI: Fix linux/netfilter.h inclusion order [ver #3]
    Fix linux/netfilter.h inclusion order to make sure that the inclusion of the
    user-specific file happens after the inclusion of the header file that
    provides struct in_addr and struct in6_addr.

    To get around this problem, place a marker specifically to indicate the point
    at which the UAPI header should be included in the kernel-specific file. The
    marker will be deleted later.

    Signed-off-by: David Howells <>

    include/linux/netfilter.h | 2 ++
    1 files changed, 2 insertions(+), 0 deletions(-)

    diff --git a/include/linux/netfilter.h b/include/linux/netfilter.h
    index 857f502..4faf53d 100644
    --- a/include/linux/netfilter.h
    +++ b/include/linux/netfilter.h
    @@ -15,6 +15,8 @@
    #include <linux/compiler.h>
    #include <linux/sysctl.h>

    /* Responses from hook functions. */
    #define NF_DROP 0
    #define NF_ACCEPT 1

     \ /
      Last update: 2011-07-28 17:55    [W:0.063 / U:33.188 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site