X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Fnat%2Fout2in.c;h=b743c08c3a7fb7e9962f199bd816157d3bf9138d;hb=25cfb775e38b1d245e9c2cee75a77086f8f80913;hp=347d41a2d46b307893003d81645ff696022f1e1f;hpb=f4647ed885c47a72d94dd63e0903b6c1ae649813;p=vpp.git diff --git a/src/plugins/nat/out2in.c b/src/plugins/nat/out2in.c index 347d41a2d46..b743c08c3a7 100755 --- a/src/plugins/nat/out2in.c +++ b/src/plugins/nat/out2in.c @@ -250,6 +250,7 @@ create_session_for_static_mapping (snat_main_t * sm, return s; } +#ifndef CLIB_MARCH_VARIANT static_always_inline snat_out2in_error_t icmp_get_key (ip4_header_t * ip0, snat_session_key_t * p_key0) @@ -295,7 +296,6 @@ static_always_inline return -1; /* success */ } -#ifndef CLIB_MARCH_VARIANT /** * Get address and port values to be used for ICMP packet translation * and create session if needed