From: Patrick McHardy <kaber@trash.net>
To: tgraf@suug.ch
Cc: Patrick McHardy <kaber@trash.net>,
netfilter-devel@vger.kernel.org, philipc@snapgear.com
Subject: [LIBNL 00/09]: Netfilter update + minor fixes
Date: Fri, 18 Jan 2008 17:55:47 +0100 (MET) [thread overview]
Message-ID: <20080118165514.13385.44695.sendpatchset@localhost.localdomain> (raw)
These patches restructure the libnl nfnetlink_log code as discussed earlier
by splitting it into two seperate object types, one to represent the log
instance and one for the actual messages. They also add support for
nfnetlink_queue, which follows the same pattern, and for basic conntrack
requests (add/delete/query).
Additionally they contains a few minor fixes that don't relate to netfilter,
but I had them queued in the same tree, so I've included them for simplicity.
Comments and/or applying welcome :)
include/Makefile | 2 +
include/linux/if_vlan.h | 61 ++++
include/linux/netfilter.h | 39 +++
include/linux/netfilter/nfnetlink_log.h | 1 +
include/linux/netfilter/nfnetlink_queue.h | 94 ++++++
include/netlink-types.h | 78 ++++-
include/netlink/netfilter/ct.h | 9 +
include/netlink/netfilter/log.h | 110 ++++----
include/netlink/netfilter/log_msg.h | 98 ++++++
include/netlink/netfilter/netfilter.h | 31 ++
include/netlink/netfilter/queue.h | 86 +++++
include/netlink/netfilter/queue_msg.h | 101 ++++++
lib/netfilter/ct.c | 153 +++++++++
lib/netfilter/log.c | 325 +++++++-------------
lib/netfilter/log_msg.c | 218 +++++++++++++
lib/netfilter/log_msg_obj.c | 456 +++++++++++++++++++++++++++
lib/netfilter/log_obj.c | 420 +++++++++-----------------
lib/netfilter/netfilter.c | 53 ++++
lib/netfilter/queue.c | 233 ++++++++++++++
lib/netfilter/queue_msg.c | 240 ++++++++++++++
lib/netfilter/queue_msg_obj.c | 480 +++++++++++++++++++++++++++++
lib/netfilter/queue_obj.c | 213 +++++++++++++
lib/route/route_utils.c | 10 +
src/nf-log.c | 55 +++-
src/{nf-log.c => nf-queue.c} | 64 +++-
25 files changed, 3038 insertions(+), 592 deletions(-)
create mode 100644 include/linux/if_vlan.h
create mode 100644 include/linux/netfilter.h
create mode 100644 include/linux/netfilter/nfnetlink_queue.h
create mode 100644 include/netlink/netfilter/log_msg.h
create mode 100644 include/netlink/netfilter/netfilter.h
create mode 100644 include/netlink/netfilter/queue.h
create mode 100644 include/netlink/netfilter/queue_msg.h
create mode 100644 lib/netfilter/log_msg.c
create mode 100644 lib/netfilter/log_msg_obj.c
create mode 100644 lib/netfilter/netfilter.c
create mode 100644 lib/netfilter/queue.c
create mode 100644 lib/netfilter/queue_msg.c
create mode 100644 lib/netfilter/queue_msg_obj.c
create mode 100644 lib/netfilter/queue_obj.c
copy src/{nf-log.c => nf-queue.c} (63%)
Patrick McHardy (9):
[LIBNL]: Add if_vlan.h
[LIBNL]: Fix minor memleaks on exit
[LIBNL]: Generic netfilter stuff
[LIBNL]: Add nfnetlink_queue support
[LIBNL]: nfnetlink_log: only set hwproto if not zero
[LIBNL]: nfnetlink_log: support NUFLA_GID attribute
[LIBNL]: Split up nfnetlink_log into log and msg objects
[LIBNL]: Support conntrack add/delete/query requests
[LIBNL]: Install netfilter headers
next reply other threads:[~2008-01-18 16:55 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-18 16:55 Patrick McHardy [this message]
2008-01-18 16:55 ` [LIBNL 01/09]: Add if_vlan.h Patrick McHardy
2008-02-07 11:50 ` Thomas Graf
2008-01-18 16:55 ` [LIBNL 02/09]: Fix minor memleaks on exit Patrick McHardy
2008-02-07 11:52 ` Thomas Graf
2008-01-18 16:55 ` [LIBNL 03/09]: Generic netfilter stuff Patrick McHardy
2008-02-07 11:54 ` Thomas Graf
2008-01-18 16:55 ` [LIBNL 04/09]: Add nfnetlink_queue support Patrick McHardy
2008-02-07 12:00 ` Thomas Graf
2008-01-18 16:55 ` [LIBNL 05/09]: nfnetlink_log: only set hwproto if not zero Patrick McHardy
2008-02-07 12:01 ` Thomas Graf
2008-01-18 16:55 ` [LIBNL 06/09]: nfnetlink_log: support NUFLA_GID attribute Patrick McHardy
2008-02-07 12:03 ` Thomas Graf
2008-01-18 16:55 ` [LIBNL 07/09]: Split up nfnetlink_log into log and msg objects Patrick McHardy
2008-01-21 8:05 ` Philip Craig
2008-01-21 9:45 ` Patrick McHardy
2008-02-07 12:11 ` Thomas Graf
2008-01-18 16:55 ` [LIBNL 08/09]: Support conntrack add/delete/query requests Patrick McHardy
2008-01-21 8:39 ` Philip Craig
2008-01-21 9:46 ` Patrick McHardy
2008-01-21 10:53 ` Philip Craig
2008-01-21 10:55 ` Patrick McHardy
2008-02-07 12:14 ` Thomas Graf
2008-02-19 12:32 ` Patrick McHardy
2008-01-18 16:56 ` [LIBNL 09/09]: Install netfilter headers Patrick McHardy
2008-02-07 12:16 ` Thomas Graf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080118165514.13385.44695.sendpatchset@localhost.localdomain \
--to=kaber@trash.net \
--cc=netfilter-devel@vger.kernel.org \
--cc=philipc@snapgear.com \
--cc=tgraf@suug.ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.