*
 *****************************************************************************/


#include <x86_64_delta_agc5648s/x86_64_delta_agc5648s_config.h>

#if X86_64_DELTA_AGC5648S_CONFIG_INCLUDE_UCLI == 1

#include <uCli/ucli.h>
#include <uCli/ucli_argparse.h>
#include <uCli/ucli_handler_macros.h>

static ucli_status_t
x86_64_delta_agc5648s_ucli_ucli__config__(ucli_context_t* uc)
{
    UCLI_HANDLER_MACRO_MODULE_CONFIG(x86_64_delta_agc5648s)
}

/* <auto.ucli.handlers.start> */
/******************************************************************************
 *
 * These handler table(s) were autogenerated from the symbols in this
 * source file.
 *
 *****************************************************************************/
static ucli_command_handler_f x86_64_delta_agc5648s_ucli_ucli_handlers__[] =
{
    x86_64_delta_agc5648s_ucli_ucli__config__,
    NULL
};
/******************************************************************************/
Exemple #2
0
static ucli_status_t
ppe_ucli_ucli__config__(ucli_context_t* uc)
{
    UCLI_HANDLER_MACRO_MODULE_CONFIG(ppe);
}
 *
 *
 ***********************************************************/

#include <arm64_nxp_layerscape/arm64_nxp_layerscape_config.h>

#if ONLPSIM_CONFIG_INCLUDE_UCLI == 1

#include <uCli/ucli.h>
#include <uCli/ucli_argparse.h>
#include <uCli/ucli_handler_macros.h>

static ucli_status_t
arm64_nxp_layerscape_ucli_ucli__config__(ucli_context_t* uc)
{
    UCLI_HANDLER_MACRO_MODULE_CONFIG(arm64_nxp_layerscape)
}

/* <auto.ucli.handlers.start> */
/******************************************************************************
 *
 * These handler table(s) were autogenerated from the symbols in this
 * source file.
 *
 *****************************************************************************/
static ucli_command_handler_f arm64_nxp_layerscape_ucli_ucli_handlers__[] =
{
    arm64_nxp_layerscape_ucli_ucli__config__,
    NULL
};
/******************************************************************************/
 *
 *
 *
 *****************************************************************************/
#include <powerpc_quanta_ly2_r0/powerpc_quanta_ly2_r0_config.h>

#if POWERPC_QUANTA_LY2_R0_CONFIG_INCLUDE_UCLI == 1

#include <uCli/ucli.h>
#include <uCli/ucli_argparse.h>
#include <uCli/ucli_handler_macros.h>

static ucli_status_t
powerpc_quanta_ly2_r0_ucli_ucli__config__(ucli_context_t* uc)
{
    UCLI_HANDLER_MACRO_MODULE_CONFIG(powerpc_quanta_ly2_r0)
}

/* <auto.ucli.handlers.start> */
/* <auto.ucli.handlers.end> */

static ucli_module_t
powerpc_quanta_ly2_r0_ucli_module__ =
{
    "powerpc_quanta_ly2_r0_ucli",
    NULL,
    powerpc_quanta_ly2_r0_ucli_ucli_handlers__,
    NULL,
    NULL,
};
 *
 *
 *
 *****************************************************************************/
#include <slot_allocator/slot_allocator_config.h>

#if INDEX_ALLOCATOR_CONFIG_INCLUDE_UCLI == 1

#include <uCli/ucli.h>
#include <uCli/ucli_argparse.h>
#include <uCli/ucli_handler_macros.h>

static ucli_status_t
slot_allocator_ucli_ucli__config__(ucli_context_t* uc)
{
    UCLI_HANDLER_MACRO_MODULE_CONFIG(slot_allocator)
}

/* <auto.ucli.handlers.start> */
/* <auto.ucli.handlers.end> */

static ucli_module_t
slot_allocator_ucli_module__ =
    {
        "slot_allocator_ucli",
        NULL,
        slot_allocator_ucli_ucli_handlers__,
        NULL,
        NULL,
    };
 *
 *
 *
 *****************************************************************************/
#include <x86_64_mlnx_msn2700/x86_64_mlnx_msn2700_config.h>

#if x86_64_mlnx_msn2700_CONFIG_INCLUDE_UCLI == 1

#include <uCli/ucli.h>
#include <uCli/ucli_argparse.h>
#include <uCli/ucli_handler_macros.h>

static ucli_status_t
x86_64_mlnx_msn2700_ucli_ucli__config__(ucli_context_t* uc)
{
    UCLI_HANDLER_MACRO_MODULE_CONFIG(x86_64_mlnx_msn2700)
}

/* <auto.ucli.handlers.start> */
/* <auto.ucli.handlers.end> */

static ucli_module_t
x86_64_mlnx_msn2700_ucli_module__ =
    {
        "x86_64_mlnx_msn2700_ucli",
        NULL,
        x86_64_mlnx_msn2700_ucli_ucli_handlers__,
        NULL,
        NULL,
    };
 *
 *
 *
 *****************************************************************************/
#include <x86_64_alphanetworks_snx60a0_486f/x86_64_alphanetworks_snx60a0_486f_config.h>

#if X86_64_ALPHANETWORKS_SNX60A0_486F_CONFIG_INCLUDE_UCLI == 1

#include <uCli/ucli.h>
#include <uCli/ucli_argparse.h>
#include <uCli/ucli_handler_macros.h>

static ucli_status_t
x86_64_alphanetworks_snx60a0_486f_ucli_ucli__config__(ucli_context_t* uc)
{
    UCLI_HANDLER_MACRO_MODULE_CONFIG(x86_64_alphanetworks_snx60a0_486f)
}

/* <auto.ucli.handlers.start> */
/* <auto.ucli.handlers.end> */

static ucli_module_t
x86_64_alphanetworks_snx60a0_486f_ucli_module__ =
    {
        "x86_64_alphanetworks_snx60a0_486f_ucli",
        NULL,
        x86_64_alphanetworks_snx60a0_486f_ucli_ucli_handlers__,
        NULL,
        NULL,
    };
 *
 *
 *
 *****************************************************************************/
#include <x86_64_accton_as5712_54x/x86_64_accton_as5712_54x_config.h>

#if X86_64_ACCTON_AS5712_54X_CONFIG_INCLUDE_UCLI == 1

#include <uCli/ucli.h>
#include <uCli/ucli_argparse.h>
#include <uCli/ucli_handler_macros.h>

static ucli_status_t
x86_64_accton_as5712_54x_ucli_ucli__config__(ucli_context_t* uc)
{
    UCLI_HANDLER_MACRO_MODULE_CONFIG(x86_64_accton_as5712_54x)
}

/* <auto.ucli.handlers.start> */
/* <auto.ucli.handlers.end> */

static ucli_module_t
x86_64_accton_as5712_54x_ucli_module__ =
    {
        "x86_64_accton_as5712_54x_ucli",
        NULL,
        x86_64_accton_as5712_54x_ucli_ucli_handlers__,
        NULL,
        NULL,
    };
 *
 *
 *
 *****************************************************************************/
#include <wnc_sys_eeprom/wnc_sys_eeprom_config.h>

#if WNC_SYS_EEPROM_CONFIG_INCLUDE_UCLI == 1

#include <uCli/ucli.h>
#include <uCli/ucli_argparse.h>
#include <uCli/ucli_handler_macros.h>

static ucli_status_t
wnc_sys_eeprom_ucli_ucli__config__(ucli_context_t* uc)
{
    UCLI_HANDLER_MACRO_MODULE_CONFIG(wnc_sys_eeprom)
}

/* <auto.ucli.handlers.start> */
/* <auto.ucli.handlers.end> */

static ucli_module_t
wnc_sys_eeprom_ucli_module__ =
    {
        "wnc_sys_eeprom_ucli",
        NULL,
        wnc_sys_eeprom_ucli_ucli_handlers__,
        NULL,
        NULL,
    };
Exemple #10
0
#if DEBUG_COUNTER_CONFIG_INCLUDE_UCLI == 1

#include <uCli/ucli.h>
#include <uCli/ucli_argparse.h>
#include <uCli/ucli_handler_macros.h>

static bool
prefix_match(const char *haystack, const char *needle)
{
    return needle == NULL || strstr(haystack, needle) == haystack;
}

static ucli_status_t
debug_counter_ucli_ucli__config__(ucli_context_t* uc)
{
    UCLI_HANDLER_MACRO_MODULE_CONFIG(debug_counter)
}

static ucli_status_t
debug_counter_ucli_ucli__show__(ucli_context_t* uc)
{
    UCLI_COMMAND_INFO(uc,
                      "show", -1,
                      "$summary#show all debug counters.");

    const char *prefix = NULL;
    if (uc->pargs->count > 0) {
	UCLI_ARGPARSE_OR_RETURN(uc, "s", &prefix);
    }

    list_head_t *counters = debug_counter_list();
Exemple #11
0
 *
 *
 *
 *****************************************************************************/
#include <timer_wheel/timer_wheel_config.h>

#if TIMER_WHEEL_CONFIG_INCLUDE_UCLI == 1

#include <uCli/ucli.h>
#include <uCli/ucli_argparse.h>
#include <uCli/ucli_handler_macros.h>

static ucli_status_t
timer_wheel_ucli_ucli__config__(ucli_context_t* uc)
{
    UCLI_HANDLER_MACRO_MODULE_CONFIG(timer_wheel)
}

/* <auto.ucli.handlers.start> */
static ucli_command_handler_f timer_wheel_ucli_ucli_handlers__[] =
{
    timer_wheel_ucli_ucli__config__,
    NULL
};
/* <auto.ucli.handlers.end> */

static ucli_module_t
timer_wheel_ucli_module__ =
    {
        "timer_wheel_ucli",
        NULL,