Oliver Smith | deb80a6 | 2019-11-29 16:01:54 +0100 | [diff] [blame] | 1 | module MSLookup_mDNS_Types { |
| 2 | |
| 3 | /* (C) 2020 sysmocom s.f.m.c. GmbH <info@sysmocom.de> |
| 4 | * All rights reserved. |
| 5 | * |
| 6 | * Released under the terms of GNU General Public License, Version 2 or |
| 7 | * (at your option) any later version. |
| 8 | * |
| 9 | * SPDX-License-Identifier: GPL-2.0-or-later |
| 10 | */ |
| 11 | |
| 12 | import from DNS_Types all; |
| 13 | import from UDPasp_Types all; |
| 14 | import from UDPasp_PortType all; |
| 15 | |
| 16 | type record MSLookup_mDNS { |
| 17 | PDU_DNS dnsMessage, |
| 18 | AddressType udpAddress, |
| 19 | PortType udpPort |
| 20 | } |
| 21 | |
| 22 | type port MSLookup_mDNS_PT message { |
| 23 | inout MSLookup_mDNS |
| 24 | } with { extension "internal" } |
| 25 | |
| 26 | type component MSLookup_mDNS_Emulation_CT { |
| 27 | port MSLookup_mDNS_PT mDNS; |
| 28 | port UDPasp_PT mDNS_UDP; |
| 29 | } |
| 30 | |
| 31 | } |