/dports/audio/liblo/liblo-0.31/src/ |
H A D | server.c | 1018 uint32_t lo_server_buffer_contains_msg(lo_server s, int isock) argument 1020 struct socket_context *sc = &s->contexts[isock]; 1034 struct socket_context *sc = &s->contexts[isock]; 1035 uint32_t msg_len = lo_server_buffer_contains_msg(s, isock); 1059 int lo_server_recv_raw_stream_socket(lo_server s, int isock, argument 1062 struct socket_context *sc = &s->contexts[isock]; 1072 if ((*pdata = lo_server_buffer_copy_for_dispatch(s, isock, psize))) 1120 bytes_recv = recv(s->sockets[isock].fd, 1131 closesocket(s->sockets[isock].fd); 1132 lo_server_del_socket(s, isock, s->sockets[isock].fd); [all …]
|
/dports/dns/dnrd/dnrd-2.20.3/src/ |
H A D | common.c | 62 int isock = -1; variable 284 if (isock >= 0) close(isock); in cleanexit()
|
H A D | common.h | 85 extern int isock; /* for communication with clients */
|
H A D | main.c | 157 if ((isock = socket(AF_INET, SOCK_DGRAM, 0)) < 0) { in init_socket() 162 setsockopt(isock, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt)); in init_socket() 165 if (bind(isock, (struct sockaddr *)&recv_addr, sizeof(recv_addr)) < 0) in init_socket()
|
H A D | relay.c | 263 FD_SET(isock, &fdmaster); in run() 266 maxsock = (tcpsock > isock) ? tcpsock : isock; in run() 268 maxsock = isock; in run() 314 if (FD_ISSET(isock, &fdread)) { in run()
|
H A D | udp.c | 108 len = recvfrom(isock, msg, maxsize, 0, in udp_handle_request() 124 if (sendto(isock, msg, len, 0, (const struct sockaddr *)&from_addr, in udp_handle_request() 172 if (sendto(isock, msg, len, 0, (const struct sockaddr *)&from_addr, in udp_handle_request() 271 if (sendto(isock, msg, len, 0, in udp_handle_reply()
|
/dports/dns/pdnsd/pdnsd-1.2.9a/src/ |
H A D | icmp.c | 163 int isock; in ping4() local 169 isock=ping_isocket; in ping4() 233 FD_SET(isock, &fds); in ping4() 245 psres=select(isock+1,&fds,NULL,&fdse,&tv); in ping4() 248 pfd.fd=isock; in ping4() 274 if (FD_ISSET(isock,&fds) || FD_ISSET(isock,&fdse)) in ping4() 375 int isock; in ping6() local 379 isock=ping6_isocket; in ping6() 425 FD_SET(isock, &fds); in ping6() 440 pfd.fd=isock; in ping6() [all …]
|
/dports/ftp/ftpproxy/ftpproxy-1.2.3/src/ |
H A D | ftp.c | 170 if (ch->isock >= 0) in close_ch() 171 close(ch->isock); in close_ch() 176 ch->isock = -1; in close_ch() 223 FD_SET(x->ch.isock, &fdset); in getc_fd() 224 if (x->ch.isock > max) in getc_fd() 225 max = x->ch.isock; in getc_fd() 227 x->ch.active = x->ch.isock; in getc_fd() 343 dup2(sock, x->ch.isock); in getc_fd() 365 x->ch.other = x->ch.isock; in getc_fd() 716 ch->isock = -1; in doport() [all …]
|
H A D | ftp.h | 106 int isock; member
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/lib/mdns/ |
H A D | mdns.c | 468 for (int isock = 0; isock < num_sockets; ++isock) { in send_dns_sd() local 489 for (int isock = 0; isock < num_sockets; ++isock) { in send_dns_sd() local 498 for (int isock = 0; isock < num_sockets; ++isock) { in send_dns_sd() local 509 for (int isock = 0; isock < num_sockets; ++isock) in send_dns_sd() local 533 for (int isock = 0; isock < num_sockets; ++isock) { in send_mdns_query() local 551 for (int isock = 0; isock < num_sockets; ++isock) { in send_mdns_query() local 560 for (int isock = 0; isock < num_sockets; ++isock) { in send_mdns_query() local 572 for (int isock = 0; isock < num_sockets; ++isock) in send_mdns_query() local 607 for (int isock = 0; isock < num_sockets; ++isock) { in service_mdns() local 614 for (int isock = 0; isock < num_sockets; ++isock) { in service_mdns() local [all …]
|
/dports/graphics/blender/blender-2.91.0/source/blender/nodes/shader/ |
H A D | node_shader_tree.c | 340 static void ntree_shader_unlink_hidden_value_sockets(bNode *group_node, bNodeSocket *isock) in ntree_shader_unlink_hidden_value_sockets() argument 355 if (STREQ(isock->identifier, sock->link->fromsock->identifier)) { in ntree_shader_unlink_hidden_value_sockets()
|
/dports/irc/inspircd/inspircd-3.11.0/src/modules/ |
H A D | m_ident.cpp | 321 IdentRequestSocket* isock = socket.get(user); in OnSetUserIP() local 322 if (isock) in OnSetUserIP() 325 isock->Close(); in OnSetUserIP() 348 isock = new IdentRequestSocket(user); in OnSetUserIP() 349 socket.set(user, isock); in OnSetUserIP() 365 if (!isock) in OnCheckReady() 375 time_t compare = isock->age + timeout; in OnCheckReady() 385 else if (!isock->HasResult()) in OnCheckReady() 392 else if (isock->result.empty()) in OnCheckReady() 401 user->ChangeIdent(isock->result); in OnCheckReady() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/media/mtransport/ |
H A D | nricemediastream.cpp | 116 if (cand->isock) { in ToNrIceCandidate() 118 r = nr_socket_getaddr(cand->isock->sock, &addr); in ToNrIceCandidate()
|
/dports/lang/spidermonkey60/firefox-60.9.0/media/mtransport/third_party/nICEr/src/ice/ |
H A D | ice_candidate.c | 147 cand->isock=isock; in nr_ice_candidate_create() 157 if(r=nr_socket_getaddr(cand->isock->sock,&cand->base)) in nr_ice_candidate_create() 202 TAILQ_FOREACH(tmp,&isock->candidates,entry_sock){ in nr_ice_candidate_create() 214 TAILQ_INSERT_TAIL(&isock->candidates,cand,entry_sock); in nr_ice_candidate_create() 535 if(r=nr_socket_getaddr(cand->isock->sock, &addr)) in nr_ice_candidate_compute_priority() 584 if(r=nr_socket_getaddr(cand->isock->sock,&cand->addr)) in nr_ice_candidate_initialize() 586 cand->osock=cand->isock->sock; in nr_ice_candidate_initialize() 725 cand->osock=cand->isock->sock; in nr_ice_candidate_initialize2() 769 if(r=nr_stun_client_ctx_create(cand->label, cand->isock->sock, in nr_ice_srvrflx_start_stun() 809 if(r=nr_turn_client_ctx_create(cand->label, cand->isock->sock, in nr_ice_start_relay_turn() [all …]
|
H A D | ice_candidate.h | 56 nr_ice_socket *isock; /* The socket to read from member 108 …reate(struct nr_ice_ctx_ *ctx,nr_ice_component *component, nr_ice_socket *isock, nr_socket *osock,…
|
H A D | ice_candidate_pair.c | 162 nr_ice_socket_deregister(pair->local->isock,pair->stun_client_handle); in nr_ice_candidate_pair_destroy() 282 pair->local->component,pair->local->isock,pair->local->osock, in nr_ice_candidate_pair_stun_cb() 403 …if(r=nr_ice_socket_register_stun_client(pair->local->isock,pair->stun_client,&pair->stun_client_ha… in nr_ice_candidate_pair_start()
|
H A D | ice_component.c | 152 while(isock){ in nr_ice_component_destroy() 154 isock=STAILQ_NEXT(isock, entry); in nr_ice_component_destroy() 188 if(r=nr_ice_socket_register_stun_server(isock,isock->stun_server,&isock->stun_server_handle)) in nr_ice_component_create_stun_server_ctx() 204 nr_ice_socket *isock=0; in nr_ice_component_initialize_udp() local 412 if (isock) in nr_ice_component_create_tcp_host_candidate() 413 *isock=isock_tmp; in nr_ice_component_create_tcp_host_candidate() 1118 nr_ice_socket *isock; in nr_ice_component_pair_candidates() local 1155 while(isock){ in nr_ice_component_pair_candidates() 1160 isock=STAILQ_NEXT(isock,entry); in nr_ice_component_pair_candidates() 1649 isock=rcomp->nominated->local->isock; in nr_ice_component_finalize() [all …]
|
H A D | ice_parser.c | 135 cand->isock=0; in nr_ice_peer_candidate_from_attribute()
|
H A D | ice_socket.c | 254 nr_ice_socket *isock; in nr_ice_socket_destroy() local 259 isock=*isockp; in nr_ice_socket_destroy() 263 nr_ice_socket_close(isock); in nr_ice_socket_destroy() 266 nr_stun_server_ctx_destroy(&isock->stun_server); in nr_ice_socket_destroy() 270 TAILQ_REMOVE(&isock->stun_ctxs, s1, entry); in nr_ice_socket_destroy() 274 RFREE(isock); in nr_ice_socket_destroy() 279 int nr_ice_socket_close(nr_ice_socket *isock) in nr_ice_socket_close() argument 289 if (!isock||!isock->sock) in nr_ice_socket_close() 293 nr_socket_getfd(isock->sock,&fd); in nr_ice_socket_close() 294 assert(isock->sock!=0); in nr_ice_socket_close() [all …]
|
H A D | ice_socket.h | 86 int nr_ice_socket_destroy(nr_ice_socket **isock); 87 int nr_ice_socket_close(nr_ice_socket *isock);
|
/dports/lang/spidermonkey60/firefox-60.9.0/media/mtransport/third_party/nICEr/ |
H A D | upstream.diff | 42 cand->isock=isock; 119 cand->osock=cand->isock->sock; 646 isock=STAILQ_FIRST(&lcomp->sockets); 647 while(isock){ 652 isock=STAILQ_NEXT(isock,entry); 1233 cand->isock=0; 1760 RFREE(isock); 1775 if (!isock||!isock->sock) 1778 nr_socket_getfd(isock->sock,&fd); 1779 assert(isock->sock!=0); [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/media/mtransport/ |
H A D | nricemediastream.cpp | 121 if (cand->isock) { in ToNrIceCandidate() 123 r = nr_socket_getaddr(cand->isock->sock, &addr); in ToNrIceCandidate()
|
/dports/lang/spidermonkey78/firefox-78.9.0/media/mtransport/third_party/nICEr/src/ice/ |
H A D | ice_candidate.c | 143 cand->isock=isock; in nr_ice_candidate_create() 153 if(r=nr_socket_getaddr(cand->isock->sock,&cand->base)) in nr_ice_candidate_create() 198 TAILQ_FOREACH(tmp,&isock->candidates,entry_sock){ in nr_ice_candidate_create() 210 TAILQ_INSERT_TAIL(&isock->candidates,cand,entry_sock); in nr_ice_candidate_create() 543 if(r=nr_socket_getaddr(cand->isock->sock, &addr)) in nr_ice_candidate_compute_priority() 592 if(r=nr_socket_getaddr(cand->isock->sock,&cand->addr)) in nr_ice_candidate_initialize() 594 cand->osock=cand->isock->sock; in nr_ice_candidate_initialize() 733 cand->osock=cand->isock->sock; in nr_ice_candidate_initialize2() 777 if(r=nr_stun_client_ctx_create(cand->label, cand->isock->sock, in nr_ice_srvrflx_start_stun() 817 if(r=nr_turn_client_ctx_create(cand->label, cand->isock->sock, in nr_ice_start_relay_turn() [all …]
|
H A D | ice_candidate.h | 56 nr_ice_socket *isock; /* The socket to read from member 110 …reate(struct nr_ice_ctx_ *ctx,nr_ice_component *component, nr_ice_socket *isock, nr_socket *osock,…
|
H A D | ice_candidate_pair.c | 158 nr_ice_socket_deregister(pair->local->isock,pair->stun_client_handle); in nr_ice_candidate_pair_destroy() 278 pair->local->component,pair->local->isock,pair->local->osock, in nr_ice_candidate_pair_stun_cb() 405 …if(r=nr_ice_socket_register_stun_client(pair->local->isock,pair->stun_client,&pair->stun_client_ha… in nr_ice_candidate_pair_start()
|