Programmatically adding an element into a map using libnftnl

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

 



I have a map of the following format:

{ type ipv4_addr . inet_service : ipv4_addr }

How do I add an element into the map using the libnftnl API? I see the
example nft-set-elem-add.c, but it is not clear on how to modify this
for different types of elements like concatenated IP/port above or
IPV6.

I hate to ask again, but is there documentation for the library somewhere?



[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