#include <errno.h>#include <stdint.h>#include "config.h"#include "libavutil/error.h"#include "os_support.h"#include "avio.h"#include "url.h"#include <sys/types.h>#include <sys/socket.h>#include <netinet/in.h>#include <netdb.h>Go to the source code of this file.
Definition at line 64 of file network.h.
Referenced by ff_listen_bind(), ff_listen_connect(), ff_network_wait_fd(), handle_connection(), http_receive_data(), http_send_data(), http_server(), log_net_error(), rtp_read(), rtp_write(), sctp_read(), sctp_wait_fd(), sctp_write(), tcp_open(), tcp_read(), tcp_write(), udp_read(), udp_set_multicast_sources(), udp_write(), unix_open(), unix_read(), and unix_write().
Definition at line 157 of file network.h.
Referenced by tcp_open(), and udp_socket_create().
Definition at line 165 of file network.h.
Referenced by ff_url_join(), get_sockaddr(), and tls_open().
Definition at line 181 of file network.h.
Referenced by udp_port().
Definition at line 195 of file network.h.
Referenced by ff_url_join(), get_sockaddr(), resolve_host(), rtp_resolve_host(), sap_write_header(), sctp_open(), tcp_open(), tls_open(), and udp_resolve_host().
Definition at line 196 of file network.h.
Referenced by ff_url_join(), get_sockaddr(), resolve_host(), rtp_parse_addr_list(), sap_write_header(), sctp_open(), tcp_open(), tls_open(), udp_set_multicast_sources(), udp_set_url(), and udp_socket_create().
Definition at line 197 of file network.h.
Referenced by udp_port().
Definition at line 202 of file network.h.
Referenced by rtp_resolve_host(), sctp_open(), tcp_open(), udp_port(), and udp_resolve_host().
Definition at line 218 of file network.h.
Referenced by ff_is_multicast_address().
Definition at line 221 of file network.h.
Referenced by ff_is_multicast_address().
Definition at line 226 of file network.h.
Referenced by ff_poll_interrupt().
Referenced by ff_listen_bind(), ff_listen_connect(), new_connection(), sctp_open(), socket_open_listen(), and udp_open().
Definition at line 126 of file network.c.
Referenced by avformat_network_init(), sap_read_header(), sap_write_header(), and url_alloc_for_protocol().
Definition at line 173 of file network.c.
Referenced by avformat_network_deinit(), ffurl_closep(), rtsp_read_close(), rtsp_write_close(), sap_read_close(), sap_write_close(), and url_alloc_for_protocol().
Definition at line 69 of file network.c.
Referenced by avformat_network_init(), and tls_open().
Definition at line 101 of file network.c.
Referenced by avformat_network_deinit(), tls_close(), and tls_open().
Definition at line 144 of file network.c.
Referenced by ff_network_wait_fd_timeout(), rtp_write(), udp_read(), udp_write(), unix_read(), and unix_write().
This works similarly to ff_network_wait_fd, but waits up to 'timeout' microseconds Uses ff_network_wait_fd in a loop.
Socket descriptor Set 1 to wait for socket able to be read, 0 to be written Timeout interval, in microseconds. Actual precision is 100000 mcs, due to ff_network_wait_fd usage
Definition at line 153 of file network.c.
Referenced by tcp_read(), and tcp_write().
Referenced by resolve_host().
Definition at line 202 of file network.c.
Referenced by ff_udp_set_remote_url().
Bind to a file descriptor and poll for a connection.
Definition at line 257 of file network.c.
Referenced by tcp_open(), and unix_open().
Connect to a file descriptor and poll for result.
Definition at line 288 of file network.c.
Referenced by tcp_open(), and unix_open().
Definition at line 356 of file network.c.
Referenced by http_open_cnx(), test(), and tls_open().
Definition at line 237 of file network.c.
Referenced by sctp_open(), tcp_open(), udp_socket_create(), and unix_open().
Definition at line 124 of file network.c.
Referenced by avformat_network_init().