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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
2.35.8





[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux