Creating a map programmatically using the C library libnftnl

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

 



Hello,

I'm not sure how to respond to my post from earlier today, so I'm just
creating a new one.

I do not need help figuring out how to use the nft command line tool.
I need to figure out how to use the libnftnl C library to create a map
of the following type and insert elements into it:

type ipv4_addr . inet_service : ipv4_addr

I see an example for creating a set in nft-set-test.c, but I'm not
sure how to translate this into creating a map and adding elements to
it. Is there documentation somewhere? Could you write an example for
this use case?

Thanks,
Kiernan George



[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