// Code generated by goderive DO NOT EDIT. package satp import ( "bytes" "net" ) // deriveEqual returns whether this and that are equal. func deriveEqual(this, that *net.UDPAddr) bool { return (this == nil && that == nil) || this != nil && that != nil && bytes.Equal(this.IP, that.IP) && this.Port == that.Port && this.Zone == that.Zone }