public interface ARPTable
An ARPTable is maintained per VID.
| Modifier and Type | Method and Description |
|---|---|
Set<ARPEntry> |
arpEntries()
Returns the set of ARP translations for the VID.
|
ARPEntry |
arpEntry(IpAddress ipAddress)
Returns the ARP translation for a given IP address.
|
void |
clearARPTable()
Clears learned ARP translations for the given VID.
|
void |
clearothersARPTable()
Clears learned From Others Which ARP translations for the given VID.
|
NetworkNode |
networkNode(IpAddress ipAddress)
Returns the end host for a given IP address.
|
NetworkNode |
networkNode(MacAddress mac)
Returns the end host for a given MAC address.
|
int |
size()
Returns the size of the ARP table for the VID.
|
VId |
vid()
Returns the VID identifier for the ARP table.
|
VId vid()
int size()
ARPEntry arpEntry(IpAddress ipAddress)
ipAddress - IP address of the end hostNullPointerException - if the parameter is nullNetworkNode networkNode(IpAddress ipAddress)
ipAddress - IP address of the end hostNullPointerException - if the parameter is nullNetworkNode networkNode(MacAddress mac)
mac - MAC address of the end hostNullPointerException - if the parameter is nullSet<ARPEntry> arpEntries()
void clearARPTable()
void clearothersARPTable()
Copyright © 2014. All Rights Reserved.