netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [LIBNL 00/09]: Netfilter update + minor fixes
@ 2008-01-18 16:55 Patrick McHardy
  2008-01-18 16:55 ` [LIBNL 01/09]: Add if_vlan.h Patrick McHardy
                   ` (8 more replies)
  0 siblings, 9 replies; 26+ messages in thread
From: Patrick McHardy @ 2008-01-18 16:55 UTC (permalink / raw)
  To: tgraf; +Cc: Patrick McHardy, netfilter-devel, philipc

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

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2008-02-19 12:33 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-18 16:55 [LIBNL 00/09]: Netfilter update + minor fixes Patrick McHardy
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).