FD.io VPP  v18.10-34-gcce845e
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.

Data Structures

struct  generic_session_
 
struct  local_session_
 

Macros

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

Typedefs

typedef u8 session_type_t
 
typedef struct generic_session_ generic_session_t
 
typedef struct _stream_session_t stream_session_t
 
typedef struct local_session_ local_session_t
 
typedef struct _session_endpoint session_endpoint_t
 
typedef struct _session_endpoint_extended session_endpoint_extended_t
 

Enumerations

enum  stream_session_state_t {
  SESSION_STATE_LISTENING, SESSION_STATE_CONNECTING, SESSION_STATE_ACCEPTING, SESSION_STATE_READY,
  SESSION_STATE_OPENED, SESSION_STATE_TRANSPORT_CLOSING, SESSION_STATE_CLOSING, SESSION_STATE_CLOSED,
  SESSION_STATE_N_STATES
}
 

Functions

static u8 session_endpoint_fib_proto (session_endpoint_t *sep)
 

Macro Definition Documentation

#define foreach_session_endpoint_fields
Value:
foreach_transport_connection_fields \
_(u8, transport_proto) \
unsigned char u8
Definition: types.h:56

Definition at line 155 of file stream_session.h.

#define SESSION_ENDPOINT_EXT_NULL
Value:
{ \
.sw_if_index = ENDPOINT_INVALID_INDEX, \
.fib_index = ENDPOINT_INVALID_INDEX, \
.is_ip4 = 0, \
.port = 0, \
.transport_proto = 0, \
.app_wrk_index = ENDPOINT_INVALID_INDEX, \
.hostname = 0, \
}
#define SESSION_IP46_ZERO
#define ENDPOINT_INVALID_INDEX
Definition: transport.h:116

Definition at line 191 of file stream_session.h.

#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:116

Definition at line 182 of file stream_session.h.

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

Definition at line 204 of file stream_session.h.

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

Definition at line 176 of file stream_session.h.

Typedef Documentation

typedef struct _session_endpoint_extended session_endpoint_extended_t
typedef struct _session_endpoint session_endpoint_t
typedef u8 session_type_t

Definition at line 22 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_OPENED 
SESSION_STATE_TRANSPORT_CLOSING 
SESSION_STATE_CLOSING 
SESSION_STATE_CLOSED 
SESSION_STATE_N_STATES 

Definition at line 27 of file stream_session.h.

Function Documentation

static u8 session_endpoint_fib_proto ( session_endpoint_t sep)
inlinestatic

Definition at line 207 of file stream_session.h.

+ Here is the caller graph for this function: