1/*
2 * Copyright (c) 2014, The Linux Foundation. All rights reserved.
3 * Permission to use, copy, modify, and/or distribute this software for
4 * any purpose with or without fee is hereby granted, provided that the
5 * above copyright notice and this permission notice appear in all copies.
6 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
7 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
8 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
9 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
10 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
11 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
12 * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
13 */
14
15#ifndef _SHELL_SW_H_
16#define _SHELL_SW_H_
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
22#include "sw.h"
23
24    int get_devid(void);
25    sw_error_t cmd_set_devid(a_uint32_t *arg_val);
26    sw_error_t cmd_show_fdb(a_uint32_t *arg_val);
27    sw_error_t cmd_show_vlan(a_uint32_t *arg_val);
28    sw_error_t cmd_show_resv_fdb(a_uint32_t *arg_val);
29    sw_error_t cmd_show_host(a_uint32_t *arg_val);
30    sw_error_t cmd_show_nat(a_uint32_t *arg_val);
31    sw_error_t cmd_show_napt(a_uint32_t *arg_val);
32    sw_error_t cmd_show_intfmac(a_uint32_t *arg_val);
33    sw_error_t cmd_show_pubaddr(a_uint32_t *arg_val);
34	sw_error_t cmd_show_flow(a_uint32_t *arg_val);
35
36#ifdef __cplusplus
37}
38#endif                          /* __cplusplus */
39
40#endif                          /* _SHELL_SW_H_ */
41