RE: callback on adding tables from mnl_cb_run for nftables

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

 



Nevermind, figured it out....:-)

-----Original Message-----
From: netfilter-owner@xxxxxxxxxxxxxxx <netfilter-owner@xxxxxxxxxxxxxxx> On Behalf Of Andreas Hoefler
Sent: Donnerstag, 25. Juni 2020 09:51
To: netfilter@xxxxxxxxxxxxxxx
Subject: callback on adding tables from mnl_cb_run for nftables

Hi all

I would like to use a callback when adding tables with libnftnl and libmnl with mnl_cb_run. 
I tried to build the message header with nftnl_table_nlmsg_build_hdr and NLM_F_CREATE | NLM_F_ACK | NLM_F_ECHO. But it does not seem to trigger the callback provided on mnl_cb_run but still returns 0.
Any ideas?

Thx a lot
Andy





[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux