2 * lib/net-features.h This file contains the definitions of all kernel
5 * Version: features.h 0.03 (1996-03-22)
7 * Author: Bernd Eckenfels <net-tools@lina.inka.de>
8 * Copyright 1996 Bernd Eckenfels, Germany
11 *960201 {0.01} Bernd Eckenfels: creation
12 *960202 {0.02} Bernd Eckenfels: HW and AF added
13 *960322 {0.03} Bernd Eckenfels: moved into the NET-LIB
14 *980630 {0.04} Arnaldo Carvalho de Melo: changed NLS for I18N
16 * This program is free software; you can redistribute it
17 * and/or modify it under the terms of the GNU General
18 * Public License as published by the Free Software
19 * Foundation; either version 2 of the License, or (at
20 * your option) any later version.
24 * This needs to be included AFTER the KErnel Header Files
25 * one of the FEATURE_ should be defined to get the Feature Variable
29 #ifndef _NET_FEATURES_H
30 #define _NET_FEATURES_H
32 /* detect the present features */
34 #if defined (SIOCADDRTOLD) || defined (RTF_IRTT) /* route */
35 #define HAVE_NEW_ADDRT 1
38 #ifdef RTF_IRTT /* route */
39 #define HAVE_RTF_IRTT 1
42 #ifdef RTF_REJECT /* route */
43 #define HAVE_RTF_REJECT 1
46 /* compose the feature information string */
48 #if defined (FEATURE_ARP) || defined (FEATURE_ROUTE) || defined (FEATURE_NETSTAT)
49 static char *Features =
51 /* ---------------------------------------------------- */
75 #endif /* FEATURE_ROUTE */
76 /* ---------------------------------------------------- */
79 /* ---------------------------------------------------- */
80 #ifdef FEATURE_NETSTAT
103 #if HAVE_FW_MASQUERADE
110 #endif /* FEATURE_NETSTAT */
111 /* ---------------------------------------------------- */
308 #endif /* FEATURE_* */
310 #endif /* _NET_FEATURES_H */
311 /* End of features.h */