@Override public boolean equals(final Object obj) { if (this == obj) { return true; } if (!super.equals(obj)) { return false; } if (!(obj instanceof Slow)) { return false; } final Slow other = (Slow) obj; return this.subtype == other.subtype; }
@Override public boolean equals(final Object obj) { if (this == obj) { return true; } if (!super.equals(obj)) { return false; } if (!(obj instanceof EncapSecurityPayload)) { return false; } final EncapSecurityPayload other = (EncapSecurityPayload) obj; if (this.securityParamIndex != other.securityParamIndex) { return false; } if (this.sequence != other.sequence) { return false; } return true; }
@Override public boolean equals(final Object obj) { if (this == obj) { return true; } if (!super.equals(obj)) { return false; } if (!(obj instanceof ICMPEcho)) { return false; } final ICMPEcho other = (ICMPEcho) obj; if (this.identifier != other.identifier) { return false; } if (this.sequenceNum != other.sequenceNum) { return false; } return true; }
@Override public boolean equals(final Object obj) { if (this == obj) { return true; } if (!super.equals(obj)) { return false; } if (!(obj instanceof ICMP)) { return false; } final ICMP other = (ICMP) obj; if (this.icmpType != other.icmpType) { return false; } if (this.icmpCode != other.icmpCode) { return false; } if (this.checksum != other.checksum) { return false; } return true; }
@Override public boolean equals(final Object obj) { if (this == obj) { return true; } if (!super.equals(obj)) { return false; } if (!(obj instanceof PIM)) { return false; } final PIM other = (PIM) obj; if (this.type != other.type) { return false; } if (this.version != other.version) { return false; } if (this.checksum != other.checksum) { return false; } return true; }
@Override public boolean equals(final Object obj) { if (this == obj) { return true; } if (!super.equals(obj)) { return false; } if (!(obj instanceof ICMP6)) { return false; } final ICMP6 other = (ICMP6) obj; if (this.icmpType != other.icmpType) { return false; } if (this.icmpCode != other.icmpCode) { return false; } if (this.checksum != other.checksum) { return false; } return true; }
@Override public boolean equals(final Object obj) { if (this == obj) { return true; } if (!super.equals(obj)) { return false; } if (!(obj instanceof Fragment)) { return false; } final Fragment other = (Fragment) obj; if (this.nextHeader != other.nextHeader) { return false; } if (this.fragmentOffset != other.fragmentOffset) { return false; } if (this.moreFragment != other.moreFragment) { return false; } if (this.identification != other.identification) { return false; } return true; }
@Override public boolean equals(final Object obj) { if (this == obj) { return true; } if (!super.equals(obj)) { return false; } if (!(obj instanceof UDP)) { return false; } final UDP other = (UDP) obj; if (this.checksum != other.checksum) { return false; } if (this.destinationPort != other.destinationPort) { return false; } if (this.length != other.length) { return false; } if (this.sourcePort != other.sourcePort) { return false; } return true; }
@Override public boolean equals(final Object obj) { if (this == obj) { return true; } if (!super.equals(obj)) { return false; } if (!(obj instanceof Lacp)) { return false; } final Lacp other = (Lacp) obj; return this.lacpVersion == other.lacpVersion && Objects.equals(this.tlv, other.tlv); }
@Override public boolean equals(final Object obj) { if (this == obj) { return true; } if (!super.equals(obj)) { return false; } if (!(obj instanceof Data)) { return false; } final Data other = (Data) obj; if (!Arrays.equals(this.data, other.data)) { return false; } return true; }
@Override public boolean equals(final Object obj) { if (this == obj) { return true; } if (!(obj instanceof RIPng)) { return false; } final RIPng that = (RIPng) obj; return super.equals(that) && Objects.equals(version, that.version) && Objects.equals(reserved, that.reserved) && Objects.equals(cmdType, that.cmdType) && Objects.equals(rtEntries, that.rtEntries); }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null || getClass() != obj.getClass()) { return false; } if (!super.equals(obj)) { return false; } final Dhcp6Option other = (Dhcp6Option) obj; return Objects.equals(this.code, other.code) && Objects.equals(this.length, other.length); } }
@Override public boolean equals(final Object obj) { if (this == obj) { return true; } if (!(obj instanceof RIPngEntry)) { return false; } final RIPngEntry that = (RIPngEntry) obj; return super.equals(that) && Objects.equals(metric, that.metric) && Objects.equals(prefixLen, that.prefixLen) && Arrays.equals(prefix, that.prefix) && Objects.equals(routeTag, that.routeTag); } /**
@Override public boolean equals(final Object obj) { if (this == obj) { return true; } if (!(obj instanceof RIP)) { return false; } final RIP that = (RIP) obj; return super.equals(that) && Objects.equals(version, that.version) && Objects.equals(reserved, that.reserved) && Objects.equals(cmdType, that.cmdType) && Objects.equals(authEntry, that.authEntry) && Objects.equals(rtEntries, that.rtEntries); }
@Override public boolean equals(final Object obj) { if (this == obj) { return true; } if (!(obj instanceof RIPV2AuthEntry)) { return false; } final RIPV2AuthEntry that = (RIPV2AuthEntry) obj; return super.equals(that) && Objects.equals(type, that.type) && Objects.equals(addressFamilyId, that.addressFamilyId) && Objects.equals(offset, that.offset) && Objects.equals(keyId, that.keyId) && Objects.equals(authLen, that.authLen) && Objects.equals(sequence, that.sequence); }
@Override public boolean equals(final Object obj) { if (this == obj) { return true; } if (!(obj instanceof RIPV2Entry)) { return false; } final RIPV2Entry that = (RIPV2Entry) obj; return super.equals(that) && Objects.equals(routeTag, that.routeTag) && Objects.equals(metric, that.metric) && Objects.equals(addressFamilyId, that.addressFamilyId) && Objects.equals(ipAddress, that.ipAddress) && Objects.equals(nextHop, that.nextHop) && Objects.equals(subnetMask, that.subnetMask); }
@Override public boolean equals(final Object obj) { if (this == obj) { return true; } if (!super.equals(obj)) { return false; } if (!(obj instanceof RouterSolicitation)) { return false; } final RouterSolicitation other = (RouterSolicitation) obj; if (!this.options.equals(other.options)) { return false; } return true; }
@Override public boolean equals(final Object obj) { if (this == obj) { return true; } if (!super.equals(obj)) { return false; } if (!(obj instanceof NeighborSolicitation)) { return false; } final NeighborSolicitation other = (NeighborSolicitation) obj; if (!Arrays.equals(this.targetAddress, other.targetAddress)) { return false; } if (!this.options.equals(other.options)) { return false; } return true; }
@Override public boolean equals(final Object obj) { if (this == obj) { return true; } if (!super.equals(obj)) { return false; } if (!(obj instanceof Redirect)) { return false; } final Redirect other = (Redirect) obj; if (!Arrays.equals(this.targetAddress, other.targetAddress)) { return false; } if (!Arrays.equals(this.destinationAddress, other.destinationAddress)) { return false; } if (!this.options.equals(other.options)) { return false; } return true; }
@Override public boolean equals(final Object obj) { if (this == obj) { return true; } if (!super.equals(obj)) { return false; } if (!(obj instanceof VXLAN)) { return false; } final VXLAN other = (VXLAN) obj; if (this.getVni() != other.getVni()) { return false; } return true; }