OSDN Git Service

msm: ipa: Move NAT invalid protocol define to uapi
authorAmir Levy <alevy@codeaurora.org>
Tue, 12 Mar 2019 07:07:48 +0000 (09:07 +0200)
committerGerrit - the friendly Code Review server <code-review@localhost>
Tue, 30 Apr 2019 10:54:59 +0000 (03:54 -0700)
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>
include/uapi/linux/msm_ipa.h

index be3c68a..296784d 100644 (file)
 #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
  */
 #define IPA_IOCTL_ADD_HDR                       0