#include "config.h"
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <arpa/inet.h>
Go to the source code of this file.
Defines | |
#define | ff_neterrno() AVERROR(errno) |
#define | FF_NETERROR(err) AVERROR(err) |
#define | EAI_FAIL 4 |
#define | EAI_FAMILY 5 |
#define | EAI_NONAME 8 |
#define | AI_PASSIVE 1 |
#define | AI_CANONNAME 2 |
#define | AI_NUMERICHOST 4 |
#define | NI_NOFQDN 1 |
#define | NI_NUMERICHOST 2 |
#define | NI_NAMERQD 4 |
#define | NI_NUMERICSERV 8 |
#define | NI_DGRAM 16 |
Functions | |
int | ff_socket_nonblock (int socket, int enable) |
static int | ff_network_init (void) |
static void | ff_network_close (void) |
int | ff_inet_aton (const char *str, struct in_addr *add) |
#define AI_NUMERICHOST 4 |
#define AI_PASSIVE 1 |
#define ff_neterrno | ( | ) | AVERROR(errno) |
Definition at line 39 of file network.h.
Referenced by handle_connection(), http_receive_data(), http_send_data(), http_server(), rtp_read(), tcp_open(), tcp_read(), tcp_write(), udp_read(), and udp_write().
#define FF_NETERROR | ( | err | ) | AVERROR(err) |
Definition at line 40 of file network.h.
Referenced by ff_rtsp_connect(), handle_connection(), http_receive_data(), http_send_data(), http_server(), print_error(), rtp_read(), tcp_open(), tcp_read(), tcp_write(), udp_read(), udp_read_packet(), and udp_write().
#define NI_NUMERICHOST 2 |
Definition at line 125 of file network.h.
Referenced by ff_rtsp_connect(), and resolve_destination().
#define NI_NUMERICSERV 8 |
int ff_inet_aton | ( | const char * | str, | |
struct in_addr * | add | |||
) |
Definition at line 63 of file os_support.c.
Referenced by resolve_host(), rtsp_parse_transport(), and sdp_parse_line().
static void ff_network_close | ( | void | ) | [inline, static] |
Definition at line 59 of file network.h.
Referenced by ff_rtsp_connect(), rtsp_read_close(), rtsp_write_close(), sdp_read_close(), sdp_read_header(), url_close(), and url_open_protocol().
static int ff_network_init | ( | void | ) | [inline, static] |
Definition at line 49 of file network.h.
Referenced by ff_rtsp_connect(), sdp_read_header(), and url_open_protocol().
int ff_socket_nonblock | ( | int | socket, | |
int | enable | |||
) |
Definition at line 226 of file os_support.c.
Referenced by new_connection(), socket_open_listen(), tcp_open(), and udp_open().