msm: ipa: Move NAT invalid protocol define to uapi

NAT invalid protocol is needed by user space process.
Move it to uapi to make it accessible to user space.

Change-Id: I4d1700176483c93f78f48979d602f7568867b378
Acked-by: Michal Amsterdam <mamsterd@qti.qualcomm.com>
Signed-off-by: Amir Levy <alevy@codeaurora.org>
This commit is contained in:
Amir Levy
2019-03-12 09:07:48 +02:00
committed by Michael Bestas
parent b722ce34b8
commit b5fda77092
2 changed files with 6 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
/* Copyright (c) 2017-2018 The Linux Foundation. All rights reserved.
/* Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -17,7 +17,6 @@
#define IPA_64_LOW_32_MASK (0xFFFFFFFF)
#define IPA_64_HIGH_32_MASK (0xFFFFFFFF00000000ULL)
#define IPAHAL_NAT_INVALID_PROTOCOL (0xFF)
static const char *ipahal_nat_type_to_str[IPA_NAT_MAX] = {
__stringify(IPAHAL_NAT_IPV4),

View File

@@ -35,6 +35,11 @@
*/
#define IPA_DFLT_RT_TBL_NAME "ipa_dflt_rt"
/**
* name for default value of invalid protocol of NAT
*/
#define IPAHAL_NAT_INVALID_PROTOCOL 0xFF
/**
* commands supported by IPA driver
*/