Home
last modified time | relevance | path

Searched refs:min_port (Results 1 – 4 of 4) sorted by relevance

/device/google/cuttlefish/host/frontend/webrtc/libcommon/
Dport_range_socket_factory.cpp27 std::pair<uint16_t, uint16_t> own_range, uint16_t min_port, in IntersectPortRanges() argument
31 return {min_port, max_port}; in IntersectPortRanges()
33 if (min_port == max_port && max_port == 0) { in IntersectPortRanges()
40 if (min_port > own_max_port || max_port < own_min_port) { in IntersectPortRanges()
42 LOG(WARNING) << "Port ranges don't intersect: requested=[" << min_port in IntersectPortRanges()
46 return {std::max(min_port, own_min_port), std::min(max_port, own_max_port)}; in IntersectPortRanges()
59 const rtc::SocketAddress& local_address, uint16_t min_port, in CreateUdpSocket() argument
61 auto port_range = IntersectPortRanges(udp_port_range_, min_port, max_port); in CreateUdpSocket()
71 const rtc::SocketAddress& local_address, uint16_t min_port, in CreateServerTcpSocket() argument
73 auto port_range = IntersectPortRanges(tcp_port_range_, min_port, max_port); in CreateServerTcpSocket()
Dport_range_socket_factory.h37 const rtc::SocketAddress& local_address, uint16_t min_port,
41 const rtc::SocketAddress& local_address, uint16_t min_port,
Dpeer_connection_utils.cpp76 uint16_t min_port, uint16_t max_port, in CreatePeerConnection() argument
81 config.set_min_port(min_port); in CreatePeerConnection()
Dpeer_connection_utils.h42 uint16_t min_port, uint16_t max_port,