Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
net-tools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
net-tools
Commits
7bb8a70c
Commit
7bb8a70c
authored
Oct 31, 1998
by
Phil Blundell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update
parent
c270a5e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
59 additions
and
18 deletions
+59
-18
lib/net-features.h
lib/net-features.h
+59
-18
No files found.
lib/net-features.h
View file @
7bb8a70c
...
...
@@ -47,25 +47,11 @@
# define HAVE_RT_NETLINK 1
#endif
/* compos the feature information string */
/* compos
e
the feature information string */
#if defined (FEATURE_ARP) || defined (FEATURE_ROUTE) || defined (FEATURE_NETSTAT)
static
char
*
Features
=
/* ---------------------------------------------------- */
#ifdef FEATURE_ARP
# if HAVE_NEW_SIOCSARP
"+"
# else
"-"
# endif
"NEW_SIOCSARP "
#endif
/* FEATURE_ARP */
/* ---------------------------------------------------- */
/* ---------------------------------------------------- */
#ifdef FEATURE_ROUTE
...
...
@@ -143,7 +129,7 @@ static char *Features=
#endif
/* I18N */
"
\n
AF:"
"
\n
AF:
"
#ifdef DFLT_AF
"("
DFLT_AF
")"
#endif
...
...
@@ -190,8 +176,20 @@ static char *Features=
"-"
#endif
"ATALK "
#if HAVE_AFECONET
"+"
#else
"-"
#endif
"ECONET "
#if HAVE_AFROSE
"+"
#else
"-"
#endif
"ROSE "
"
\n
HW:"
"
\n
HW:
"
#ifdef DFLT_HW
"("
DFLT_HW
")"
...
...
@@ -252,7 +250,50 @@ static char *Features=
#else
"-"
#endif
"FR "
;
"FR "
#if HAVE_HWROSE
"+"
#else
"-"
#endif
"ROSE "
#if HAVE_HWASH
"+"
#else
"-"
#endif
"ASH "
#if HAVE_HWSIT
"+"
#else
"-"
#endif
"SIT "
#if HAVE_HWFDDI
"+"
#else
"-"
#endif
"FDDI "
#if HAVE_HWHIPPI
"+"
#else
"-"
#endif
"HIPPI "
#if HAVE_HWHDLCLAPB
"+"
#else
"-"
#endif
"HDLC/LAPB "
;
#endif
/* FEATURE_* */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment