MediaProcessors
Public Attributes | List of all members
comm_udp_ctx_s Struct Reference
Collaboration diagram for comm_udp_ctx_s:
Collaboration graph
[legend]

Public Attributes

struct comm_ctx_s comm_ctx
 
int fd
 
volatile int flag_exit
 
int pipe_exit_signal [2]
 

Detailed Description

Module instance context structure

Definition at line 65 of file comm_udp.c.

Member Data Documentation

struct comm_ctx_s comm_udp_ctx_s::comm_ctx

Generic communication interface structure. MUST be the first field in order to be able to cast to both comm_udp_ctx_t or comm_udp_ctx_t.

Definition at line 71 of file comm_udp.c.

int comm_udp_ctx_s::fd

Socket file descriptor

Definition at line 75 of file comm_udp.c.

volatile int comm_udp_ctx_s::flag_exit

Exit flag: if set to non-zero value, module should finish/unblock transactions as fast as possible

Definition at line 80 of file comm_udp.c.

int comm_udp_ctx_s::pipe_exit_signal[2]

This pipe is used exclusively for the purpose of abruptly closing UDP-com module; the pipe is used to wake-up any 'select()' waiting for incoming data.

Definition at line 86 of file comm_udp.c.


The documentation for this struct was generated from the following file: