|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.renesys.raceway.SSF.Entity
|
+--SSF.Net.lanLinkLayer
Implementation of a link layer that performs simple layer 2 routing among a set of two or more attached interfaces. Uses the non-standard NEXT_HOP field in the IP header to identify the channel on which to rebroadcast each received packet.
| Constructor Summary | |
lanLinkLayer(link L)
|
|
| Method Summary | |
link |
onLink()
Return a reference to the link for which this is the linkLayer implementation. |
java.util.Enumeration |
peers(NIC forNIC)
Return the attached interfaces that are peers to the given interface. |
com.renesys.raceway.SSF.Event[] |
receive(NIC forNIC)
Poll the link layer for any packets currently available for receipt |
void |
transmit(NIC forNIC,
PacketEvent pevt,
long qdelay)
Send a packet with the given delay on behalf of the NIC |
void |
up(NIC nic)
Bring up the given NIC over this link layer |
| Methods inherited from class com.renesys.raceway.SSF.Entity |
alignment, alignTo, coalignedEntities, inChannels, init, joinAll, makeIndependent, now, outChannels, pauseAll, playRole, processes, resetSimulation, resumeAll, startAll, startAll, startClient, startClient, startServer, Vx, Yx |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public lanLinkLayer(link L)
| Method Detail |
public link onLink()
linkLayer
onLink in interface linkLayerpublic void up(NIC nic)
linkLayer
up in interface linkLayer
public void transmit(NIC forNIC,
PacketEvent pevt,
long qdelay)
linkLayer
transmit in interface linkLayerpublic com.renesys.raceway.SSF.Event[] receive(NIC forNIC)
linkLayer
receive in interface linkLayerpublic java.util.Enumeration peers(NIC forNIC)
linkLayer
peers in interface linkLayer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||