summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-07-10 23:04:49 +0900
committerGitHub <noreply@github.com>2019-07-10 23:04:49 +0900
commitf392c0656626824814704bdd624e02d56953dc2b (patch)
tree163d133d94112286f3ab1b151a02d7d3d0ffb4f2 /test
parentba40f0399e506194fd21bb0a6c8d57e306116d20 (diff)
parentb7700511eff2cff25946b18b30162c2c61dfee41 (diff)
downloadsystemd-f392c0656626824814704bdd624e02d56953dc2b.tar.gz
systemd-f392c0656626824814704bdd624e02d56953dc2b.tar.bz2
systemd-f392c0656626824814704bdd624e02d56953dc2b.zip
Merge pull request #12863 from 1848/if_xfrm
Added support for xfrm interfaces
Diffstat (limited to 'test')
-rw-r--r--test/fuzz/fuzz-netdev-parser/27-xfrm.netdev7
-rw-r--r--test/fuzz/fuzz-netdev-parser/directives.netdev3
-rw-r--r--test/fuzz/fuzz-network-parser/27-xfrm.network5
-rw-r--r--test/fuzz/fuzz-network-parser/directives.network1
4 files changed, 16 insertions, 0 deletions
diff --git a/test/fuzz/fuzz-netdev-parser/27-xfrm.netdev b/test/fuzz/fuzz-netdev-parser/27-xfrm.netdev
new file mode 100644
index 0000000000..cdcb2d22cd
--- /dev/null
+++ b/test/fuzz/fuzz-netdev-parser/27-xfrm.netdev
@@ -0,0 +1,7 @@
+[NetDev]
+Name=xfrm99
+Kind=xfrm
+
+[Xfrm]
+InterfaceId=7
+Independent=false
diff --git a/test/fuzz/fuzz-netdev-parser/directives.netdev b/test/fuzz/fuzz-netdev-parser/directives.netdev
index be1b197024..07e54d9e44 100644
--- a/test/fuzz/fuzz-netdev-parser/directives.netdev
+++ b/test/fuzz/fuzz-netdev-parser/directives.netdev
@@ -207,3 +207,6 @@ KeyId=
Key=
KeyFile=
Activate=
+[Xfrm]
+Independent=
+InterfaceId=
diff --git a/test/fuzz/fuzz-network-parser/27-xfrm.network b/test/fuzz/fuzz-network-parser/27-xfrm.network
new file mode 100644
index 0000000000..fa26c84e53
--- /dev/null
+++ b/test/fuzz/fuzz-network-parser/27-xfrm.network
@@ -0,0 +1,5 @@
+[Match]
+Name=eth0
+
+[Network]
+Xfrm=xfrm99
diff --git a/test/fuzz/fuzz-network-parser/directives.network b/test/fuzz/fuzz-network-parser/directives.network
index 26dd83d8da..ddafaa7840 100644
--- a/test/fuzz/fuzz-network-parser/directives.network
+++ b/test/fuzz/fuzz-network-parser/directives.network
@@ -121,6 +121,7 @@ DNSSEC=
IPv6HopLimit=
IPForward=
IPv6Token=
+Xfrm=
Description=
VXLAN=
L2TP=