alc_channel Struct Reference

#include <alc_channel.h>

Collaboration diagram for alc_channel:

Collaboration graph
[legend]

Data Fields

int ch_id
alc_sessions
const char * port
const char * addr
const char * intface
const char * intface_name
int tx_rate
int nb_tx_units
BOOL start_sending
BOOL ready
int wait_after_sp
BOOL previous_lost
SOCKET rx_sock
SOCKET tx_sock
ip_mreq_source source_imr
ip_mreq imr
ipv6_mreq imr6
sockaddr_in remote
sockaddr_in6 remote6
addrinfoaddrinfo
tx_queue_structqueue_ptr
alc_listreceiving_list
HANDLE handle_rx_socket_thread
unsigned int rx_socket_thread_id

Detailed Description

Structure for the ALC channel

Definition at line 58 of file alc_channel.h.


Field Documentation

int alc_channel::ch_id

session level identifier for the channel

Definition at line 60 of file alc_channel.h.

Referenced by add_pkt_to_tx_queue(), close_alc_channel(), mad_rlc_add_lost(), open_alc_channel(), send_session_close_packet(), and update_session_tx_rate().

struct alc_session* alc_channel::s

pointer to the parent session

Definition at line 61 of file alc_channel.h.

Referenced by analyze_packet(), close_alc_socket(), init_alc_socket(), open_alc_channel(), rx_socket_thread(), send_session_close_packet(), and send_unit().

const char* alc_channel::port

channel's port

Definition at line 63 of file alc_channel.h.

Referenced by init_alc_socket(), mad_rlc_process_rx_sp(), and open_alc_channel().

const char* alc_channel::addr

channel's address

Definition at line 64 of file alc_channel.h.

Referenced by init_alc_socket(), mad_rlc_process_rx_sp(), and open_alc_channel().

const char* alc_channel::intface

channel's interface

Definition at line 65 of file alc_channel.h.

Referenced by init_alc_socket(), mad_rlc_process_rx_sp(), and open_alc_channel().

const char* alc_channel::intface_name

the name of channel's interface

Definition at line 66 of file alc_channel.h.

Referenced by init_alc_socket(), mad_rlc_process_rx_sp(), and open_alc_channel().

int alc_channel::tx_rate

transmission rate in kbit/s on this channel

Definition at line 68 of file alc_channel.h.

Referenced by open_alc_channel(), and update_session_tx_rate().

int alc_channel::nb_tx_units

number of sent units per one loop

Definition at line 69 of file alc_channel.h.

Referenced by open_alc_channel(), and update_session_tx_rate().

BOOL alc_channel::start_sending

start sending when TRUE in RLC CC

Definition at line 70 of file alc_channel.h.

Referenced by add_pkt_to_tx_queue(), mad_rlc_fill_header(), open_alc_channel(), and tx_thread().

BOOL alc_channel::ready

channel ready when TRUE

Definition at line 71 of file alc_channel.h.

Referenced by add_pkt_to_tx_queue(), and open_alc_channel().

int alc_channel::wait_after_sp

wait this number of loops before start sending in RLC CC

Definition at line 72 of file alc_channel.h.

Referenced by add_pkt_to_tx_queue(), open_alc_channel(), and tx_thread().

BOOL alc_channel::previous_lost

is previous packet lost (with -P option)

Definition at line 74 of file alc_channel.h.

Referenced by open_alc_channel().

SOCKET alc_channel::rx_sock

receiving socket

Definition at line 77 of file alc_channel.h.

Referenced by close_alc_socket(), init_alc_socket(), and rx_socket_thread().

SOCKET alc_channel::tx_sock

transmitting socket

Definition at line 78 of file alc_channel.h.

Referenced by close_alc_socket(), init_alc_socket(), send_session_close_packet(), and send_unit().

struct ip_mreq_source alc_channel::source_imr

for SSM join/leave

Definition at line 85 of file alc_channel.h.

Referenced by close_alc_socket(), and init_alc_socket().

struct ip_mreq alc_channel::imr

for join/leave

Definition at line 93 of file alc_channel.h.

Referenced by close_alc_socket(), and init_alc_socket().

struct ipv6_mreq alc_channel::imr6

for IPv6 join/leave

Definition at line 94 of file alc_channel.h.

Referenced by close_alc_socket(), and init_alc_socket().

struct sockaddr_in alc_channel::remote

remote multicast address

Definition at line 96 of file alc_channel.h.

Referenced by init_alc_socket().

struct sockaddr_in6 alc_channel::remote6

remote IPv6 multicast address

Definition at line 97 of file alc_channel.h.

Referenced by init_alc_socket().

struct addrinfo* alc_channel::addrinfo

structure which provides hints concerning the type of socket

Definition at line 98 of file alc_channel.h.

Referenced by close_alc_channel(), init_alc_socket(), send_session_close_packet(), and send_unit().

struct tx_queue_struct* alc_channel::queue_ptr

list which stores packets to be sent

Definition at line 99 of file alc_channel.h.

Referenced by add_pkt_to_tx_queue().

struct alc_list* alc_channel::receiving_list

list which stores received packets

Definition at line 101 of file alc_channel.h.

Referenced by close_alc_channel(), open_alc_channel(), recv_packet(), and rx_socket_thread().

HANDLE alc_channel::handle_rx_socket_thread

handle to thread which receives packets from the socket

Definition at line 104 of file alc_channel.h.

Referenced by join_rx_socket_thread(), and open_alc_channel().

unsigned int alc_channel::rx_socket_thread_id

identifier for thread which receives packets from the socket

Definition at line 105 of file alc_channel.h.

Referenced by join_rx_socket_thread(), and open_alc_channel().


The documentation for this struct was generated from the following file:
Generated on Fri Mar 9 20:09:00 2007 for MAD-FCL by  doxygen 1.5.0