mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-14 07:19:36 +08:00
pfctl: Add rtems_bsd_command_pfctl.
This commit is contained in:
parent
c79290aba6
commit
7f86f6afc7
@ -50,6 +50,8 @@ int rtems_bsd_command_ifconfig(int argc, char **argv);
|
|||||||
|
|
||||||
int rtems_bsd_command_netstat(int argc, char **argv);
|
int rtems_bsd_command_netstat(int argc, char **argv);
|
||||||
|
|
||||||
|
int rtems_bsd_command_pfctl(int argc, char **argv);
|
||||||
|
|
||||||
int rtems_bsd_command_ping(int argc, char **argv);
|
int rtems_bsd_command_ping(int argc, char **argv);
|
||||||
|
|
||||||
int rtems_bsd_command_ping6(int argc, char **argv);
|
int rtems_bsd_command_ping6(int argc, char **argv);
|
||||||
|
@ -24,6 +24,8 @@ extern "C" {
|
|||||||
|
|
||||||
extern rtems_shell_cmd_t rtems_shell_BSD_Command;
|
extern rtems_shell_cmd_t rtems_shell_BSD_Command;
|
||||||
|
|
||||||
|
extern rtems_shell_cmd_t rtems_shell_PFCTL_Command;
|
||||||
|
|
||||||
extern rtems_shell_cmd_t rtems_shell_PING_Command;
|
extern rtems_shell_cmd_t rtems_shell_PING_Command;
|
||||||
extern rtems_shell_cmd_t rtems_shell_PING6_Command;
|
extern rtems_shell_cmd_t rtems_shell_PING6_Command;
|
||||||
|
|
||||||
|
@ -28,6 +28,15 @@ rtems_shell_cmd_t rtems_shell_NETSTAT_Command = {
|
|||||||
NULL /* next */
|
NULL /* next */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
rtems_shell_cmd_t rtems_shell_PFCTL_Command = {
|
||||||
|
"pfctl", /* name */
|
||||||
|
"pfctl [args]", /* usage */
|
||||||
|
"net", /* topic */
|
||||||
|
rtems_bsd_command_pfctl, /* command */
|
||||||
|
NULL, /* alias */
|
||||||
|
NULL /* next */
|
||||||
|
};
|
||||||
|
|
||||||
rtems_shell_cmd_t rtems_shell_PING_Command = {
|
rtems_shell_cmd_t rtems_shell_PING_Command = {
|
||||||
"ping", /* name */
|
"ping", /* name */
|
||||||
"ping [args]", /* usage */
|
"ping [args]", /* usage */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user