diff options
author | Jon Loeliger <jdl@netgate.com> | 2018-12-17 13:43:52 -0600 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2018-12-19 14:27:00 +0000 |
commit | f34597fc86c64d054073bf614761beea020c2244 (patch) | |
tree | 1dc65fc3c3d5e0e235eb0fb3b98524ebf6db6f0f /src/plugins/map/map.api | |
parent | c6cb18b29d50d522d54b04587b13becc8363ec5c (diff) |
MAP: Add API support for MAP input feature.
Change-Id: I336919a1d3a9d1b404e375a30575cce5e5335137
Signed-off-by: Jon Loeliger <jdl@netgate.com>
Diffstat (limited to 'src/plugins/map/map.api')
-rw-r--r-- | src/plugins/map/map.api | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/plugins/map/map.api b/src/plugins/map/map.api index 78e7bec2c0b..752d1b55d9c 100644 --- a/src/plugins/map/map.api +++ b/src/plugins/map/map.api @@ -125,6 +125,22 @@ define map_rule_details u16 psid; }; +/** \brief Enable or disable a MAP interface + @param client_index - opaque cookie to identify the sender + @param context - sender context, to match reply w/ request + @param sw_if_index - + @param is_enable - 0=disable, 1=enable interface + @param is_translation - 0=encapsulation, 1=translation +*/ +autoreply define map_if_enable_disable +{ + u32 client_index; + u32 context; + u32 sw_if_index; + bool is_enable; + bool is_translation; /* 0 - encapsulation, 1 - translation */ +}; + /** \brief Request for a single block of summary stats @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request @@ -264,6 +280,19 @@ autoreply define map_param_set_traffic_class }; +/** \brief Set MAP TCP parammeters + @param client_index - opaque cookie to identify the sender + @param context - sender context, to match reply w/ request + @parma tcp_mss - TCP MSS clamping value +*/ +autoreply define map_param_set_tcp +{ + u32 client_index; + u32 context; + u16 tcp_mss; +}; + + /** \brief Request for a single block of MAP parameters @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request |