Package | Description |
---|---|
etri.sdn.controller.module.devicemanager | |
etri.sdn.controller.module.firewall | |
etri.sdn.controller.protocol.packet |
Modifier and Type | Method and Description |
---|---|
private Entity |
OFMDeviceManager.getDestEntityFromPacket(Ethernet eth)
Gets a (partial) entity for the destination from the packet.
|
private Entity |
OFMDeviceManager.getSourceEntityFromPacket(Ethernet eth,
IOFSwitch sw,
int ofPort)
Parses an entity from an
Ethernet packet. |
private int |
OFMDeviceManager.getSrcNwAddr(Ethernet eth,
long dlAddr)
Gets IP address from packet if the packet is either an ARP a DHCP packet.
|
Modifier and Type | Method and Description |
---|---|
boolean |
FirewallRule.matchesFlow(long switchDpid,
short inPort,
Ethernet packet,
WildcardsPair wildcards)
Matches this rule to a given flow - incoming packet.
|
Modifier and Type | Method and Description |
---|---|
Ethernet |
Ethernet.setDestinationMACAddress(byte[] destinationMACAddress) |
Ethernet |
Ethernet.setDestinationMACAddress(java.lang.String destinationMACAddress) |
Ethernet |
Ethernet.setEtherType(short etherType) |
Ethernet |
Ethernet.setPad(boolean pad)
Pad this packet to 60 bytes minimum, filling with zeros?
|
Ethernet |
Ethernet.setPriorityCode(byte priorityCode) |
Ethernet |
Ethernet.setSourceMACAddress(byte[] sourceMACAddress) |
Ethernet |
Ethernet.setSourceMACAddress(java.lang.String sourceMACAddress) |
Ethernet |
Ethernet.setVlanID(short vlanID) |