NVIDIA DRIVE OS Linux SDK API Reference

6.0.5 Release
nvethernet_type.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2020-2022, NVIDIA CORPORATION. All rights reserved.
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a
5  * copy of this software and associated documentation files (the "Software"),
6  * to deal in the Software without restriction, including without limitation
7  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8  * and/or sell copies of the Software, and to permit persons to whom the
9  * Software is furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in
12  * all copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20  * DEALINGS IN THE SOFTWARE.
21  */
22 
23 #ifndef INCLUDED_TYPE_H
24 #define INCLUDED_TYPE_H
25 /*
26  * @addtogroup typedef related info
27  *
28  * @brief typedefs that indicate size and signness
29  * @{
30  */
31 /* Following added to avoid misraC 4.6
32  * Here we are defining intermediate type
33  */
35 typedef unsigned int my_uint32_t;
37 typedef int my_int32_t;
39 typedef unsigned short my_uint16_t;
41 typedef char my_int8_t;
43 typedef unsigned char my_uint8_t;
45 typedef unsigned long long my_ulint_64;
47 typedef unsigned long my_uint64_t;
48 
49 /* Actual type used in code */
57 typedef my_int8_t nve8_t;
66 #ifndef OSI_STRIPPED_LIB
67 
68 typedef short my_int16_t;
71 #endif /* !OSI_STRIPPED_LIB */
72 
73 #endif /* INCLUDED_TYPE_H */
74 
nveul64_t
my_ulint_64 nveul64_t
typedef equivalent to unsigned long long
Definition: nvethernet_type.h:61
my_int16_t
short my_int16_t
intermediate type for short
Definition: nvethernet_type.h:68
nveu64_t
my_uint64_t nveu64_t
typedef equivalent to long long
Definition: nvethernet_type.h:63
my_ulint_64
unsigned long long my_ulint_64
intermediate type for unsigned long long
Definition: nvethernet_type.h:45
nve16_t
my_int16_t nve16_t
typedef equivalent to short
Definition: nvethernet_type.h:70
my_uint64_t
unsigned long my_uint64_t
intermediate type for long
Definition: nvethernet_type.h:47
my_uint32_t
unsigned int my_uint32_t
intermediate type for unsigned int
Definition: nvethernet_type.h:35
my_int8_t
char my_int8_t
intermediate type for char
Definition: nvethernet_type.h:41
nveu8_t
my_uint8_t nveu8_t
typedef equivalent to unsigned char
Definition: nvethernet_type.h:59
nveu32_t
my_uint32_t nveu32_t
typedef equivalent to unsigned int
Definition: nvethernet_type.h:51
nveu16_t
my_uint16_t nveu16_t
typedef equivalent to unsigned short
Definition: nvethernet_type.h:55
nve32_t
my_int32_t nve32_t
typedef equivalent to int
Definition: nvethernet_type.h:53
nve8_t
my_int8_t nve8_t
typedef equivalent to char
Definition: nvethernet_type.h:57
my_uint16_t
unsigned short my_uint16_t
intermediate type for unsigned short
Definition: nvethernet_type.h:39
my_int32_t
int my_int32_t
intermediate type for int
Definition: nvethernet_type.h:37
my_uint8_t
unsigned char my_uint8_t
intermediate type for unsigned char
Definition: nvethernet_type.h:43