summaryrefslogtreecommitdiffstats
path: root/qa/test_connlabel.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2013-07-03 13:06:22 +0200
committerFlorian Westphal <fw@strlen.de>2013-07-04 22:25:01 +0200
commit033ec6be245261cd5e53e5a01435afea71ef6230 (patch)
treec8e8059c58103fd92998ba9ef2616989f1ee2e0a /qa/test_connlabel.c
parent1e4d02009d4517af4ee8ba0fe6d620a61978ac51 (diff)
conntrack: api: add nfct_snprintf_labels
nfct_snprintf doesn't print connlabels, as they're system specific and can easily generate lots of output. This adds a new helper function, nfct_snprintf_labels. It behaves like nfct_snprintf, except that the label names in the labelmap whose bits are contained in connlabel attribute bitset are added to the buffer. output looks like this: output looks like this: ... mark=0 use=1 labels=eth0-in,eth1-in or <labels> <label>eth0-in</label> <label>eth1-in</label> </labels> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'qa/test_connlabel.c')
0 files changed, 0 insertions, 0 deletions