Searched refs:is_tcp (Results 1 – 7 of 7) sorted by relevance
/external/tensorflow/tensorflow/tsl/platform/windows/ |
D | net.cc | 35 bool IsPortAvailable(int* port, bool is_tcp) { in IsPortAvailable() argument 36 const int protocol = is_tcp ? IPPROTO_TCP : 0; in IsPortAvailable() 37 SOCKET sock = socket(AF_INET, is_tcp ? SOCK_STREAM : SOCK_DGRAM, protocol); in IsPortAvailable() 108 bool is_tcp = true; in PickUnusedPortOrDie() local 126 if (!IsPortAvailable(&port, is_tcp)) { in PickUnusedPortOrDie() 131 if (!IsPortAvailable(&port, !is_tcp)) { in PickUnusedPortOrDie() 132 is_tcp = !is_tcp; in PickUnusedPortOrDie()
|
/external/tensorflow/tensorflow/tsl/platform/default/ |
D | net.cc | 40 bool IsPortAvailable(int* port, bool is_tcp) { in IsPortAvailable() argument 41 const int protocol = is_tcp ? IPPROTO_TCP : 0; in IsPortAvailable() 42 const int fd = socket(AF_INET, is_tcp ? SOCK_STREAM : SOCK_DGRAM, protocol); in IsPortAvailable() 109 bool is_tcp = true; in PickUnusedPortOrDie() local 131 if (!IsPortAvailable(&port, is_tcp)) { in PickUnusedPortOrDie() 136 if (!IsPortAvailable(&port, !is_tcp)) { in PickUnusedPortOrDie() 137 is_tcp = !is_tcp; in PickUnusedPortOrDie()
|
/external/linux-kselftest/tools/testing/selftests/bpf/progs/ |
D | xdpwall.c | 89 bool is_tcp; member 241 match_info->is_tcp = true; in filter_transport_hdr() 359 if (match_info.is_tcp && !match_info.is_tcp_syn) in edgewall()
|
/external/curl/lib/ |
D | cf-socket.c | 1131 bool is_tcp; in cf_socket_open() local 1167 is_tcp = (ctx->addr.family == AF_INET in cf_socket_open() 1171 is_tcp = (ctx->addr.family == AF_INET) && in cf_socket_open() 1174 if(is_tcp && data->set.tcp_nodelay) in cf_socket_open() 1181 if(is_tcp && data->set.tcp_keepalive) in cf_socket_open()
|
/external/dnsmasq/src/ |
D | network.c | 620 int local_bind(int fd, union mysockaddr* addr, char* intname, uint32_t mark, int is_tcp) { in local_bind() argument 624 if (is_tcp) { in local_bind()
|
D | dnsmasq.h | 730 int local_bind(int fd, union mysockaddr* addr, char* intname, uint32_t mark, int is_tcp);
|
/external/libevent/ |
D | ChangeLog-2.0 | 645 o Replace (unused,always 0) is_tcp argument to evdns_add_server_port*() with flags (e1c1167)
|