#include "config.h"
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
Go to the source code of this file.
Defines | |
#define | ff_neterrno() errno |
#define | FF_NETERROR(err) err |
Functions | |
int | ff_socket_nonblock (int socket, int enable) |
static int | ff_network_init (void) |
static void | ff_network_close (void) |
int | inet_aton (const char *str, struct in_addr *add) |
#define ff_neterrno | ( | ) | 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 | ) | err |
Definition at line 40 of file network.h.
Referenced by handle_connection(), http_receive_data(), http_send_data(), http_server(), print_error(), rtp_read(), rtsp_read_header(), tcp_open(), tcp_read(), tcp_write(), udp_read(), and udp_write().
static void ff_network_close | ( | void | ) | [inline, static] |
static int ff_network_init | ( | void | ) | [inline, static] |
int ff_socket_nonblock | ( | int | socket, | |
int | enable | |||
) |
Referenced by new_connection(), socket_open_listen(), tcp_open(), and udp_open().
int inet_aton | ( | const char * | str, | |
struct in_addr * | add | |||
) |
Referenced by rtsp_parse_transport(), and sdp_parse_line().