Added replies to status requests from RS.

This commit is contained in:
Jorrit Herder 2005-10-21 14:39:21 +00:00
parent 7a7e680da7
commit f8edaa7de4
5 changed files with 7 additions and 0 deletions

View file

@ -192,6 +192,7 @@ int main(int argc, char *argv[])
switch (m.m_type)
{
case DEV_PING: notify(m.m_source); continue;
case DL_WRITE: do_vwrite(&m, FALSE, FALSE); break;
case DL_WRITEV: do_vwrite(&m, FALSE, TRUE); break;
case DL_READ: do_vread(&m, FALSE); break;

View file

@ -566,6 +566,9 @@ PUBLIC int main(int argc, char **argv)
DEBUG(printf("eth: got message %d, ", m.m_type));
switch (m.m_type) {
case DEV_PING: /* Status request from RS */
notify(m.m_source);
continue;
case DL_WRITE: /* Write message to device */
do_vwrite(&m, FALSE);
break;

View file

@ -297,6 +297,7 @@ int main(int argc, char *argv[])
switch (m.m_type)
{
case DEV_PING: notify(m.m_source); continue;
case DL_WRITEV: fxp_writev(&m, FALSE, TRUE); break;
case DL_WRITE: fxp_writev(&m, FALSE, FALSE); break;
#if 0

View file

@ -345,6 +345,7 @@ void main( int argc, char **argv )
/*printf( "." );*/
switch (m.m_type){
case DEV_PING: notify(m.m_source); continue;
case DL_WRITE: do_vwrite(&m, FALSE, FALSE); break;
case DL_WRITEV: do_vwrite(&m, FALSE, TRUE); break;
case DL_READ: do_vread(&m, FALSE); break;

View file

@ -315,6 +315,7 @@ int main(int argc, char *argv[])
switch (m.m_type)
{
case DEV_PING: notify(m.m_source); continue;
case DL_WRITEV: rl_writev(&m, FALSE, TRUE); break;
case DL_WRITE: rl_writev(&m, FALSE, FALSE); break;
#if 0