comparison rvinterf/etm/misc.c @ 257:c413e791595a

fc-tmsh: added check-ffs1 command, getting ready to begin ffs2 implementation
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 04 Feb 2014 07:22:19 +0000
parents
children
comparison
equal deleted inserted replaced
256:2f285f20d617 257:c413e791595a
1 /*
2 * Commands which don't belong anywhere else
3 */
4
5 #include <sys/types.h>
6 #include <stdio.h>
7 #include <string.h>
8 #include <strings.h>
9 #include <stdlib.h>
10 #include "../include/pktmux.h"
11 #include "etm.h"
12 #include "tmffs1.h"
13
14 void
15 cmd_check_ffs1(argc, argv)
16 char **argv;
17 {
18 u_char cmdpkt[5];
19
20 cmdpkt[1] = ETM_FFS1;
21 cmdpkt[2] = FPI_TMFFS_VERSION;
22 cmdpkt[3] = FPI_END;
23 send_etm_cmd(cmdpkt, 3);
24 }