diff options
| author | Fernando Fernandez Mancera <fmancera@suse.de> | 2025-08-21 11:12:59 +0200 |
|---|---|---|
| committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2025-08-27 23:51:07 +0200 |
| commit | d933d551f8db99f2e5f8b6ddcb3a8d9a7a68eeb0 (patch) | |
| tree | ec56394e4ba98f39e02ebfb74c20f92c603614bf /include/rule.h | |
| parent | a937a5dc02db3c919431718c0030c54c2eaafd73 (diff) | |
tunnel: add vxlan support
This patch extends the tunnel metadata object to define vxlan tunnel
specific configurations:
table netdev x {
tunnel y {
id 10
ip saddr 192.168.2.10
ip daddr 192.168.2.11
sport 10
dport 20
ttl 10
vxlan {
gbp 200
}
}
}
Signed-off-by: Fernando Fernandez Mancera <fmancera@suse.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/rule.h')
| -rw-r--r-- | include/rule.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/rule.h b/include/rule.h index 71e9a07e..c52af2c4 100644 --- a/include/rule.h +++ b/include/rule.h @@ -495,6 +495,7 @@ struct secmark { enum tunnel_type { TUNNEL_UNSPEC = 0, TUNNEL_ERSPAN, + TUNNEL_VXLAN, }; struct tunnel { @@ -517,6 +518,9 @@ struct tunnel { uint8_t hwid; } v2; } erspan; + struct { + uint32_t gbp; + } vxlan; }; }; |
