+ .handler = handle_meminfo_command,
+ .mode = COMMAND_ANY,
+ .help = "display free heap space",
+ },
+#endif
+ {
+ .name = "rm",
+ .mode = COMMAND_ANY,
+ .handler = handle_rm_command,
+ .help = "remove a directory or file",
+ .usage = "file_name",
+ },
+
+ /*
+ * Peek and poke are security holes -- they manipulate
+ * server-internal addresses.
+ */
+
+ /* jim handlers */
+ {
+ .name = "peek",
+ .mode = COMMAND_ANY,
+ .jim_handler = ioutil_Jim_Command_peek,
+ .help = "peek at a memory address",
+ .usage = "address",
+ },
+ {
+ .name = "poke",
+ .mode = COMMAND_ANY,
+ .jim_handler = ioutil_Jim_Command_poke,
+ .help = "poke at a memory address",
+ .usage = "address value",
+ },
+ {
+ .name = "ls",
+ .mode = COMMAND_ANY,
+ .jim_handler = ioutil_Jim_Command_ls,
+ .help = "show a listing of files",
+ .usage = "dirname",
+ },
+#ifdef HAVE_SYS_IOCTL_H
+#ifdef SIOCGIFHWADDR
+ {
+ .name = "mac",
+ .mode = COMMAND_ANY,
+ .jim_handler = ioutil_Jim_Command_mac,
+ .help = "show MAC address",
+ },
+#endif
+#endif
+ {
+ .name = "ip",
+ .jim_handler = ioutil_Jim_Command_ip,