Hi Mikhail, This is a follow up in response to your patch series, this is following a slightly different approach which is to provide two type of helper functions: - to build the netlink messages. - to send request to kernel and process the reply (transport). I'm integrating your original 3/6 patch into this series: https://patchwork.ozlabs.org/project/netfilter-devel/patch/20211201173253.33432-4-mikhail.sennikovskii@xxxxxxxxx/ with a few updates. Thanks. Mikhail Sennikovsky (1): conntrack: pass sock to nfct_mnl_*() functions Pablo Neira Ayuso (3): conntrack: add nfct_mnl_talk() and nfct_mnl_recv() helper functions conntrack: add netlink flags to nfct_mnl_nlmsghdr_put() conntrack: use libmnl to create entry src/conntrack.c | 175 ++++++++++++++++++++++++++++++------------------ 1 file changed, 109 insertions(+), 66 deletions(-) -- 2.30.2