aboutsummaryrefslogtreecommitdiffstats
path: root/src/bsc_hack.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-05-23 15:51:12 +0000
committerHarald Welte <laforge@gnumonks.org>2009-05-23 15:51:12 +0000
commit45b407ad25e2dafd536af1b216ba071226edc964 (patch)
tree8eab62ccb4f9b6b4b46fa313c60b9b527c7d611f /src/bsc_hack.c
parentbe99149e72a22180a1b8acaa0a6182b02c5387c3 (diff)
With this patch, the TRAU muxing code supports not just bridging only.
A new function trau_recv_lchan() is used to link a channel to a call reference of a transaction. (Transactions are used in later patches.) TRAU frames will then be forwarded to the application with the given call reference (in later patches). Also the application can send TRAU frames by using trau_send_lchan(). A new list is introduced in trau_mux.c. (upqueue_entry) All subslots that must be sent to application are listed here. Received TRAU frames are written in the upqueue of application interface, if a call reference is found in the upqueue-list. If an entry is found the ss_entry list, the TRAU frames are bridged as before. The frames have a message type (msg_type), a call reference (callref) and a trau frame (data). The length of trau frame is defined by the content of the c-bits inside the frame. There is no support for ip.access yet, as they don't use the traditional TRAU frame format. Harald must add this in order to use application interface with ip-access. The bridging with ip-access works as before. (Andreas Eversberg)
Diffstat (limited to 'src/bsc_hack.c')
0 files changed, 0 insertions, 0 deletions