[Oisf-devel] [PATCH 0/2] lighten Packet structure (v1)

Eric Leblond eleblond at edenwall.com
Mon Nov 15 23:35:44 UTC 2010


Hi,

Here is the first candidate version of the patchset which aim at
reducing the size of the Packet structure. A few things have change
since last version. I've only continued the hunting of direct pkt
member access and fix a remaining todo.

Patchset statistics:
 src/alert-debuglog.c       |   12 +++---
 src/alert-fastlog.c        |    2 +-
 src/alert-unified-log.c    |    8 ++--
 src/alert-unified2-alert.c |   10 +++---
 src/decode-gre.c           |    8 ++--
 src/decode-ipv4.c          |    4 +-
 src/decode-ipv6.c          |    2 +-
 src/decode-raw.c           |   16 ++++----
 src/decode.c               |   86 ++++++++++++++++++++++++++++++++++++++++++-
 src/decode.h               |   19 +++++++++-
 src/defrag.c               |   80 ++++++++++++++++++++--------------------
 src/detect-bytetest.c      |    6 ++--
 src/detect-engine-tag.c    |    6 ++--
 src/detect.c               |   24 ++++++------
 src/flow.c                 |    2 +-
 src/source-erf-dag.c       |   20 +++++-----
 src/source-erf-file.c      |   16 ++++----
 src/source-ipfw.c          |   28 +++++++-------
 src/source-nfq.c           |   29 ++++++++-------
 src/source-pcap-file.c     |   18 +++++-----
 src/source-pcap.c          |   25 +++++++------
 src/source-pfring.c        |   16 ++++----
 src/tmqh-packetpool.c      |   11 ++++++
 src/util-unittest-helper.c |    8 ++--
 24 files changed, 284 insertions(+), 172 deletions(-)

BR,
--
Eric Leblond <eleblond at edenwall.com>



More information about the Oisf-devel mailing list