FD.io VPP  v18.01.2-1-g9b554f3
Vector Packet Processing
stream_session.h File Reference
+ Include dependency graph for stream_session.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SESSION_IP46_ZERO
 
#define SESSION_ENDPOINT_NULL
 
#define session_endpoint_to_transport(_sep)   ((transport_endpoint_t *)_sep)
 

Typedefs

typedef u8 session_type_t
 
typedef struct _stream_session_t stream_session_t
 
typedef struct _session_endpoint session_endpoint_t
 

Enumerations

enum  stream_session_state_t {
  SESSION_STATE_LISTENING, SESSION_STATE_CONNECTING, SESSION_STATE_ACCEPTING, SESSION_STATE_READY,
  SESSION_STATE_CONNECTING_READY, SESSION_STATE_CLOSED, SESSION_STATE_N_STATES
}
 

Functions

static u8 session_endpoint_fib_proto (session_endpoint_t *sep)
 

Macro Definition Documentation

#define SESSION_ENDPOINT_NULL
Value:
{ \
.sw_if_index = ENDPOINT_INVALID_INDEX, \
.fib_index = ENDPOINT_INVALID_INDEX, \
.is_ip4 = 0, \
.port = 0, \
.transport_proto = 0, \
}
#define SESSION_IP46_ZERO
#define ENDPOINT_INVALID_INDEX
Definition: transport.h:97

Definition at line 94 of file stream_session.h.

#define session_endpoint_to_transport (   _sep)    ((transport_endpoint_t *)_sep)

Definition at line 104 of file stream_session.h.

#define SESSION_IP46_ZERO
Value:
{ \
.ip6 = { \
{ 0, 0, }, \
}, \
}

Definition at line 88 of file stream_session.h.

Typedef Documentation

typedef struct _session_endpoint session_endpoint_t
typedef u8 session_type_t

Definition at line 23 of file stream_session.h.

typedef struct _stream_session_t stream_session_t

Enumeration Type Documentation

Enumerator
SESSION_STATE_LISTENING 
SESSION_STATE_CONNECTING 
SESSION_STATE_ACCEPTING 
SESSION_STATE_READY 
SESSION_STATE_CONNECTING_READY 
SESSION_STATE_CLOSED 
SESSION_STATE_N_STATES 

Definition at line 28 of file stream_session.h.

Function Documentation

static u8 session_endpoint_fib_proto ( session_endpoint_t sep)
inlinestatic

Definition at line 107 of file stream_session.h.

+ Here is the caller graph for this function: