Various fixes discovered while actually using FrameRelay_Emulation

Change-Id: I7a537091c118173d7399aba20c82462aed9b6074
This commit is contained in:
Harald Welte 2020-09-13 21:49:46 +02:00
parent 9ea5e1f379
commit aa9f4457b0
2 changed files with 10 additions and 4 deletions

View File

@ -1,5 +1,11 @@
module AF_PACKET_PortType {
/* somehow TITAN insist on having this definition and a related 'system' keyword in the function
* which uses the map operation */
type component af_packet {
port AF_PACKET_PT AF_PACKET;
};
import from AF_PACKET_PortTypes all;
type port AF_PACKET_PT message {

View File

@ -38,12 +38,12 @@ type union FRemu_Event {
type port FRemu_PT message {
inout FrameRelayFrame;
in FRemu_Event;
} with { extension "internal" };
} with { extension "internal" }
type port FRemu_asp_PT message {
inout FrameRelayFrame;
out FRemu_Event;
} with { extension "internal" };
} with { extension "internal" extension "provider" };
/* port between FR emulation and per-DLCI client components (like NS) */
type port FRemu_PROC_PT procedure {
@ -58,7 +58,7 @@ type component FR_Emulation_CT {
port FR_CODEC_PT FR;
/* port towards the user[s] (PVC specific) */
port FRemu_PT CLIENT;
port FRemu_asp_PT CLIENT;
port FRemu_PROC_PT PROC;
var ConnectionData ConnectionTable[1024];
@ -73,7 +73,7 @@ type component FR_Emulation_CT {
/* FR Emulation user/client component/dispatcher. Exists once per FR_CODEC_PT */
type component FR_Client_CT {
/* message port towards the Frame Relay Emulation */
port FRemu_asp_PT FR;
port FRemu_PT FR;
/* procedure port towards the Frame Relay Emulation */
port FRemu_PROC_PT FR_PROC;
};