Open-AVB AVTP Pipeline SDK  1.4
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros | Typedefs | Enumerations
openavb_types_base_pub.h File Reference

Common Base AVB Types that are exposed outside of the AVB stack. More...

#include "openavb_types_base_tcal_pub.h"
#include <stdbool.h>
#include <inttypes.h>

Go to the source code of this file.

Macros

#define NANOSECONDS_PER_SECOND   (1000000000ULL)
 Number of nanoseconds in second.
 
#define NANOSECONDS_PER_MSEC   (1000000L)
 Number of nanoseconds in milisecond.
 
#define NANOSECONDS_PER_USEC   (1000L)
 Number of nanoseconds in microsecond.
 
#define MICROSECONDS_PER_SECOND   (1000000L)
 Number of microseconds in second.
 
#define MICROSECONDS_PER_MSEC   (1000L)
 Number of microseconds in milisecond.
 
#define TRUE   true
 True boolean value.
 
#define FALSE   false
 False boolean value.
 
#define NULL   0
 Null pointer value.
 
#define SR_RANK_REGULAR   1
 Regular.
 
#define SR_RANK_EMERGENCY   0
 Emergency.
 

Typedefs

typedef int8_t S8
 Signed 8 bit type.
 
typedef uint8_t U8
 Unsigned 8 bit type.
 
typedef int16_t S16
 Signed 16 bit type.
 
typedef uint16_t U16
 Unsigned 16 bit type.
 
typedef int32_t S32
 Signed 32 bit type.
 
typedef uint32_t U32
 Unsigned 32 bit type.
 
typedef int64_t S64
 Signed 64 bit type.
 
typedef uint64_t U64
 Unsigned 64 bit type.
 

Enumerations

enum  avb_role_t { AVB_ROLE_UNDEFINED = 0, AVB_ROLE_TALKER, AVB_ROLE_LISTENER }
 Describes role of the host. More...
 
enum  SRClassIdx_t { SR_CLASS_A, SR_CLASS_B, MAX_AVB_SR_CLASSES }
 Supported AVB classes. More...
 

Detailed Description

Common Base AVB Types that are exposed outside of the AVB stack.

Enumeration Type Documentation

enum avb_role_t

Describes role of the host.

Enumerator
AVB_ROLE_UNDEFINED 

Role undefined or wrong handle.

AVB_ROLE_TALKER 

Host acts as a talker.

AVB_ROLE_LISTENER 

Host acts as a listener.

Supported AVB classes.

Enumerator
SR_CLASS_A 

Stream reservation class A. 8000 packets per second.

SR_CLASS_B 

Stream reservation class B. 4000 packets per second.

MAX_AVB_SR_CLASSES 

Number of supported stream reservation classes.