| NVIDIA DOCA SDK | Data Center on a Chip Framework Documentation |


Go to the source code of this file.
Macros | |
| #define | MAX_FILE_NAME (255) /* Maximum file name length */ |
Functions | |
| doca_error_t | psp_gw_argp_exec (int &argc, char *argv[], psp_gw_app_config *app_config) |
| Parses command-line arguments to the application. More... | |
| doca_error_t | psp_gw_parse_config_file (psp_gw_app_config *app_config) |
| Parses the configuration JSON file that was passed to the application. More... | |
| #define MAX_FILE_NAME (255) /* Maximum file name length */ |
Definition at line 34 of file psp_gw_params.h.
| doca_error_t psp_gw_argp_exec | ( | int & | argc, |
| char * | argv[], | ||
| psp_gw_app_config * | app_config | ||
| ) |
Parses command-line arguments to the application.
During processing of arguments, both DPDK and the application may remove arguments from argv, and argc will reflect the new size.
@argc [in/out]: The number of args passed to main() @argv [in/out]: The args passed to main @app_config [out]: The configuration of the application
Definition at line 1425 of file psp_gw_params.cpp.
| doca_error_t psp_gw_parse_config_file | ( | psp_gw_app_config * | app_config | ) |
Parses the configuration JSON file that was passed to the application.
@app_config [in/out]: The configuration of the application
Definition at line 1094 of file psp_gw_params.cpp.