Modifier and Type | Method and Description |
---|---|
Ethernet |
PacketInEvent.getEthernet()
Return a
Ethernet instance which represents the received
packet. |
Modifier and Type | Method and Description |
---|---|
Ethernet |
EtherPacket.getPacket()
Return an
Ethernet instance configured in this instance. |
Constructor and Description |
---|
EtherPacket(Ethernet ether)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
Ethernet |
ArpPacketBuilder.build(EtherAddress src,
EtherAddress dst,
InetAddress addr)
Create an Ethernet frame which contains an ARP request message to
probe the given IP address.
|
Ethernet |
ArpPacketBuilder.build(EtherAddress src,
EtherAddress dst,
Ip4Network target)
Create an Ethernet frame which contains an ARP message.
|
Ethernet |
ArpPacketBuilder.build(EtherAddress src,
InetAddress addr)
Create a broadcast Ethernet frame which contains an ARP request message
to probe the given IP address.
|
Modifier and Type | Method and Description |
---|---|
Ethernet |
PacketContext.createFrame(int vlan)
Create a new ethernet frame that forwards the received packet.
|
Ethernet |
PacketContext.getFrame()
Return an ethernet frame in this context.
|
Modifier and Type | Method and Description |
---|---|
String |
PacketContext.getDescription(Ethernet ether,
SalPort sport,
int vid)
Create a brief description of the ethernet frame.
|
Constructor and Description |
---|
PacketContext(TxContext ctx,
Ethernet ether,
SalPort ingress)
Construct a new packet context.
|
Modifier and Type | Method and Description |
---|---|
Ethernet |
Ethernet.setDestinationMACAddress(byte[] mac)
Sets the destination MAC address for the current Ethernet object.
|
Ethernet |
Ethernet.setSourceMACAddress(byte[] mac)
Sets the source MAC address for the current Ethernet object.
|
Copyright © 2018 OpenDaylight. All rights reserved.