|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--SSF.OS.ProtocolSession
|
+--SSF.OS.IP
|
+--gov.nist.antd.ssf.os.IP
| Nested Class Summary |
| Nested classes inherited from class SSF.OS.IP |
IP.demux_cache |
| Field Summary | |
DiffServTrafficConditioner |
diffserv
DiffServTrafficConditioner instance - DiffServ Module |
boolean |
isDiffServ
If the Node has a DiffServ module, the isDiffServ flage is true |
boolean |
isLSR
If the Node has a MPLSMgmt module, the isLSR flage is true |
boolean |
isTEAgent
If the Node has a TEAgent module. |
MPLSMgmt |
mplsmgmt
|
int |
MultiCastGroupAddr
MulticastIPAddr |
TEAgent |
teagent
TEAgent instance |
| Fields inherited from class SSF.OS.IP |
INTERFACE_COUNT, INTERFACE_SET, INTERFACE_SET_STARTING_SIZE, INTERFACES, monitor, ROUTING_TABLE, session_cache, tieBreakerClass |
| Fields inherited from class SSF.OS.ProtocolSession |
name, use |
| Constructor Summary | |
IP()
|
|
| Method Summary | |
void |
addRoutingInformation(java.lang.String destip,
NIC local_interface,
int next_hop_addr)
add routing information |
DiffServTrafficConditioner |
getDiffServ()
Return the DiffServTrafficConditioner |
ProtocolMonitor |
getMonitor()
Return the monitor of this protocol (use by MPLS) |
MPLSMgmt |
getMPLSMgmt()
Return the MPLS management module |
boolean |
isLocal(ProtocolMessage message)
Does the IP packet arrive at the destination node ?? |
boolean |
push(ProtocolMessage message,
ProtocolSession fromSession)
push a message up or down in the protocol stack |
boolean |
sendLocalIPPacket(ProtocolMessage message,
ProtocolSession fromSession)
This function sends a IP packet to the upper protocol layer.... |
void |
setTEAgent(TEAgent tea)
This function is called by the TEAgent module |
void |
setupDiffServ(DiffServTrafficConditioner ds)
This function is called by the DiffServTrafficConditioner module to register a DiffServ instance |
void |
setupMPLS(MPLSMgmt mgmt)
This function is called by the MPLSMgmt module to register a MPLSMgmt instance |
| Methods inherited from class SSF.OS.IP |
config, drop, getMonitorEnable, getRoutingTable, init, opened, setGraph, setMonitorEnable |
| Methods inherited from class SSF.OS.ProtocolSession |
close, closed, debugIdentifier, inGraph, open, pushAfterDelay, pushAfterDelayFailed, version |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public MPLSMgmt mplsmgmt
public boolean isLSR
public DiffServTrafficConditioner diffserv
public boolean isDiffServ
public TEAgent teagent
public boolean isTEAgent
public int MultiCastGroupAddr
| Constructor Detail |
public IP()
| Method Detail |
public void setupMPLS(MPLSMgmt mgmt)
mgmt - The MPLSMgmt module that registerspublic void setupDiffServ(DiffServTrafficConditioner ds)
ds - The DiffServTrafficConditioner that registerspublic void setTEAgent(TEAgent tea)
public MPLSMgmt getMPLSMgmt()
public DiffServTrafficConditioner getDiffServ()
public ProtocolMonitor getMonitor()
public void addRoutingInformation(java.lang.String destip,
NIC local_interface,
int next_hop_addr)
destip - The IP adress of the destination nodelocal_interface - The NIC to use to send messagesnext_hop_addr - The IP adress of the next hop
public boolean sendLocalIPPacket(ProtocolMessage message,
ProtocolSession fromSession)
message - The message to sendfromSession - The session that sent the message
public boolean isLocal(ProtocolMessage message)
message - The ProtocolMessage to check
public boolean push(ProtocolMessage message,
ProtocolSession fromSession)
throws ProtocolException
push in class IPmessage - The ProtocolMessage to pushfromSession - The ProtocolSession that pushed a message
ProtocolException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||