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
4a10d78d
Commit
4a10d78d
authored
Nov 15, 1998
by
Klaas Freitag
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use ifru_mtu instead of ifru_ivalue for compatibility with 2.0 kernel
headers.
parent
49d6a000
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
interface.h
interface.h
+3
-2
No files found.
interface.h
View file @
4a10d78d
...
@@ -68,14 +68,15 @@ extern int for_all_interfaces(int (*)(struct interface *, void *), void *);
...
@@ -68,14 +68,15 @@ extern int for_all_interfaces(int (*)(struct interface *, void *), void *);
extern
struct
interface
*
lookup_interface
(
char
*
name
);
extern
struct
interface
*
lookup_interface
(
char
*
name
);
extern
int
if_readlist
(
void
);
extern
int
if_readlist
(
void
);
/* Define for poor glibc2.0 users, the feature check is done at runtime */
/* Define
s
for poor glibc2.0 users, the feature check is done at runtime */
#if !defined(SIOCSIFTXQLEN)
#if !defined(SIOCSIFTXQLEN)
#define SIOCSIFTXQLEN 0x8943
#define SIOCSIFTXQLEN 0x8943
#define SIOCGIFTXQLEN 0x8942
#define SIOCGIFTXQLEN 0x8942
#endif
#endif
#if !defined(ifr_qlen)
#if !defined(ifr_qlen)
#define ifr_qlen ifr_ifru.ifru_ivalue
/* Actually it is ifru_ivalue, but that is not present in 2.0 kernel headers */
#define ifr_qlen ifr_ifru.ifru_mtu
#endif
#endif
#define HAVE_TXQUEUELEN
#define HAVE_TXQUEUELEN
...
...
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