NVIDIA DriveOS Linux NSR SDK API Reference

7.0.3.0 Release
Transport API

Detailed Description

NVIDIA DRIVE® Update DU-Transport library interface.

Data Structures

struct  DUTR_IVC_PARAM
 Defines DU-Transport IVC parameters. More...
 
struct  DUTR_NVSCI_PARAM
 Defines DU-Transport NVSCI parameters. More...
 
struct  DUTR_TCP_IF_PARAM
 Defines the structure of TCP level address. More...
 
struct  DUTR_TCP_PARAM
 Defines the parameter for TCP transport protocol. More...
 

Macros

#define DUTR_NAME_MAX   (256U)
 Defines the max DU-Transport name string size. More...
 
#define DUTR_IPV4_ADDR_STR_SIZE   (16U)
 Defines the IPV4 IP address string size. More...
 
#define DUTR_IFNAME_MAX   IFNAMSIZ
 Defines the interface name string size. More...
 

Typedefs

typedef enum DUTR_TR_TYPE DUTR_TR_TYPE
 Defines DU-Transport back-end transport protocols. More...
 
typedef enum DUTR_SEC_TYPE DUTR_SEC_TYPE
 Defines DU-Transport security protocols. More...
 
typedef uint32_t DUTR_SEC_NONE_PARAM
 Defines DU-Transport security parameters. More...
 
typedef uint32_t DUTR_SEC_TLS_PARAM
 
typedef voidPDUTR_SEC_PARAM
 
typedef struct DUTR_IVC_PARAM DUTR_IVC_PARAM
 Defines DU-Transport IVC parameters. More...
 
typedef struct DUTR_IVC_PARAMPDUTR_IVC_PARAM
 
typedef struct DUTR_NVSCI_PARAM DUTR_NVSCI_PARAM
 Defines DU-Transport NVSCI parameters. More...
 
typedef struct DUTR_NVSCI_PARAMPDUTR_NVSCI_PARAM
 
typedef enum DUTR_TCP_ROLE DUTR_TCP_ROLE
 Defines the role of TCP connection. More...
 
typedef struct DUTR_TCP_IF_PARAM DUTR_TCP_IF_PARAM
 Defines the structure of TCP level address. More...
 
typedef struct DUTR_TCP_IF_PARAMPDUTR_TCP_IF_PARAM
 
typedef struct DUTR_TCP_PARAM DUTR_TCP_PARAM
 Defines the parameter for TCP transport protocol. More...
 
typedef struct DUTR_TCP_PARAMPDUTR_TCP_PARAM
 
typedef voidPDUTR_TR_PARAM
 Holds the pointer to parameter of DU-Transport back-end protocols. More...
 

Enumerations

enum  DUTR_TR_TYPE {
  DUTR_TR_TYPE_IVC = 0,
  DUTR_TR_TYPE_NVSCI,
  DUTR_TR_TYPE_TCP
}
 Defines DU-Transport back-end transport protocols. More...
 
enum  DUTR_SEC_TYPE {
  DUTR_SEC_TYPE_NONE = 0,
  DUTR_SEC_TYPE_TLS
}
 Defines DU-Transport security protocols. More...
 
enum  DUTR_TCP_ROLE {
  DUTR_TCP_SERVER = 0,
  DUTR_TCP_CLIENT,
  DUTR_TCP_INVALID
}
 Defines the role of TCP connection. More...
 

Macro Definition Documentation

◆ DUTR_IFNAME_MAX

#define DUTR_IFNAME_MAX   IFNAMSIZ

Defines the interface name string size.

Definition at line 126 of file dutransport.h.

◆ DUTR_IPV4_ADDR_STR_SIZE

#define DUTR_IPV4_ADDR_STR_SIZE   (16U)

Defines the IPV4 IP address string size.

Definition at line 111 of file dutransport.h.

◆ DUTR_NAME_MAX

#define DUTR_NAME_MAX   (256U)

Defines the max DU-Transport name string size.

Definition at line 41 of file dutransport.h.

Typedef Documentation

◆ DUTR_IVC_PARAM

Defines DU-Transport IVC parameters.

◆ DUTR_NVSCI_PARAM

Defines DU-Transport NVSCI parameters.

◆ DUTR_SEC_NONE_PARAM

typedef uint32_t DUTR_SEC_NONE_PARAM

Defines DU-Transport security parameters.

Definition at line 72 of file dutransport.h.

◆ DUTR_SEC_TLS_PARAM

typedef uint32_t DUTR_SEC_TLS_PARAM

Definition at line 73 of file dutransport.h.

◆ DUTR_SEC_TYPE

Defines DU-Transport security protocols.

◆ DUTR_TCP_IF_PARAM

Defines the structure of TCP level address.

◆ DUTR_TCP_PARAM

Defines the parameter for TCP transport protocol.

◆ DUTR_TCP_ROLE

Defines the role of TCP connection.

◆ DUTR_TR_TYPE

typedef enum DUTR_TR_TYPE DUTR_TR_TYPE

Defines DU-Transport back-end transport protocols.

◆ PDUTR_IVC_PARAM

typedef struct DUTR_IVC_PARAM * PDUTR_IVC_PARAM

◆ PDUTR_NVSCI_PARAM

◆ PDUTR_SEC_PARAM

Definition at line 75 of file dutransport.h.

◆ PDUTR_TCP_IF_PARAM

◆ PDUTR_TCP_PARAM

typedef struct DUTR_TCP_PARAM * PDUTR_TCP_PARAM

◆ PDUTR_TR_PARAM

typedef void* PDUTR_TR_PARAM

Holds the pointer to parameter of DU-Transport back-end protocols.

Definition at line 145 of file dutransport.h.

Enumeration Type Documentation

◆ DUTR_SEC_TYPE

Defines DU-Transport security protocols.

Enumerator
DUTR_SEC_TYPE_NONE 

Security type not yet defined.

DUTR_SEC_TYPE_TLS 

TLS security type.

Definition at line 61 of file dutransport.h.

◆ DUTR_TCP_ROLE

Defines the role of TCP connection.

Enumerator
DUTR_TCP_SERVER 

The server waiting for client connection.

DUTR_TCP_CLIENT 

The client to connect to remote server.

DUTR_TCP_INVALID 

Invalid type.

Definition at line 98 of file dutransport.h.

◆ DUTR_TR_TYPE

Defines DU-Transport back-end transport protocols.

Enumerator
DUTR_TR_TYPE_IVC 

IVC based inter-VM communication.

Deprecated soon

DUTR_TR_TYPE_NVSCI 

NVSCIIPC lib.

DUTR_TR_TYPE_TCP 

TCP based data transport, available on standard build only.

Definition at line 48 of file dutransport.h.