diff options
author | Thomas Egerer <thomas.egerer@secunet.com> | 2017-10-30 19:11:44 +0100 |
---|---|---|
committer | Stephen Hemminger <stephen@networkplumber.org> | 2017-11-07 11:12:30 +0900 |
commit | 20e4840a0a209006ac16cfd5cd1e6a28b346ce67 (patch) | |
tree | 37cab251613df413979552fc5641ddcbe68b9e27 /ip/xfrm.h | |
parent | 4357f5c31af4d945ab05fa3ab57f56eb5b2d2ad4 (diff) | |
download | platform_external_iproute2-20e4840a0a209006ac16cfd5cd1e6a28b346ce67.tar.gz platform_external_iproute2-20e4840a0a209006ac16cfd5cd1e6a28b346ce67.tar.bz2 platform_external_iproute2-20e4840a0a209006ac16cfd5cd1e6a28b346ce67.zip |
xfrm_policy: Add filter option for socket policies
Listing policies on systems with a lot of socket policies can be
confusing due to the number of returned polices. Even if socket polices
are not of interest, they cannot be filtered. This patch adds an option
to filter all socket policies from the output.
Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com>
Diffstat (limited to 'ip/xfrm.h')
-rw-r--r-- | ip/xfrm.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -90,6 +90,7 @@ struct xfrm_filter { __u8 action_mask; __u32 priority_mask; __u8 policy_flags_mask; + __u8 filter_socket; __u8 ptype; __u8 ptype_mask; |