acad0ce7ce902665b3a58895f49b34b28997c971
[obnox/wireshark/wip.git] / wiretap / nettl.h
1 /* nettl.h
2  *
3  * $Id: nettl.h,v 1.10 2004/01/25 21:55:16 guy Exp $
4  *
5  * Wiretap Library
6  * Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu>
7  *
8  * This program is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU General Public License
10  * as published by the Free Software Foundation; either version 2
11  * of the License, or (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
21  *
22  */
23
24 #ifndef __NETTL_H__
25 #define __NETTL_H__
26
27 #define NETTL_SUBSYS_NS_LS_LOGGING      0x00
28 #define NETTL_SUBSYS_NS_LS_NFT          0x01
29 #define NETTL_SUBSYS_NS_LS_LOOPBACK     0x02
30 #define NETTL_SUBSYS_NS_LS_NI           0x03
31 #define NETTL_SUBSYS_NS_LS_IPC          0x04
32 #define NETTL_SUBSYS_NS_LS_SOCKREGD     0x05
33 #define NETTL_SUBSYS_NS_LS_TCP          0x06
34 #define NETTL_SUBSYS_NS_LS_PXP          0x07
35 #define NETTL_SUBSYS_NS_LS_UDP          0x08
36 #define NETTL_SUBSYS_NS_LS_IP           0x09
37 #define NETTL_SUBSYS_NS_LS_PROBE        0x0A
38 #define NETTL_SUBSYS_NS_LS_DRIVER       0x0B
39 #define NETTL_SUBSYS_NS_LS_RLBD         0x0C
40 #define NETTL_SUBSYS_NS_LS_BUFS         0x0D
41 #define NETTL_SUBSYS_NS_LS_CASE21       0x0E
42 #define NETTL_SUBSYS_NS_LS_ROUTER21     0x0F
43 #define NETTL_SUBSYS_NS_LS_NFS          0x10
44 #define NETTL_SUBSYS_NS_LS_NETISR       0x11
45 #define NETTL_SUBSYS_NS_LS_NSE          0x13
46 #define NETTL_SUBSYS_NS_LS_STRLOG       0x14
47 #define NETTL_SUBSYS_NS_LS_TIRDWR       0x15
48 #define NETTL_SUBSYS_NS_LS_TIMOD        0x16
49 #define NETTL_SUBSYS_NS_LS_ICMP         0x17
50 #define NETTL_SUBSYS_FILTER             0x1A
51 #define NETTL_SUBSYS_NAME               0x1B
52 #define NETTL_SUBSYS_IGMP               0x1D
53 #define NETTL_SUBSYS_SX25L2             0x22
54 #define NETTL_SUBSYS_SX25L3             0x23
55 #define NETTL_SUBSYS_FTAM_INIT          0x40
56 #define NETTL_SUBSYS_FTAM_RESP          0x41
57 #define NETTL_SUBSYS_FTAM_VFS           0x46
58 #define NETTL_SUBSYS_FTAM_USER          0x48
59 #define NETTL_SUBSYS_OTS                0x5A
60 #define NETTL_SUBSYS_NETWORK            0x5B
61 #define NETTL_SUBSYS_TRANSPORT          0x5C
62 #define NETTL_SUBSYS_SESSION            0x5D
63 #define NETTL_SUBSYS_ACSE_PRES          0x5E
64 #define NETTL_SUBSYS_SHM                0x74
65 #define NETTL_SUBSYS_ACSE_US            0x77
66 #define NETTL_SUBSYS_HPS                0x79
67 #define NETTL_SUBSYS_CM                 0x7A
68 #define NETTL_SUBSYS_ULA_UTILS          0x7B
69 #define NETTL_SUBSYS_EM                 0x7C
70
71 /* Ethernet cards */
72 #define NETTL_SUBSYS_LAN100             0xA4
73 #define NETTL_SUBSYS_BASE100            0xAD
74 #define NETTL_SUBSYS_GSC100BT           0xB2
75 #define NETTL_SUBSYS_PCI100BT           0xB3
76 #define NETTL_SUBSYS_SPP100BT           0xB4
77 #define NETTL_SUBSYS_GELAN              0xB9
78 #define NETTL_SUBSYS_BTLAN              0xD2
79 #define NETTL_SUBSYS_INTL100            0xE9
80 #define NETTL_SUBSYS_IGELAN             0xFC
81
82
83 int nettl_open(wtap *wth, int *err, gchar **err_info);
84
85 #endif