Go to the source code of this file.
Definition at line 50 of file tcp.c.
 
 
Definition at line 51 of file tcp.c.
 
 
Definition at line 52 of file tcp.c.
 
 
Initial value:= {
    { 
"listen",          
"Listen for incoming connections",  
OFFSET(listen),         
AV_OPT_TYPE_INT, { .i64 = 0 },     0,       2,       .flags = 
D|
E },
 
    { 
"timeout",     
"set timeout (in microseconds) of socket I/O operations", 
OFFSET(rw_timeout),     
AV_OPT_TYPE_INT, { .i64 = -1 },         -1, INT_MAX, .flags = 
D|
E },
 
    { 
"listen_timeout",  
"Connection awaiting timeout (in milliseconds)",      
OFFSET(listen_timeout), 
AV_OPT_TYPE_INT, { .i64 = -1 },         -1, INT_MAX, .flags = 
D|
E },
 
    { 
"send_buffer_size", 
"Socket send buffer size (in bytes)",                
OFFSET(send_buffer_size), 
AV_OPT_TYPE_INT, { .i64 = -1 },         -1, INT_MAX, .flags = 
D|
E },
 
    { 
"recv_buffer_size", 
"Socket receive buffer size (in bytes)",             
OFFSET(recv_buffer_size), 
AV_OPT_TYPE_INT, { .i64 = -1 },         -1, INT_MAX, .flags = 
D|
E },
 
    { 
"tcp_nodelay", 
"Use TCP_NODELAY to disable nagle's algorithm",           
OFFSET(tcp_nodelay), 
AV_OPT_TYPE_BOOL, { .i64 = 0 },             0, 1, .flags = 
D|
E },
 
    { 
"tcp_mss",     
"Maximum segment size for outgoing TCP packets",          
OFFSET(tcp_mss),     
AV_OPT_TYPE_INT, { .i64 = -1 },         -1, INT_MAX, .flags = 
D|
E },
 
}
 
Definition at line 53 of file tcp.c.
 
 
Initial value:= {
    .class_name = "tcp",
}
#define LIBAVUTIL_VERSION_INT
 
const char * av_default_item_name(void *ptr)
Return the context name. 
 
static const AVOption options[]
 
 
Definition at line 66 of file tcp.c.
 
 
Initial value:= {
    .name                = "tcp",
}
#define URL_PROTOCOL_FLAG_NETWORK
 
static const AVClass tcp_class
 
static int tcp_open(URLContext *h, const char *uri, int flags)
 
static int tcp_read(URLContext *h, uint8_t *buf, int size)
 
static int tcp_close(URLContext *h)
 
static int tcp_shutdown(URLContext *h, int flags)
 
static int tcp_get_window_size(URLContext *h)
 
#define flags(name, subs,...)
 
static int tcp_write(URLContext *h, const uint8_t *buf, int size)
 
static int tcp_get_file_handle(URLContext *h)
 
static int tcp_accept(URLContext *s, URLContext **c)
 
 
Definition at line 313 of file tcp.c.