Tutorial - TTCN-3
Tutorial - TTCN-3
Tutorial - TTCN-3
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Message Structure and Test Datatype record DnsMsg // simplified message structure!{DnsMsgKind kind,charstring question,charstring answer optional}type enumerated DnsMsgKind {e_query, e_response}template DnsMsg m_dnsQuestion( charstring p_question ){kind := e_query,question := p_question,answer := omit // no answer}template DnsMsg mw_dnsAnswer( charstring p_answer ){kind := e_answer,question := ?, // any question okanswer := p_answer}27