netfilter-titan/testproject/TunDevice_PortType.ttcn

21 lines
408 B
Plaintext

module TunDevice_PortType {
import from TunDevice_Types all;
/*
external function f_TunDevice_open(
inout TunDevice_PT portRef,
in charstring dev
) return Result;
external function f_TunDevice_send(
inout TunDevice_PT portRef,
in Tun_send tun_send,
out integer sent_octets
) return Result;
*/
type port TunDevice_PT message {
out Tun_send;
in Tun_recv;
} with {extension "provider"}
}