Package | Description |
---|---|
com.hp.of.ctl |
Public API for the OpenFlow Controller.
|
com.hp.of.ctl.pkt |
Public API for the OpenFlow Packet Sequencer and participating
Packet Listeners.
|
com.hp.sdn.diag |
Definitions of the path diagnostic service.
|
com.hp.util.pkt |
Network packet parsing library.
|
Modifier and Type | Method and Description |
---|---|
void |
ControllerServiceAdapter.addPacketListener(SequencedPacketListener listener,
PacketListenerRole role,
int altitude,
Set<ProtocolId> interest) |
void |
ControllerService.addPacketListener(SequencedPacketListener listener,
PacketListenerRole role,
int altitude,
Set<ProtocolId> interest)
Adds the specified packet listener to the sequencer, in the
specified role and at the specified altitude.
|
Modifier and Type | Method and Description |
---|---|
List<ProtocolId> |
TestMessageContext.getProtocols() |
List<ProtocolId> |
MessageContext.getProtocols()
Returns an ordered list of
protocols decoded
from the packet. |
List<ProtocolId> |
MessageContextAdapter.getProtocols() |
Modifier and Type | Method and Description |
---|---|
void |
PacketSequencer.addPacketListener(SequencedPacketListener listener,
PacketListenerRole role,
int altitude,
Set<ProtocolId> interest)
Adds the specified packet listener to the sequencer, in the
specified role and at the specified altitude.
|
Modifier and Type | Method and Description |
---|---|
Set<DataPathId> |
PathDiagnosticService.getObservationPosts(String pid,
ProtocolId packetType)
Returns the identity of all the observation posts for a given
packet model ID.
|
List<PacketModel> |
PathDiagnosticService.getPacketModels(ProtocolId packetType)
Returns all registered packet models present in the system.
|
Modifier and Type | Method and Description |
---|---|
ProtocolId |
UnknownProtocol.id() |
ProtocolId |
Udp.id() |
ProtocolId |
Tcp.id() |
ProtocolId |
Sctp.id() |
ProtocolId |
Protocol.id()
Returns the protocol ID.
|
ProtocolId |
PppEthernet.id() |
ProtocolId |
Mpls.id() |
ProtocolId |
Lldp.id() |
ProtocolId |
IpV6.id() |
ProtocolId |
Ip.id() |
ProtocolId |
IcmpV6.id() |
ProtocolId |
Icmp.id() |
ProtocolId |
Gre.id() |
ProtocolId |
Ethernet.id() |
ProtocolId |
Dns.id() |
ProtocolId |
DhcpV6.id() |
ProtocolId |
Dhcp.id() |
ProtocolId |
Bddp.id() |
ProtocolId |
Arp.id() |
ProtocolId |
Packet.innermostId()
Returns the innermost layer protocol ID (highest in the the network
stack).
|
static ProtocolId |
ProtocolId.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProtocolId[] |
ProtocolId.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
List<ProtocolId> |
Packet.protocolIds()
Returns a list of protocol IDs from the outermost to innermost layer.
|
Modifier and Type | Method and Description |
---|---|
static long |
Packet.computeProtocolMask(ProtocolId... protocols)
Computes the mask of all protocol IDs.
|
<P extends Protocol> |
Packet.get(ProtocolId id)
Returns the first occurrence of the protocol (outer to inner) with the
given protocol ID.
|
<P extends Protocol> |
Packet.get(ProtocolId id,
int nth)
Returns the Nth occurrence of the protocol (outer to inner) with the
given protocol ID.
|
boolean |
Packet.has(ProtocolId id)
Returns true if the protocols corresponding to the given ID is
contained in the packet.
|
boolean |
Packet.hasAll(ProtocolId... ids)
Returns true if all the protocols corresponding to the IDs
are contained in the packet.
|
boolean |
Packet.hasAny(ProtocolId... ids)
Returns true if any of the protocols corresponding to the IDs
are contained in the packet.
|
Protocol |
Packet.innermost(ProtocolId id)
Returns the innermost layer protocol (highest in the network stack) that
matches the provided protocol ID.
|
Copyright © 2015. All Rights Reserved.