[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: JanosVM
> On Wednesday 03 October 2001 21:47, you wrote:
>
> I replaced $(wildcard $(srcdir)/*.h) with $(srcdir)/*.h
> and the script didn't freeze anymore....
> (probaby wildcard was never defined)
>
> And the next error I get is in jsiPlexUDP.c
> Do you think the two things may be related ??
No, this happened to someone else too, you might've missed the
mail. You'll need to apply the following diff to jsiPlexUDP.c...
tim stack
@@ -93,6 +93,7 @@
int iplen, iLockRoot;
struct ethHeader *eh;
struct udphdr *udph;
+ jsiChannel *jc;
struct ip *iph;
anjthread_enterkaffe_c();
@@ -116,8 +117,10 @@
plp->header.messageID = ntohs(plp->header.messageID);
plp->header.channelID = ntohs(plp->header.channelID);
jsiObtainPlexLink(pil->link);
- jsiPlexWindowRecvPacket(pil, &rc.plc, plp);
+ jc = jsiPlexWindowRecvPacket(pil, 0, &rc.plc, plp);
jsiReleasePlexLink(pil->link);
+ if( jc )
+ pil->provider->handleConnection->func(pil->provider, jc);
an_inchan_addpbuf(&pui->inChannel, buffer);
anjthread_exitkaffe_c();
@@ -181,8 +190,9 @@
}
static
-void handleUDPLink(jsiPlexInLink *pil)
+jsiChannel *handleUDPLink(jsiPlexInLink *pil)
{
+ return NULL;
}
static
@@ -362,7 +372,7 @@
memset(&attr, 0, sizeof(attr));
puo->next = pu->outLinks;
pu->outLinks = puo;
- strcpy(attr.proto.data, "if4");
+ sprintf(attr.proto.data, "if%d", pu->ifNumber);
attr.proto.len = strlen(attr.proto.data);
memcpy(attr.addr.eth.daddr,
rc->physAddr,
@@ -406,6 +416,7 @@
jsiPlexOutLink *retval = 0;
int port;
+#if 0
if( parseString(format,
SPO_NonEmptyString, &protocol,
SPO_Expect, ":",
@@ -435,6 +446,7 @@
if( valid )
retval = getUDPOutFromContext(pl, &rc.plc);
}
+#endif
return( retval );
}
[ Janos ] [ OSKit ] [ Network Testbed ] [ Flick ] [ Fluke ]
Flux Research Group / Department of Computer Science / University of Utah