aboutsummaryrefslogtreecommitdiffstats
path: root/ip/xfrm.h
diff options
context:
space:
mode:
authorThomas Egerer <thomas.egerer@secunet.com>2017-10-30 19:11:44 +0100
committerStephen Hemminger <stephen@networkplumber.org>2017-11-07 11:12:30 +0900
commit20e4840a0a209006ac16cfd5cd1e6a28b346ce67 (patch)
tree37cab251613df413979552fc5641ddcbe68b9e27 /ip/xfrm.h
parent4357f5c31af4d945ab05fa3ab57f56eb5b2d2ad4 (diff)
downloadplatform_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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ip/xfrm.h b/ip/xfrm.h
index 54d80ce5..8566d639 100644
--- a/ip/xfrm.h
+++ b/ip/xfrm.h
@@ -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;