Home
last modified time | relevance | path

Searched refs:udp_fd (Results 1 – 3 of 3) sorted by relevance

/third_party/ffmpeg/libavformat/
Dudp.c85 int udp_fd; member
338 int udp_fd = -1; in udp_socket_create() local
351 udp_fd = ff_socket(res->ai_family, SOCK_DGRAM, IPPROTO_UDPLITE); in udp_socket_create()
353 udp_fd = ff_socket(res->ai_family, SOCK_DGRAM, 0); in udp_socket_create()
354 if (udp_fd != -1) break; in udp_socket_create()
358 if (udp_fd < 0) in udp_socket_create()
366 return udp_fd; in udp_socket_create()
369 if (udp_fd >= 0) in udp_socket_create()
370 closesocket(udp_fd); in udp_socket_create()
427 if (connect(s->udp_fd, (struct sockaddr *) &s->dest_addr, in ff_udp_set_remote_url()
[all …]
Dsapenc.c78 int udp_fd; in sap_write_header() local
185 udp_fd = ffurl_get_file_handle(sap->ann_fd); in sap_write_header()
186 if (getsockname(udp_fd, (struct sockaddr*) &localaddr, &addrlen)) { in sap_write_header()
/third_party/ltp/testcases/kernel/syscalls/accept/
Daccept01.c31 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()