/************************************************************************/
/* */
/* ***** ***** */
/* ***** ***** */
/* ***** ***** */
/* ***** ***** */
/* *************** *************** */
/* ***************** ***************** */
/* *************** *************** */
/* ***** ***** TheNetNode */
/* ***** ***** Portable */
/* ***** ***** Network */
/* ***** ***** Software */
/* */
/* File os/go32/loop.c (maintained by: ???) */
/* */
/* This file is part of "TheNetNode" - Software Package */
/* */
/* Copyright (C) 1998 - 2008 NORD>head));/*Zeiger holen*/
rxport = port^1;
if (portpar[rxport].major != loop_major)
rxport = port;
/*if (rand() % 15) {*/
len = cpymbflat(blkbuf, txfhd);
rxfhd = cpyflatmb(blkbuf, len);
rxfhd->l2port = rxport;
relink((LEHEAD *)rxfhd, (LEHEAD *)rxfl.tail);
/*}*/
relink((LEHEAD *)txfhd, /* als gesendet betrachten und in */
(LEHEAD *)stfl.tail); /* die gesendet Liste umhaengen */
kick[port] = ((LHEAD *)l2flp->head != l2flp);
}
}
}
}
static int register_loopback(void)
{
MAJOR *m;
m = register_major();
m->name = "LOOPBACK";
m->handle = loopback;
return(loop_major = num_major);
}
/* End of os/go32/loop.c */