All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pcap.codec.icmp.icmp6.Icmp6HomeAgentAddressDiscoveryRequest Maven / Gradle / Ivy

There is a newer version: 1.5.1
Show newest version
/** This code is licenced under the GPL version 2. */
package pcap.codec.icmp.icmp6;

import pcap.codec.icmp.Icmp;
import pcap.common.annotation.Inclubating;

/** @author Ardika Rommy Sanjaya */
@Inclubating
public class Icmp6HomeAgentAddressDiscoveryRequest extends Icmp.IcmpTypeAndCode {

  public static final Icmp6HomeAgentAddressDiscoveryRequest HOME_AGENT_ADDRESS_DISCOVERY_REQUEST =
      new Icmp6HomeAgentAddressDiscoveryRequest(
          (byte) 0, "Home Agent Address Discovery Request Message");

  public Icmp6HomeAgentAddressDiscoveryRequest(Byte code, String name) {
    super((byte) 144, code, name);
  }

  /**
   * Add new {@link Icmp6HomeAgentAddressDiscoveryRequest} to registry.
   *
   * @param code icmp type code.
   * @param name icmp type name.
   * @return returns {@link Icmp6HomeAgentAddressDiscoveryRequest}.
   */
  public static Icmp6HomeAgentAddressDiscoveryRequest register(Byte code, String name) {
    return new Icmp6HomeAgentAddressDiscoveryRequest(code, name);
  }

  @Override
  public String toString() {
    return super.toString();
  }

  static {
    Icmp.IcmpTypeAndCode.ICMP6_REGISTRY.add(HOME_AGENT_ADDRESS_DISCOVERY_REQUEST);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy