iftable: add nlif_get_ifflags to get the network interface flags

This patch adds the nlif_get_ifflags to get the interface flags.
This patch also modifies the example file to display if a network
interface is running or not.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
3 files changed