FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
session_cb_vft_ Struct Reference

Data Fields

int(* add_segment_callback )(u32 app_wrk_index, u64 segment_handle)
 Notify server of new segment. More...
 
int(* del_segment_callback )(u32 app_wrk_index, u64 segment_handle)
 Notify server of new segment. More...
 
int(* session_accept_callback )(session_t *new_session)
 Notify server of newly accepted session. More...
 
int(* session_connected_callback )(u32 app_wrk_index, u32 opaque, session_t *s, session_error_t code)
 Connection request callback. More...
 
void(* session_disconnect_callback )(session_t *s)
 Notify app that session is closing. More...
 
void(* session_transport_closed_callback )(session_t *s)
 Notify app that transport is closed. More...
 
void(* session_cleanup_callback )(session_t *s, session_cleanup_ntf_t ntf)
 Notify app that session or transport are about to be removed. More...
 
void(* half_open_cleanup_callback )(session_t *s)
 Notify app that half open state was cleaned up (optional) More...
 
void(* session_reset_callback )(session_t *s)
 Notify app that session was reset. More...
 
void(* session_migrate_callback )(session_t *s, session_handle_t new_sh)
 Notify app that session pool migration happened. More...
 
int(* builtin_app_rx_callback )(session_t *session)
 Direct RX callback for built-in application. More...
 
int(* builtin_app_tx_callback )(session_t *session)
 Direct TX callback for built-in application. More...
 
int(* app_cert_key_pair_delete_callback )(app_cert_key_pair_t *ckpair)
 Cert and key pair delete notification. More...
 
int(* fifo_tuning_callback )(session_t *s, svm_fifo_t *f, session_ft_action_t act, u32 bytes)
 Delegate fifo-tuning-logic to application. More...
 

Detailed Description

Definition at line 32 of file application_interface.h.

Field Documentation

◆ add_segment_callback

int(* session_cb_vft_::add_segment_callback) (u32 app_wrk_index, u64 segment_handle)

Notify server of new segment.

Definition at line 35 of file application_interface.h.

◆ app_cert_key_pair_delete_callback

int(* session_cb_vft_::app_cert_key_pair_delete_callback) (app_cert_key_pair_t *ckpair)

Cert and key pair delete notification.

Definition at line 72 of file application_interface.h.

◆ builtin_app_rx_callback

int(* session_cb_vft_::builtin_app_rx_callback) (session_t *session)

Direct RX callback for built-in application.

Definition at line 66 of file application_interface.h.

◆ builtin_app_tx_callback

int(* session_cb_vft_::builtin_app_tx_callback) (session_t *session)

Direct TX callback for built-in application.

Definition at line 69 of file application_interface.h.

◆ del_segment_callback

int(* session_cb_vft_::del_segment_callback) (u32 app_wrk_index, u64 segment_handle)

Notify server of new segment.

Definition at line 38 of file application_interface.h.

◆ fifo_tuning_callback

int(* session_cb_vft_::fifo_tuning_callback) (session_t *s, svm_fifo_t *f, session_ft_action_t act, u32 bytes)

Delegate fifo-tuning-logic to application.

Definition at line 75 of file application_interface.h.

◆ half_open_cleanup_callback

void(* session_cb_vft_::half_open_cleanup_callback) (session_t *s)

Notify app that half open state was cleaned up (optional)

Definition at line 57 of file application_interface.h.

◆ session_accept_callback

int(* session_cb_vft_::session_accept_callback) (session_t *new_session)

Notify server of newly accepted session.

Definition at line 41 of file application_interface.h.

◆ session_cleanup_callback

void(* session_cb_vft_::session_cleanup_callback) (session_t *s, session_cleanup_ntf_t ntf)

Notify app that session or transport are about to be removed.

Definition at line 54 of file application_interface.h.

◆ session_connected_callback

int(* session_cb_vft_::session_connected_callback) (u32 app_wrk_index, u32 opaque, session_t *s, session_error_t code)

Connection request callback.

Definition at line 44 of file application_interface.h.

◆ session_disconnect_callback

void(* session_cb_vft_::session_disconnect_callback) (session_t *s)

Notify app that session is closing.

Definition at line 48 of file application_interface.h.

◆ session_migrate_callback

void(* session_cb_vft_::session_migrate_callback) (session_t *s, session_handle_t new_sh)

Notify app that session pool migration happened.

Definition at line 63 of file application_interface.h.

◆ session_reset_callback

void(* session_cb_vft_::session_reset_callback) (session_t *s)

Notify app that session was reset.

Definition at line 60 of file application_interface.h.

◆ session_transport_closed_callback

void(* session_cb_vft_::session_transport_closed_callback) (session_t *s)

Notify app that transport is closed.

Definition at line 51 of file application_interface.h.


The documentation for this struct was generated from the following file: