NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
psp_gateway.cpp File Reference
#include <fcntl.h>
#include <memory>
#include <signal.h>
#include <rte_ethdev.h>
#include <google/protobuf/util/json_util.h>
#include <grpc/support/log.h>
#include <grpcpp/grpcpp.h>
#include <grpcpp/server_builder.h>
#include <dpdk_utils.h>
#include <doca_argp.h>
#include <doca_dev.h>
#include <doca_flow.h>
#include <doca_log.h>
#include <doca_dpdk.h>
#include <samples/common.h>
#include <psp_gw_config.h>
#include <psp_gw_flows.h>
#include <psp_gw_svc_impl.h>
#include <psp_gw_params.h>
#include <psp_gw_pkt_rss.h>
#include <psp_gw_utils.h>
Include dependency graph for psp_gateway.cpp:

Go to the source code of this file.

Functions

 DOCA_LOG_REGISTER (PSP_GATEWAY)
 
static void signal_handler (int signum)
 Signal handler function (SIGINT and SIGTERM signals) More...
 
int main (int argc, char **argv)
 

Variables

volatile bool force_quit
 

Function Documentation

◆ DOCA_LOG_REGISTER()

DOCA_LOG_REGISTER ( PSP_GATEWAY  )

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 81 of file psp_gateway.cpp.

◆ signal_handler()

static void signal_handler ( int  signum)
static

Signal handler function (SIGINT and SIGTERM signals)

@signum [in]: signal number

Definition at line 66 of file psp_gateway.cpp.

Variable Documentation

◆ force_quit

volatile bool force_quit

Definition at line 59 of file psp_gateway.cpp.