netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFC libnetfilter_queue 0/1] Eliminate packet copy when constructing struct pkt_buff
@ 2021-05-04  2:34 Duncan Roe
  2021-05-04  2:34 ` [PATCH RFC libnetfilter_queue 1/1] " Duncan Roe
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Duncan Roe @ 2021-05-04  2:34 UTC (permalink / raw)
  To: pablo; +Cc: netfilter-devel

Hi Pablo,

This is item 2 of 4 after which I think we could do a new release.

Item 3 is to eliminate packet copy when returning a mangled packet in a verdict.
I have this working in inline code, not yet factored into function calls.

Item 4 is to document how to use the library (i.e. using non-deprecated calls).
I haven't started it yet.
Perhaps I can get rid of the implicit forced-load of libnfnetlink (only used by
deprecated functions).

Cheers ... Duncan.

Duncan Roe (1):
  Eliminate packet copy when constructing struct pkt_buff

 examples/nf-queue.c                    | 22 ++++++-
 include/libnetfilter_queue/Makefile.am |  1 +
 include/libnetfilter_queue/callback.h  | 11 ++++
 include/libnetfilter_queue/pktbuff.h   |  2 +
 src/Makefile.am                        |  1 +
 src/extra/callback.c                   | 52 +++++++++++++++++
 src/extra/pktbuff.c                    | 80 ++++++++++++++++++--------
 7 files changed, 141 insertions(+), 28 deletions(-)
 create mode 100644 include/libnetfilter_queue/callback.h
 create mode 100644 src/extra/callback.c

-- 
2.17.5


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

end of thread, other threads:[~2021-08-04  1:38 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-04  2:34 [PATCH RFC libnetfilter_queue 0/1] Eliminate packet copy when constructing struct pkt_buff Duncan Roe
2021-05-04  2:34 ` [PATCH RFC libnetfilter_queue 1/1] " Duncan Roe
2021-05-18  3:08   ` [PATCH libnetfilter_queue v2 0/1] Speed-up Duncan Roe
2021-05-18  3:08   ` [PATCH libnetfilter_queue v2 1/1] Eliminate packet copy when constructing struct pkt_buff Duncan Roe
2021-05-27 20:23     ` Pablo Neira Ayuso
2021-07-18  4:28       ` Duncan Roe
2021-08-04  1:38       ` Duncan Roe
2021-05-04  2:50 ` [PATCH RFC libnetfilter_queue 0/1] " Duncan Roe
2021-05-31  3:11 ` Duncan Roe

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).