Commit:     2e3075a2c4364c0e8726ac2a0f3b1708da781bac
Parent:     96e3227265852ffad332f911887c9cf26c85e40a
Author:     Jan Engelhardt <[EMAIL PROTECTED]>
AuthorDate: Mon Jan 14 23:40:34 2008 -0800
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Mon Jan 28 15:02:22 2008 -0800

    [NETFILTER]: Extend nf_inet_addr with in{,6}_addr
    Extend union nf_inet_addr with struct in_addr and in6_addr. Useful
    because a lot of in-kernel IPv4 and IPv6 functions use
    Signed-off-by: Jan Engelhardt <[EMAIL PROTECTED]>
    Signed-off-by: Patrick McHardy <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
 include/linux/netfilter.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/include/linux/netfilter.h b/include/linux/netfilter.h
index c41f643..d74e79b 100644
--- a/include/linux/netfilter.h
+++ b/include/linux/netfilter.h
@@ -7,6 +7,8 @@
 #include <linux/skbuff.h>
 #include <linux/net.h>
 #include <linux/if.h>
+#include <linux/in.h>
+#include <linux/in6.h>
 #include <linux/wait.h>
 #include <linux/list.h>
@@ -52,6 +54,8 @@ union nf_inet_addr {
        u_int32_t       all[4];
        __be32          ip;
        __be32          ip6[4];
+       struct in_addr  in;
+       struct in6_addr in6;
 #ifdef __KERNEL__
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to