OpenNSL API Guide and Reference Manual
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <opennsl/types.h>
#include <opennsl/error.h>
#include <opennsl/init.h>
#include <opennsl/port.h>
#include <sal/driver.h>
Go to the source code of this file.
Functions | |
int | main (int argc, char *argv[]) |
Main function for OpenNSL RPC client functionality testing application. | |
Variables | |
char | example_usage [] |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Main function for OpenNSL RPC client functionality testing application.
argc,argv | commands line arguments |
Definition at line 54 of file example_rpc_app.c.
References opennsl_port_config_s::all, opennsl_port_config_s::ce, opennsl_port_config_s::cpu, opennsl_info_s::device, example_usage, opennsl_port_config_s::ge, NULL, opennsl_attach_max(), opennsl_driver_init(), OPENNSL_E_NONE, OPENNSL_E_PARAM, opennsl_info_get(), opennsl_port_config_get(), opennsl_port_gport_get(), _shr_pbmp::pbits, opennsl_port_config_s::port, opennsl_info_s::revision, and opennsl_port_config_s::xe.
char example_usage[] |
Definition at line 34 of file example_rpc_app.c.