Home
last modified time | relevance | path

Searched refs:max_port (Results 1 – 2 of 2) sorted by relevance

/device/google/cuttlefish/host/frontend/webrtc/lib/
Dport_range_socket_factory.cpp28 uint16_t max_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()
43 << "," << max_port << "], configured=[" << own_min_port << "," in IntersectPortRanges()
46 return {std::max(min_port, own_min_port), std::min(max_port, own_max_port)}; in IntersectPortRanges()
60 uint16_t max_port) { in CreateUdpSocket() argument
61 auto port_range = IntersectPortRanges(udp_port_range_, min_port, max_port); in CreateUdpSocket()
72 uint16_t max_port, int opts) { in CreateServerTcpSocket() argument
73 auto port_range = IntersectPortRanges(tcp_port_range_, min_port, max_port); in CreateServerTcpSocket()
Dport_range_socket_factory.h38 uint16_t max_port) override;
42 uint16_t max_port, int opts) override;