Adding support to de-capsulate tunnels. Checkpoint.

Re-organizing code. Adding UDP tunnel handlers.
Using policy level redef'able consts to tune behavior. UDP port settings
not working yet.
This commit is contained in:
Gregor Maier 2011-08-04 15:25:13 -07:00
parent 9c388a1809
commit 8910cd2dca
6 changed files with 216 additions and 40 deletions

View file

@ -166,11 +166,18 @@ enum ID %{
Unknown,
%}
module GLOBAL;
module Tunnel;
enum tunneltype_t %{
NONE,
IP6inIP,
IP6inIP,
IP4inIP,
IP6inUDP,
IP4inUDP,
IP6inAYIAY,
IP4inAYIAY,
%}
type tunnel_parent_t: record;
type parent_t: record;
module GLOBAL;