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_PFCTL_Command = { |
---|
32 | "pfctl", /* name */ |
---|
33 | "pfctl [args]", /* usage */ |
---|
34 | "net", /* topic */ |
---|
35 | rtems_bsd_command_pfctl, /* command */ |
---|
36 | NULL, /* alias */ |
---|
37 | NULL /* next */ |
---|
38 | }; |
---|
39 | |
---|
40 | rtems_shell_cmd_t rtems_shell_PING_Command = { |
---|
41 | "ping", /* name */ |
---|
42 | "ping [args]", /* usage */ |
---|
43 | "net", /* topic */ |
---|
44 | rtems_bsd_command_ping, /* command */ |
---|
45 | NULL, /* alias */ |
---|
46 | NULL /* next */ |
---|
47 | }; |
---|
48 | |
---|
49 | rtems_shell_cmd_t rtems_shell_ROUTE_Command = { |
---|
50 | "route", /* name */ |
---|
51 | "route [args]", /* usage */ |
---|
52 | "net", /* topic */ |
---|
53 | rtems_bsd_command_route, /* command */ |
---|
54 | NULL, /* alias */ |
---|
55 | NULL /* next */ |
---|
56 | }; |
---|
57 | |
---|
58 | rtems_shell_cmd_t rtems_shell_TCPDUMP_Command = { |
---|
59 | "tcpdump", /* name */ |
---|
60 | "tcpdump [args]", /* usage */ |
---|
61 | "net", /* topic */ |
---|
62 | rtems_bsd_command_tcpdump, /* command */ |
---|
63 | NULL, /* alias */ |
---|
64 | NULL /* next */ |
---|
65 | }; |
---|
66 | |
---|
67 | rtems_shell_cmd_t rtems_shell_SYSCTL_Command = { |
---|
68 | "sysctl", /* name */ |
---|
69 | "sysctl [-bdehiNnoRTqx] [-f filename] name[=value] ...", /* usage */ |
---|
70 | "net", /* topic */ |
---|
71 | rtems_bsd_command_sysctl, /* command */ |
---|
72 | NULL, /* alias */ |
---|
73 | NULL /* next */ |
---|
74 | }; |
---|