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 #include "epm_c.h" 23 24 #define EPM_PROTOCOL_DNET_NSP 0x04 25 #define EPM_PROTOCOL_OSI_TP4 0x05 26 #define EPM_PROTOCOL_OSI_CLNS 0x06 27 #define EPM_PROTOCOL_TCP 0x07 28 #define EPM_PROTOCOL_UDP 0x08 29 #define EPM_PROTOCOL_IP 0x09 30 #define EPM_PROTOCOL_NCADG 0x0a /* Connectionless RPC */ 31 #define EPM_PROTOCOL_NCACN 0x0b 32 #define EPM_PROTOCOL_NCALRPC 0x0c /* Local RPC */ 33 #define EPM_PROTOCOL_UUID 0x0d 34 #define EPM_PROTOCOL_IPX 0x0e 35 #define EPM_PROTOCOL_SMB 0x0f 36 #define EPM_PROTOCOL_PIPE 0x10 37 #define EPM_PROTOCOL_NETBIOS 0x11 38 #define EPM_PROTOCOL_NETBEUI 0x12 39 #define EPM_PROTOCOL_SPX 0x13 40 #define EPM_PROTOCOL_NB_IPX 0x14 /* NetBIOS over IPX */ 41 #define EPM_PROTOCOL_DSP 0x16 /* AppleTalk Data Stream Protocol */ 42 #define EPM_PROTOCOL_DDP 0x17 /* AppleTalk Data Datagram Protocol */ 43 #define EPM_PROTOCOL_APPLETALK 0x18 /* AppleTalk */ 44 #define EPM_PROTOCOL_VINES_SPP 0x1a 45 #define EPM_PROTOCOL_VINES_IPC 0x1b /* Inter Process Communication */ 46 #define EPM_PROTOCOL_STREETTALK 0x1c /* Vines Streettalk */ 47 #define EPM_PROTOCOL_HTTP 0x1f 48 #define EPM_PROTOCOL_UNIX_DS 0x20 /* Unix domain socket */ 49 #define EPM_PROTOCOL_NULL 0x21 50 51 #include <pshpack1.h> 52 53 typedef struct 54 { 55 u_int16 count_lhs; 56 u_int8 protid; 57 GUID uuid; 58 u_int16 major_version; 59 u_int16 count_rhs; 60 u_int16 minor_version; 61 } twr_uuid_floor_t; 62 63 typedef struct 64 { 65 u_int16 count_lhs; 66 u_int8 protid; 67 u_int16 count_rhs; 68 u_int16 port; 69 } twr_tcp_floor_t; 70 71 typedef struct 72 { 73 u_int16 count_lhs; 74 u_int8 protid; 75 u_int16 count_rhs; 76 u_int32 ipv4addr; 77 } twr_ipv4_floor_t; 78 79 typedef struct 80 { 81 u_int16 count_lhs; 82 u_int8 protid; 83 u_int16 count_rhs; 84 } twr_empty_floor_t; 85 86 #include <poppack.h> 87