4.1155-freebsd-126-freebsd-12freebsd-9.3
Rev | Line | |
---|
[a9be4b0] | 1 | /* |
---|
| 2 | * COPYRIGHT (c) 1989-2012. |
---|
| 3 | * On-Line Applications Research Corporation (OAR). |
---|
| 4 | * |
---|
| 5 | * The license and distribution terms for this file may be |
---|
| 6 | * found in the file LICENSE in this distribution or at |
---|
| 7 | * http://www.rtems.com/license/LICENSE. |
---|
| 8 | */ |
---|
| 9 | |
---|
| 10 | #include <rtems/netcmds-config.h> |
---|
| 11 | #include <machine/rtems-bsd-commands.h> |
---|
| 12 | |
---|
| 13 | rtems_shell_cmd_t rtems_shell_IFCONFIG_Command = { |
---|
| 14 | "ifconfig", /* name */ |
---|
| 15 | "ifconfig [args]", /* usage */ |
---|
| 16 | "net", /* topic */ |
---|
| 17 | rtems_bsd_command_ifconfig, /* command */ |
---|
| 18 | NULL, /* alias */ |
---|
| 19 | NULL /* next */ |
---|
| 20 | }; |
---|
| 21 | |
---|
| 22 | rtems_shell_cmd_t rtems_shell_NETSTAT_Command = { |
---|
| 23 | "netstat", /* name */ |
---|
| 24 | "netstat [args]", /* usage */ |
---|
| 25 | "net", /* topic */ |
---|
| 26 | rtems_bsd_command_netstat, /* command */ |
---|
| 27 | NULL, /* alias */ |
---|
| 28 | NULL /* next */ |
---|
| 29 | }; |
---|
| 30 | |
---|
| 31 | rtems_shell_cmd_t rtems_shell_PING_Command = { |
---|
| 32 | "ping", /* name */ |
---|
| 33 | "ping [args]", /* usage */ |
---|
| 34 | "net", /* topic */ |
---|
| 35 | rtems_bsd_command_ping, /* command */ |
---|
| 36 | NULL, /* alias */ |
---|
| 37 | NULL /* next */ |
---|
| 38 | }; |
---|
| 39 | |
---|
| 40 | rtems_shell_cmd_t rtems_shell_ROUTE_Command = { |
---|
| 41 | "route", /* name */ |
---|
| 42 | "route [args]", /* usage */ |
---|
| 43 | "net", /* topic */ |
---|
| 44 | rtems_bsd_command_route, /* command */ |
---|
| 45 | NULL, /* alias */ |
---|
| 46 | NULL /* next */ |
---|
| 47 | }; |
---|
[5e02888] | 48 | |
---|
| 49 | rtems_shell_cmd_t rtems_shell_TCPDUMP_Command = { |
---|
| 50 | "tcpdump", /* name */ |
---|
| 51 | "tcpdump [args]", /* usage */ |
---|
| 52 | "net", /* topic */ |
---|
| 53 | rtems_bsd_command_tcpdump, /* command */ |
---|
| 54 | NULL, /* alias */ |
---|
| 55 | NULL /* next */ |
---|
| 56 | }; |
---|
Note: See
TracBrowser
for help on using the repository browser.