## Uses of Class
com.h3c.util.ip.EthernetType

- Packages that use EthernetType
  Package | Description
  --- | ---
  com.h3c.of.json | JSON factory and codecs for Openflow structures.
  com.h3c.of.lib.instr | Representations of OpenFlow Protocol Instructions and Actions.
  com.h3c.of.lib.match | Representations of OpenFlow Protocol Match Structures.
  com.h3c.util.ip |
  com.h3c.util.pkt |

- - ### Uses of EthernetType in com.h3c.of.json

    Methods in com.h3c.of.json that return EthernetType
    Modifier and Type | Method and Description
    --- | ---
    `static EthernetType` | CodecUtils.`decodeEthType(com.fasterxml.jackson.databind.JsonNode value)` Converts JsonNode into EthernetType object.

    Methods in com.h3c.of.json with parameters of type EthernetType
    Modifier and Type | Method and Description
    --- | ---
    `static String` | CodecUtils.`encodeEthType(EthernetType ethType)` Converts EthernetType into String.

  - ### Uses of EthernetType in com.h3c.of.lib.instr

    Methods in com.h3c.of.lib.instr with parameters of type EthernetType
    Modifier and Type | Method and Description
    --- | ---
    `static Action` | ActionFactory.`createAction(ProtocolVersion pv, ActionType type, EthernetType ethType)` Creates an EthernetType-based action.
    `static Action` | ActionFactory.`createActionSetField(ProtocolVersion pv, OxmBasicFieldType ft, EthernetType ethType)` Creates a set-field action for an ETH_TYPE match field, using the given protocol version.

  - ### Uses of EthernetType in com.h3c.of.lib.match

    Methods in com.h3c.of.lib.match that return EthernetType
    Modifier and Type | Method and Description
    --- | ---
    `EthernetType` | MfbEthType.`getEthernetType()` Returns the Ethernet type.

    Methods in com.h3c.of.lib.match with parameters of type EthernetType
    Modifier and Type | Method and Description
    --- | ---
    `static MFieldBasic` | FieldFactory.`createBasicField(ProtocolVersion pv, OxmBasicFieldType ft, EthernetType ethType)` Creates a basic match field for an ETH_TYPE match field.

  - ### Uses of EthernetType in com.h3c.util.ip

    Fields in com.h3c.util.ip declared as EthernetType
    Modifier and Type | Field and Description
    --- | ---
    `static EthernetType` | EthernetType.`ARP` The instance representing ARP (0x0806).
    `static EthernetType` | EthernetType.`BDDP` The instance representing BDDP (0x8999).
    `static EthernetType` | EthernetType.`IPv4` The instance representing IPv4 (0x0800).
    `static EthernetType` | EthernetType.`IPv6` The instance representing IPv6 (0x86dd).
    `static EthernetType` | EthernetType.`LLDP` The instance representing LLDP (0x88cc).
    `static EthernetType` | EthernetType.`MPLS_M` The instance representing MPLS (multicast) (0x8848).
    `static EthernetType` | EthernetType.`MPLS_U` The instance representing MPLS (unicast) (0x8847).
    `static EthernetType` | EthernetType.`PBB` The instance representing PBB (0x88e7).
    `static EthernetType` | EthernetType.`PRV_BRDG` The instance representing PRV_BRDG (0x88a8).
    `static EthernetType` | EthernetType.`RARP` The instance representing RARP (0x8035).
    `static EthernetType` | EthernetType.`SNMP` The instance representing SNMP (0x814c).
    `static EthernetType` | EthernetType.`VLAN` The instance representing VLAN (0x8100).

    Methods in com.h3c.util.ip that return EthernetType
    Modifier and Type | Method and Description
    --- | ---
    `static EthernetType` | EthernetType.`valueOf(int typeNumber)` Returns an object that represents the value of the Ethernet type identified by the specified number.
    `static EthernetType` | EthernetType.`valueOf(String value)` Returns an object that represents the value of the Ethernet type identified by the specified string.

    Methods in com.h3c.util.ip with parameters of type EthernetType
    Modifier and Type | Method and Description
    --- | ---
    `int` | EthernetType.`compareTo(EthernetType o)` Implements the Comparable interface, to return Ethernet types in natural order.

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

    Fields in com.h3c.util.pkt declared as EthernetType
    Modifier and Type | Field and Description
    --- | ---
    `static EthernetType` | Ethernet.`NONE` Used to indicate 802.3 Snap packet types.

    Methods in com.h3c.util.pkt that return EthernetType
    Modifier and Type | Method and Description
    --- | ---
    `EthernetType` | PacketReader.`readEthernetType()` Reads an Ethernet type from the buffer.
    `EthernetType` | Ethernet.`type()` Returns the Ethernet type.

    Methods in com.h3c.util.pkt with parameters of type EthernetType
    Modifier and Type | Method and Description
    --- | ---
    `Ethernet.Builder` | Ethernet.Builder.`type(EthernetType type)` Sets the ethernet type.
    `void` | PacketWriter.`write(EthernetType et)` Writes an Ethernet Type value (u16) to the buffer.

Copyright © 2014. All Rights Reserved.