Searched refs:cur_ai (Results 1 – 3 of 3) sorted by relevance
/third_party/ffmpeg/libavformat/ |
D | tcp.c | 105 struct addrinfo hints = { 0 }, *ai, *cur_ai; in tcp_open() local 159 cur_ai = ai; in tcp_open() 163 if (cur_ai->ai_family == AF_INET6){ in tcp_open() 164 struct sockaddr_in6 * sockaddr_v6 = (struct sockaddr_in6 *)cur_ai->ai_addr; in tcp_open() 172 while (cur_ai && fd < 0) { in tcp_open() 173 fd = ff_socket(cur_ai->ai_family, in tcp_open() 174 cur_ai->ai_socktype, in tcp_open() 175 cur_ai->ai_protocol); in tcp_open() 178 cur_ai = cur_ai->ai_next; in tcp_open() 188 if ((ret = ff_listen(fd, cur_ai->ai_addr, cur_ai->ai_addrlen)) < 0) in tcp_open() [all …]
|
D | sctp.c | 180 struct addrinfo *ai, *cur_ai; in sctp_open() local 220 cur_ai = ai; in sctp_open() 223 fd = ff_socket(cur_ai->ai_family, SOCK_STREAM, IPPROTO_SCTP); in sctp_open() 230 if ((fd = ff_listen_bind(fd, cur_ai->ai_addr, cur_ai->ai_addrlen, in sctp_open() 236 if ((ret = ff_listen_connect(fd, cur_ai->ai_addr, cur_ai->ai_addrlen, in sctp_open() 237 s->timeout, h, !!cur_ai->ai_next)) < 0) { in sctp_open() 276 if (cur_ai->ai_next) { in sctp_open() 278 cur_ai = cur_ai->ai_next; in sctp_open()
|
D | libsrt.c | 365 struct addrinfo hints = { 0 }, *ai, *cur_ai; in libsrt_setup() local 409 cur_ai = ai; in libsrt_setup() 418 fd = srt_socket(cur_ai->ai_family, cur_ai->ai_socktype, 0); in libsrt_setup() 441 …if ((ret = libsrt_listen(s->eid, fd, cur_ai->ai_addr, cur_ai->ai_addrlen, h, s->listen_timeout)) <… in libsrt_setup() 447 ret = srt_bind(fd, cur_ai->ai_addr, cur_ai->ai_addrlen); in libsrt_setup() 452 if ((ret = libsrt_listen_connect(s->eid, fd, cur_ai->ai_addr, cur_ai->ai_addrlen, in libsrt_setup() 453 open_timeout, h, !!cur_ai->ai_next)) < 0) { in libsrt_setup() 482 if (cur_ai->ai_next) { in libsrt_setup() 484 cur_ai = cur_ai->ai_next; in libsrt_setup()
|