network: tunnel: support external mode

Closes #22352.
This commit is contained in:
Yu Watanabe
2022-02-03 11:12:01 +09:00
parent acd8abb7f9
commit 1ae308abb5
5 changed files with 82 additions and 22 deletions
+1
View File
@@ -55,6 +55,7 @@ typedef struct Tunnel {
bool independent;
bool fou_tunnel;
bool assign_to_loopback;
bool external; /* a.k.a collect metadata mode */
uint16_t encap_src_port;
uint16_t fou_destination_port;