X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Fmap%2Fmap.h;h=5b8aef4e8725b457738326844195f784029eebdd;hb=f34597fc86c64d054073bf614761beea020c2244;hp=21baf73678aedf91d122e944e1010fbd1df184cd;hpb=c6cb18b29d50d522d54b04587b13becc8363ec5c;p=vpp.git diff --git a/src/plugins/map/map.h b/src/plugins/map/map.h index 21baf73678a..5b8aef4e872 100644 --- a/src/plugins/map/map.h +++ b/src/plugins/map/map.h @@ -40,6 +40,8 @@ int map_create_domain (ip4_address_t * ip4_prefix, u8 ip4_prefix_len, int map_delete_domain (u32 map_domain_index); int map_add_del_psid (u32 map_domain_index, u16 psid, ip6_address_t * tep, u8 is_add); +int map_if_enable_disable (bool is_enable, u32 sw_if_index, + bool is_translation); u8 *format_map_trace (u8 * s, va_list * args); int map_param_set_fragmentation (bool inner, bool ignore_df); @@ -51,6 +53,7 @@ int map_param_set_reassembly (bool is_ipv6, u16 lifetime_ms, u32 * reass, u32 * packets); int map_param_set_security_check (bool enable, bool fragments); int map_param_set_traffic_class (bool copy, u8 tc); +int map_param_set_tcp (u16 tcp_mss); typedef enum @@ -265,6 +268,8 @@ typedef struct { bool sec_check_frag; /* Inbound security check for (subsequent) fragments */ bool icmp6_enabled; /* Send destination unreachable for security check failure */ + u16 tcp_mss; /* TCP MSS clamp value */ + /* ICMPv6 -> ICMPv4 relay parameters */ ip4_address_t icmp4_src_address; vlib_simple_counter_main_t icmp_relayed;