Searched refs:udp_fd (Results 1 - 3 of 3) sorted by relevance
/third_party/ffmpeg/libavformat/ |
H A D | udp.c | 85 int udp_fd; member 359 int udp_fd = -1; in udp_socket_create() local 372 udp_fd = ff_socket(res->ai_family, SOCK_DGRAM, IPPROTO_UDPLITE, h); in udp_socket_create() 374 udp_fd = ff_socket(res->ai_family, SOCK_DGRAM, 0, h); in udp_socket_create() 375 if (udp_fd != -1) break; in udp_socket_create() 379 if (udp_fd < 0) in udp_socket_create() 387 return udp_fd; in udp_socket_create() 390 if (udp_fd >= 0) in udp_socket_create() 391 closesocket(udp_fd); in udp_socket_create() 448 if (connect(s->udp_fd, (struc in ff_udp_set_remote_url() 648 int port, udp_fd = -1, tmp, bind_ret = -1, dscp = -1; udp_open() local [all...] |
H A D | sapenc.c | 79 int udp_fd; in sap_write_header() local 186 udp_fd = ffurl_get_file_handle(sap->ann_fd); in sap_write_header() 187 if (getsockname(udp_fd, (struct sockaddr*) &localaddr, &addrlen)) { in sap_write_header()
|
/third_party/ltp/testcases/kernel/syscalls/accept/ |
H A D | accept01.c | 31 int udp_fd; variable 65 PF_INET, SOCK_STREAM, 0, &udp_fd, (struct sockaddr *)&fsin1, 85 udp_fd = SAFE_SOCKET(PF_INET, SOCK_DGRAM, 0); in test_setup() 86 SAFE_BIND(udp_fd, (struct sockaddr *)&sin1, sizeof(sin1)); in test_setup() 93 SAFE_CLOSE(udp_fd); in test_cleanup()
|
Completed in 3 milliseconds