4.1155-freebsd-126-freebsd-12freebsd-9.3
Last change
on this file since a9be4b0 was
a9be4b0,
checked in by Sebastian Huber <sebastian.huber@…>, on 10/17/13 at 13:30:31
|
Move shell items to separate file
|
-
Property mode set to
100644
|
File size:
1.6 KB
|
Line | |
---|
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 | }; |
---|
Note: See
TracBrowser
for help on using the repository browser.