summaryrefslogtreecommitdiffstats
path: root/src/vnet/session/application_namespace.h
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-09-24 11:58:28 -0700
committerDave Barach <openvpp@barachs.net>2020-09-25 14:46:38 +0000
commit6b6c10be0512a459146de82ba5fa2acc86f3f8d4 (patch)
treefaf7b53e18af589741e52f0593c500b86d3fad49 /src/vnet/session/application_namespace.h
parent9d211500a4c71dfad074073c51f09e175ce49059 (diff)
vppinfra session: file platform independent private data
Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: Id43b0b6db2b42ee5801236df0bd7f7225e1e081c
Diffstat (limited to 'src/vnet/session/application_namespace.h')
-rw-r--r--src/vnet/session/application_namespace.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vnet/session/application_namespace.h b/src/vnet/session/application_namespace.h
index 14bea610fc3..ddc6d08c2fc 100644
--- a/src/vnet/session/application_namespace.h
+++ b/src/vnet/session/application_namespace.h
@@ -102,15 +102,15 @@ typedef struct app_ns_api_handle_
/** socket index for files and clib file index for sockets */
u32 u_index;
};
- uword as_uword;
+ u64 as_u64;
};
#define aah_app_ns_index l_index
#define aah_app_wrk_index l_index
#define aah_sock_index u_index
#define aah_file_index u_index
-} __attribute__ ((aligned (sizeof (uword)))) app_ns_api_handle_t;
+} __attribute__ ((aligned (sizeof (u64)))) app_ns_api_handle_t;
-STATIC_ASSERT (sizeof (app_ns_api_handle_t) == sizeof (uword), "not uword");
+STATIC_ASSERT (sizeof (app_ns_api_handle_t) == sizeof (u64), "not u64");
static inline clib_socket_t *
appns_sapi_alloc_socket (app_namespace_t * app_ns)