// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef NET_QUIC_QUIC_ADDRESS_MISMATCH_H_ #define NET_QUIC_QUIC_ADDRESS_MISMATCH_H_ #include "net/base/ip_endpoint.h" #include "net/base/net_export.h" namespace net { enum QuicAddressMismatch { … }; // Returns a value of the QuicAddressMismatch enum type that indicates how // |first_address| differs from |second_address|. Returns -1 if either address // is empty. NET_EXPORT_PRIVATE int GetAddressMismatch(const IPEndPoint& first_address, const IPEndPoint& second_address); } // namespace net #endif // NET_QUIC_QUIC_ADDRESS_MISMATCH_H_