Skip to content

Convert libnetfilter_queue to use entirely libmnl functions

Duncan Roe netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1Convert libnetfilter_queue to use entirely libmnl functionsMake_global.am configure.ac doxygen/Makefile.am +11 more+1102 -35537 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH libnetfilter_queue 0/1] Convert libnetfilter_queue to use entirely libmnl functions

This libnetfilter_queue does not use any libnfnetlink functions or headers.

The major revision of libnetfilter_queue.so will have to increase because nfq_open_nfnl() is deleted.

I've never used ./autogen.sh distrib so have left the libnfnetlink reference. Can it be removed?

The library provides all libnfnetlink functions mentioned in documentation or required to implement these functions:

- nlif_open(), nlif_close(), nlif_fd(), nlif_query(), nlif_catch(), nlif_index2name() & nlif_get_ifflags()
- (macro) __be64_to_cpu
- nfnl_rcvbufsiz()

In the absence of feedback, I added these former libnfnetlink functions to libnetfilter_queue and left libmnl unchanged.

As always, the documentation could still be improved. Next to do might be a refresh of the "Performance" section on the Main page.

Cheers ... Duncan.

Duncan Roe (1):
Convert libnetfilter_queue to use entirely libmnl functions

 Make_global.am                                |   2 +-
 configure.ac                                  |   1 -
 doxygen/Makefile.am                           |   5 +
 doxygen/build_man.sh                          |  44 +-
 doxygen/doxygen.cfg.in                        |   8 +-
 .../libnetfilter_queue/libnetfilter_queue.h   |  47 +-
 include/libnetfilter_queue/linux_list.h       | 185 +++++
 .../linux_nfnetlink_queue.h                   |   1 -
 libnetfilter_queue.pc.in                      |   1 -
 src/Makefile.am                               |   3 +-
 src/extra/pktbuff.c                           |  27 +-
 src/iftable.c                                 | 391 ++++++++++
 src/libnetfilter_queue.c                      | 696 ++++++++++--------
 src/nlmsg.c                                   |  46 +-
 14 files changed, 1102 insertions(+), 355 deletions(-)
 create mode 100644 include/libnetfilter_queue/linux_list.h
 create mode 100644 src/iftable.c
Signature · 1 line
2.35.8