1 /* 2 * Endpoint Mapper Tower Definitions 3 * 4 * Copyright 2006 Robert Shearman (for CodeWeavers) 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either 9 * version 2.1 of the License, or (at your option) any later version. 10 * 11 * This library is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * Lesser General Public License for more details. 15 * 16 * You should have received a copy of the GNU Lesser General Public 17 * License along with this library; if not, write to the Free Software 18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 19 * 20 */ 21 22 #pragma once 23 24 #include <epm_c.h> 25 26 #define EPM_PROTOCOL_DNET_NSP 0x04 27 #define EPM_PROTOCOL_OSI_TP4 0x05 28 #define EPM_PROTOCOL_OSI_CLNS 0x06 29 #define EPM_PROTOCOL_TCP 0x07 30 #define EPM_PROTOCOL_UDP 0x08 31 #define EPM_PROTOCOL_IP 0x09 32 #define EPM_PROTOCOL_NCADG 0x0a /* Connectionless RPC */ 33 #define EPM_PROTOCOL_NCACN 0x0b 34 #define EPM_PROTOCOL_NCALRPC 0x0c /* Local RPC */ 35 #define EPM_PROTOCOL_UUID 0x0d 36 #define EPM_PROTOCOL_IPX 0x0e 37 #define EPM_PROTOCOL_SMB 0x0f 38 #define EPM_PROTOCOL_PIPE 0x10 39 #define EPM_PROTOCOL_NETBIOS 0x11 40 #define EPM_PROTOCOL_NETBEUI 0x12 41 #define EPM_PROTOCOL_SPX 0x13 42 #define EPM_PROTOCOL_NB_IPX 0x14 /* NetBIOS over IPX */ 43 #define EPM_PROTOCOL_DSP 0x16 /* AppleTalk Data Stream Protocol */ 44 #define EPM_PROTOCOL_DDP 0x17 /* AppleTalk Data Datagram Protocol */ 45 #define EPM_PROTOCOL_APPLETALK 0x18 /* AppleTalk */ 46 #define EPM_PROTOCOL_VINES_SPP 0x1a 47 #define EPM_PROTOCOL_VINES_IPC 0x1b /* Inter Process Communication */ 48 #define EPM_PROTOCOL_STREETTALK 0x1c /* Vines Streettalk */ 49 #define EPM_PROTOCOL_HTTP 0x1f 50 #define EPM_PROTOCOL_UNIX_DS 0x20 /* Unix domain socket */ 51 #define EPM_PROTOCOL_NULL 0x21 52 53 #include <pshpack1.h> 54 55 typedef struct 56 { 57 u_int16 count_lhs; 58 u_int8 protid; 59 GUID uuid; 60 u_int16 major_version; 61 u_int16 count_rhs; 62 u_int16 minor_version; 63 } twr_uuid_floor_t; 64 65 typedef struct 66 { 67 u_int16 count_lhs; 68 u_int8 protid; 69 u_int16 count_rhs; 70 u_int16 port; 71 } twr_tcp_floor_t; 72 73 typedef struct 74 { 75 u_int16 count_lhs; 76 u_int8 protid; 77 u_int16 count_rhs; 78 u_int32 ipv4addr; 79 } twr_ipv4_floor_t; 80 81 typedef struct 82 { 83 u_int16 count_lhs; 84 u_int8 protid; 85 u_int16 count_rhs; 86 } twr_empty_floor_t; 87 88 #include <poppack.h> 89