diff options
Diffstat (limited to 'src/plugins/cnat/cnat_maglev.h')
-rw-r--r-- | src/plugins/cnat/cnat_maglev.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/plugins/cnat/cnat_maglev.h b/src/plugins/cnat/cnat_maglev.h new file mode 100644 index 00000000000..a71dd3ce796 --- /dev/null +++ b/src/plugins/cnat/cnat_maglev.h @@ -0,0 +1,21 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright(c) 2022 Cisco Systems, Inc. + */ + +#ifndef __CNAT_MAGLEV_H__ +#define __CNAT_MAGLEV_H__ + +#include <cnat/cnat_types.h> +#include <cnat/cnat_translation.h> + +typedef struct +{ + /* offset & skip used for sorting, should be first */ + u32 offset; + u32 skip; + u32 index; +} cnat_maglev_perm_t; + +extern void cnat_translation_init_maglev (cnat_translation_t *ct); + +#endif
\ No newline at end of file |