## Uses of Class
com.h3c.util.pkt.Packet

- Packages that use Packet
  Package | Description
  --- | ---
  com.h3c.of.ctl.pkt | Public API for the OpenFlow Packet Sequencer and participating Packet Listeners.
  com.h3c.sdn.common | Definitions of general services applicable to multiple tiers of the SDN Controller.
  com.h3c.sdn.ctl.diag | Model objects for path diagnostic application.
  com.h3c.sdn.diag | Definitions of the path diagnostic service.
  com.h3c.sdn.flowmgr | Definitions of the services provided by the Flow Manager Application.
  com.h3c.util.pkt |

- - ### Uses of Packet in com.h3c.of.ctl.pkt

    Methods in com.h3c.of.ctl.pkt that return Packet
    Modifier and Type | Method and Description
    --- | ---
    `Packet` | MessageContext.`decodedPacket()` Returns the decoded packet data generated by the Network Packet Library facility.
    `Packet` | MessageContextAdapter.`decodedPacket()`

  - ### Uses of Packet in com.h3c.sdn.common

    Methods in com.h3c.sdn.common that return Packet
    Modifier and Type | Method and Description
    --- | ---
    `Packet` | PacketModel.`packet()` Returns the packet associated with this packet model.

  - ### Uses of Packet in com.h3c.sdn.ctl.diag

    Methods in com.h3c.sdn.ctl.diag that return Packet
    Modifier and Type | Method and Description
    --- | ---
    `Packet` | DiagPacket.`packet()` Returns the packet associated with this packet model.

    Constructors in com.h3c.sdn.ctl.diag with parameters of type Packet
    Constructor and Description
    `DiagPacket(Packet packet, String uid)` Constructs a packet model with the specified packet and an identifier which should be generated via nextId().

  - ### Uses of Packet in com.h3c.sdn.diag

    Methods in com.h3c.sdn.diag with parameters of type Packet
    Modifier and Type | Method and Description
    --- | ---
    `PacketModel` | PathDiagnosticService.`registerPacket(Packet packet)` Registers and returns a packet model for the specified packet.

  - ### Uses of Packet in com.h3c.sdn.flowmgr

    Methods in com.h3c.sdn.flowmgr with parameters of type Packet
    Modifier and Type | Method and Description
    --- | ---
    `List<FlowRule>` | FlowService.`getFlows(DataPathId dpid, Packet pkt)` Deprecated. Returns the list of flow rules that the given packet would hit, for the specified datapath.

  - ### Uses of Packet in com.h3c.util.pkt

    Methods in com.h3c.util.pkt that return Packet
    Modifier and Type | Method and Description
    --- | ---
    `static Packet` | Codec.`decodeEthernet(byte[] fb)` Decodes an Ethernet packet.
    `static Packet` | Codec.`decodeEthernet(byte[] fb, int height)` Decodes an Ethernet packet.
    `Packet` | ProtocolException.`packet()` Returns the packet associated with this exception or null.

    Methods in com.h3c.util.pkt with parameters of type Packet
    Modifier and Type | Method and Description
    --- | ---
    `static byte[]` | Codec.`encode(Packet pkt)` Encode a packet.
    `static byte[]` | Codec.`encode(Packet pkt, int minLen)` Encode a packet specifying the minimum encode length.

    Constructors in com.h3c.util.pkt with parameters of type Packet
    Constructor and Description
    `ProtocolException(ProtocolException e, Packet pkt)` Constructs a new runtime exception for the specified packet and protocol.

Copyright © 2014. All Rights Reserved.