|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface RouteInterface.Zrp.Ndp
Node Discovery (sub)Protocol interface.
| Method Summary | |
|---|---|
MacAddress |
getMacAddress(NetAddress addr)
Return mac address of neighbour. |
byte |
getMacId(NetAddress addr)
Return mac entity for neighbour. |
NetAddress[] |
getNeighbours()
Return neighbours. |
int |
getNumNeighbours()
Return number of neighbours. |
boolean |
isNeighbour(NetAddress addr)
Whether given address is a neighbour. |
void |
receive(RouteInterface.Zrp.MessageNdp msg,
NetAddress src,
MacAddress macAddr,
byte macId)
Process incoming NDP packet. |
| Methods inherited from interface jist.swans.misc.Protocol |
|---|
start |
| Method Detail |
|---|
void receive(RouteInterface.Zrp.MessageNdp msg,
NetAddress src,
MacAddress macAddr,
byte macId)
msg - ndp packetsrc - network address of incoming packetmacAddr - link source address of incoming packetmacId - interface of incoming packetMacAddress getMacAddress(NetAddress addr)
addr - ip address of neighbour
byte getMacId(NetAddress addr)
addr - ip address of neighbour
NetAddress[] getNeighbours()
int getNumNeighbours()
boolean isNeighbour(NetAddress addr)
addr - address to check
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||