summaryrefslogtreecommitdiff
path: root/src/platform/nm-platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/platform/nm-platform.h')
-rw-r--r--src/platform/nm-platform.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/platform/nm-platform.h b/src/platform/nm-platform.h
index 008865dab7..1a37846dd8 100644
--- a/src/platform/nm-platform.h
+++ b/src/platform/nm-platform.h
@@ -624,13 +624,23 @@ typedef struct {
} NMPlatformActionSimple;
typedef struct {
+ gboolean egress;
+ gboolean ingress;
+ gboolean mirror;
+ gboolean redirect;
+ int ifindex;
+} NMPlatformActionMirred;
+
+typedef struct {
const char *kind;
union {
NMPlatformActionSimple simple;
+ NMPlatformActionMirred mirred;
};
} NMPlatformAction;
#define NM_PLATFORM_ACTION_KIND_SIMPLE "simple"
+#define NM_PLATFORM_ACTION_KIND_MIRRED "mirred"
typedef struct {
__NMPlatformObjWithIfindex_COMMON;