1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright (C) 2020 Marvell International Ltd.
4 #ifndef _IPSEC_SECGW_H_
5 #define _IPSEC_SECGW_H_
11 /* Port mask to identify the unprotected ports */
12 extern uint32_t unprotected_port_mask;
14 /* Index of SA in single mode */
15 extern uint32_t single_sa_idx;
17 extern volatile bool force_quit;
20 is_unprotected_port(uint16_t port_id)
22 return unprotected_port_mask & (1 << port_id);
25 #endif /* _IPSEC_SECGW_H_ */