aboutsummaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorYang Hongyang <burnef@gmail.com>2015-10-07 11:52:19 +0800
committerJason Wang <jasowang@redhat.com>2015-10-12 13:30:56 +0800
commita4960f52e7f402a4b7402ace204283de7b9d4879 (patch)
tree9160d0efaa041596117f576a95051fd61c123a9a /include/net
parent7ef7bc8586fb0d41742a896b532c7afa2bbb7f84 (diff)
netfilter: print filter info associate with the netdev
When execute "info network", print filter info also. add a info_str member to NetFilterState, store specific filters info. Signed-off-by: Yang Hongyang <yanghy@cn.fujitsu.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/filter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/filter.h b/include/net/filter.h
index 56399763cc..2deda362a6 100644
--- a/include/net/filter.h
+++ b/include/net/filter.h
@@ -55,6 +55,7 @@ struct NetFilterState {
char *netdev_id;
NetClientState *netdev;
NetFilterDirection direction;
+ char info_str[256];
QTAILQ_ENTRY(NetFilterState) next;
};