diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-09-14 22:52:53 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-09-14 22:52:53 +0000 |
commit | 15a47934fb9df85dfc1641b41752d52e58096e94 (patch) | |
tree | cf492832b1f8ab12c55324df01b0351956a543cb /cpukit/libmisc/monitor/monitor.h | |
parent | 2007-09-14 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-15a47934fb9df85dfc1641b41752d52e58096e94.tar.bz2 |
2007-09-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/monitor/monitor.h: Add network commands that were in the
network supplement but not in the code.
* libmisc/monitor/mon-network.c: New file.
Diffstat (limited to 'cpukit/libmisc/monitor/monitor.h')
-rw-r--r-- | cpukit/libmisc/monitor/monitor.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/cpukit/libmisc/monitor/monitor.h b/cpukit/libmisc/monitor/monitor.h index 1d88cae4f9..fb40bcefd6 100644 --- a/cpukit/libmisc/monitor/monitor.h +++ b/cpukit/libmisc/monitor/monitor.h @@ -12,6 +12,7 @@ #define __MONITOR_H #include <rtems/error.h> /* rtems_error() */ +#include <rtems/config.h> #ifdef __cplusplus extern "C" { @@ -492,6 +493,20 @@ void rtems_monitor_symbol_canonical_by_value(rtems_monitor_symbol_t *, void * uint32_t rtems_monitor_symbol_dump(rtems_monitor_symbol_t *, boolean); void rtems_monitor_symbol_cmd(int, char **, rtems_monitor_command_arg_t*, boolean); +#if defined(RTEMS_NETWORKING) +void mon_ifconfig( + int argc, + char *argv[], + uint32_t command_arg, + boolean verbose +); +void mon_route( + int argc, + char *argv[], + uint32_t command_arg, + boolean verbose +); +#endif /* mon-object.c */ rtems_monitor_object_info_t *rtems_monitor_object_lookup( |