summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/vector_avx2.h
AgeCommit message (Expand)AuthorFilesLines
2018-11-20vppinfra: add 128 and 256 bit vector scatter/gather inlinesDamjan Marion1-0/+59
2018-10-17bond: tx optimizationsDamjan Marion1-0/+12
2018-07-16vppinfra: AVX2 interleave functionsDamjan Marion1-3/+14
2018-07-12Revert "vppinfra: AVX2 blend"Dave Barach1-6/+0
2018-07-12vppinfra: AVX2 blendDamjan Marion1-0/+6
2018-06-28ip: vectorized ip checksumDamjan Marion1-0/+28
2018-06-27vppinfra: add vector horizontal add and byte swap (SSE4.2 & AVX2)Damjan Marion1-0/+16
2018-05-25Vectorized bihash_{48,40,24,16}_8 key compareDamjan Marion1-20/+25
2018-05-22vppinfra: add clib_count_equal_uXX and clib_memset_uXX functionsDamjan Marion1-2/+2
2018-05-20vector functions cleanup and improvementsDamjan Marion1-4/+11
2018-05-18Add vlib_buffer_enqueue_to_next inline functionDamjan Marion1-0/+6
2018-05-17Add buffer pointer-to-index and index-to-pointer array functionsDamjan Marion1-0/+22
2018-05-09dpdk: tx code reworkDamjan Marion1-0/+12
2018-04-25dpdk: complete rework of the dpdk-input nodeDamjan Marion1-0/+80
0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
/*
 * Copyright (c) 2018 Cisco and/or its affiliates.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at:
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
/**
 * @file
 * @brief NAT syslog logging
 */

#ifndef __included_nat_syslog_h__
#define __included_nat_syslog_h__

#include <nat/nat.h>

void nat_syslog_nat44_apmadd (u32 ssubix, u32 sfibix, ip4_address_t * isaddr,
			      u16 isport, ip4_address_t * xsaddr, u16 xsport,
			      snat_protocol_t proto);

void nat_syslog_nat44_apmdel (u32 ssubix, u32 sfibix, ip4_address_t * isaddr,
			      u16 isport, ip4_address_t * xsaddr, u16 xsport,
			      snat_protocol_t proto);

void
nat_syslog_dslite_apmadd (u32 ssubix, ip6_address_t * sv6enc,
			  ip4_address_t * isaddr, u16 isport,
			  ip4_address_t * xsaddr, u16 xsport,
			  snat_protocol_t proto);

void
nat_syslog_dslite_apmdel (u32 ssubix, ip6_address_t * sv6enc,
			  ip4_address_t * isaddr, u16 isport,
			  ip4_address_t * xsaddr, u16 xsport,
			  snat_protocol_t proto);

void nat_syslog_nat44_sadd (u32 ssubix, u32 sfibix, ip4_address_t * isaddr,
			    u16 isport, ip4_address_t * idaddr, u16 idport,
			    ip4_address_t * xsaddr, u16 xsport,
			    ip4_address_t * xdaddr, u16 xdport,
			    snat_protocol_t proto, u8 is_twicenat);

void nat_syslog_nat44_sdel (u32 ssubix, u32 sfibix, ip4_address_t * isaddr,
			    u16 isport, ip4_address_t * idaddr, u16 idport,
			    ip4_address_t * xsaddr, u16 xsport,
			    ip4_address_t * xdaddr, u16 xdport,
			    snat_protocol_t proto, u8 is_twicenat);

void nat_syslog_nat64_sadd (u32 sfibix, ip6_address_t * isaddr, u16 isport,
			    ip4_address_t * xsaddr, u16 xsport,
			    ip4_address_t * xdaddr, u16 xdport,
			    snat_protocol_t proto);

void nat_syslog_nat64_sdel (u32 sfibix, ip6_address_t * isaddr, u16 isport,
			    ip4_address_t * xsaddr, u16 xsport,
			    ip4_address_t * xdaddr, u16 xdport,
			    snat_protocol_t proto);

#endif /* __included_nat_syslog_h__ */

/*
 * fd.io coding-style-patch-verification: ON
 *
 * Local Variables:
 * eval: (c-set-style "gnu")
 * End:
 */