2 * Copyright (c) 2014, Facebook, Inc.
5 * This source code is licensed under the BSD-style license found in the
6 * LICENSE file in the root directory of this source tree. An additional grant
7 * of patent rights can be found in the PATENTS file in the same directory.
12 #include <folly/io/async/AsyncSocket.h>
17 * Returns a copy of the socket options excluding options with the given
20 AsyncSocket::OptionMap filterIPSocketOptions(
21 const AsyncSocket::OptionMap& allOptions,
22 const int addrFamily);