libavformat/network.h File Reference

#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 Documentation

#define AI_CANONNAME   2

Definition at line 113 of file network.h.

#define AI_NUMERICHOST   4

Definition at line 117 of file network.h.

Referenced by ff_url_join().

#define AI_PASSIVE   1

Definition at line 109 of file network.h.

Referenced by udp_socket_create().

#define EAI_FAIL   4

Definition at line 97 of file network.h.

#define EAI_FAMILY   5

Definition at line 101 of file network.h.

#define EAI_NONAME   8

Definition at line 105 of file network.h.

 
#define ff_neterrno (  )     AVERROR(errno)

#define FF_NETERROR ( err   )     AVERROR(err)

#define NI_DGRAM   16

Definition at line 137 of file network.h.

#define NI_NAMERQD   4

Definition at line 129 of file network.h.

#define NI_NOFQDN   1

Definition at line 121 of file network.h.

#define NI_NUMERICHOST   2

Definition at line 125 of file network.h.

Referenced by ff_rtsp_connect(), and resolve_destination().

#define NI_NUMERICSERV   8

Definition at line 133 of file network.h.

Referenced by udp_port().


Function Documentation

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]

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().


Generated on Tue Apr 20 17:39:52 2010 for FFmpeg by  doxygen 1.5.6