24 lines
583 B
Plaintext
24 lines
583 B
Plaintext
/* Linux TUN device Test Port for Eclipse Titan
|
|
* (C) 2017 by Harald Welte <laforge@gnumonks.org>
|
|
* Licensed under Eclipse Public License - v1.0 or GPLv2, at your choice */
|
|
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"}
|
|
}
|