41 InterfaceEntry *e =
new InterfaceEntry();
44 char *interfaceName =
new char[strlen(getFullName())+1];
45 char *d=interfaceName;
46 for (
const char *s=getFullName(); *s; s++)
51 e->setName(interfaceName);
52 delete [] interfaceName;
55 int outputPort = gate(
"netwIn")->getPreviousGate()->getIndex();
56 e->setNodeOutputGateId(outputPort);
59 InterfaceToken token(0, simulation.getUniqueNumber(), 64);
60 e->setInterfaceToken(token);
67 e->setMulticast(
true);
68 e->setPointToPoint(
true);
71 IInterfaceTable *ift = InterfaceTableAccess().get();
72 ift->addInterface(e,
this);