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
e1396f44
Commit
e1396f44
authored
Nov 19, 1998
by
Phil Blundell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include util.h where needed
parent
2a022628
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
24 additions
and
12 deletions
+24
-12
ifconfig.c
ifconfig.c
+2
-1
lib/af.c
lib/af.c
+2
-2
lib/arcnet.c
lib/arcnet.c
+2
-1
lib/ax25.c
lib/ax25.c
+2
-1
lib/ddp.c
lib/ddp.c
+2
-1
lib/ether.c
lib/ether.c
+2
-1
lib/getroute.c
lib/getroute.c
+2
-1
lib/inet.c
lib/inet.c
+2
-1
lib/inet_sr.c
lib/inet_sr.c
+1
-0
lib/ipx.c
lib/ipx.c
+1
-0
lib/loopback.c
lib/loopback.c
+2
-1
lib/netrom.c
lib/netrom.c
+2
-1
lib/unix.c
lib/unix.c
+2
-1
No files found.
ifconfig.c
View file @
e1396f44
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* that either displays or sets the characteristics of
* that either displays or sets the characteristics of
* one or more of the system's networking interfaces.
* one or more of the system's networking interfaces.
*
*
* Version: $Id: ifconfig.c,v 1.2
1 1998/11/19 06:36:57 freitag
Exp $
* Version: $Id: ifconfig.c,v 1.2
2 1998/11/19 13:01:47 philip
Exp $
*
*
* Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
* Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
* and others. Copyright 1993 MicroWalt Corporation
* and others. Copyright 1993 MicroWalt Corporation
...
@@ -105,6 +105,7 @@ static const char *if_port_text[][4] =
...
@@ -105,6 +105,7 @@ static const char *if_port_text[][4] =
#include "../intl.h"
#include "../intl.h"
#include "interface.h"
#include "interface.h"
#include "sockets.h"
#include "sockets.h"
#include "util.h"
char
*
Release
=
RELEASE
,
*
Version
=
"ifconfig 1.36 (1998-10-31)"
;
char
*
Release
=
RELEASE
,
*
Version
=
"ifconfig 1.36 (1998-10-31)"
;
...
...
lib/af.c
View file @
e1396f44
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* lib/af.c This file contains the top-level part of the protocol
* lib/af.c This file contains the top-level part of the protocol
* support functions module for the NET-2 base distribution.
* support functions module for the NET-2 base distribution.
*
*
* Version: $Id: af.c,v 1.
7 1998/11/17 15:16:26 freitag
Exp $
* Version: $Id: af.c,v 1.
8 1998/11/19 13:01:52 philip
Exp $
*
*
* Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
* Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
* Copyright 1993 MicroWalt Corporation
* Copyright 1993 MicroWalt Corporation
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
#include "net-support.h"
#include "net-support.h"
#include "pathnames.h"
#include "pathnames.h"
#include "intl.h"
#include "intl.h"
#include "util.h"
int
flag_unx
=
0
;
int
flag_unx
=
0
;
int
flag_ipx
=
0
;
int
flag_ipx
=
0
;
...
...
lib/arcnet.c
View file @
e1396f44
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* lib/arcnet.c This file contains an implementation of the "ARCnet"
* lib/arcnet.c This file contains an implementation of the "ARCnet"
* support functions for the NET-2 base distribution.
* support functions for the NET-2 base distribution.
*
*
* Version: $Id: arcnet.c,v 1.
4 1998/11/17 15:16:29 freitag
Exp $
* Version: $Id: arcnet.c,v 1.
5 1998/11/19 13:01:53 philip
Exp $
*
*
* Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
* Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
* Copyright 1993 MicroWalt Corporation
* Copyright 1993 MicroWalt Corporation
...
@@ -29,6 +29,7 @@
...
@@ -29,6 +29,7 @@
#include "net-support.h"
#include "net-support.h"
#include "pathnames.h"
#include "pathnames.h"
#include "intl.h"
#include "intl.h"
#include "util.h"
extern
struct
hwtype
arcnet_hwtype
;
extern
struct
hwtype
arcnet_hwtype
;
...
...
lib/ax25.c
View file @
e1396f44
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* lib/ax25.c This file contains an implementation of the "AX.25"
* lib/ax25.c This file contains an implementation of the "AX.25"
* support functions.
* support functions.
*
*
* Version: $Id: ax25.c,v 1.
7 1998/11/17 15:16:32 freitag
Exp $
* Version: $Id: ax25.c,v 1.
8 1998/11/19 13:01:54 philip
Exp $
*
*
* NOTE: I will redo this module as soon as I got the libax25.a
* NOTE: I will redo this module as soon as I got the libax25.a
* library sorted out. This library contains some useful
* library sorted out. This library contains some useful
...
@@ -41,6 +41,7 @@
...
@@ -41,6 +41,7 @@
#include "net-support.h"
#include "net-support.h"
#include "pathnames.h"
#include "pathnames.h"
#include "intl.h"
#include "intl.h"
#include "util.h"
static
char
AX25_errmsg
[
128
];
static
char
AX25_errmsg
[
128
];
...
...
lib/ddp.c
View file @
e1396f44
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
*
*
* Alan Cox <Alan.Cox@linux.org>
* Alan Cox <Alan.Cox@linux.org>
*
*
* $Id: ddp.c,v 1.
5 1998/11/17 15:16:35 freitag
Exp $
* $Id: ddp.c,v 1.
6 1998/11/19 13:01:55 philip
Exp $
*
*
* This program is free software; you can redistribute it
* This program is free software; you can redistribute it
* and/or modify it under the terms of the GNU General
* and/or modify it under the terms of the GNU General
...
@@ -29,6 +29,7 @@
...
@@ -29,6 +29,7 @@
#include "net-support.h"
#include "net-support.h"
#include "pathnames.h"
#include "pathnames.h"
#include "intl.h"
#include "intl.h"
#include "util.h"
/* Display a ddp domain address. */
/* Display a ddp domain address. */
static
char
*
ddp_print
(
unsigned
char
*
ptr
)
static
char
*
ddp_print
(
unsigned
char
*
ptr
)
...
...
lib/ether.c
View file @
e1396f44
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* lib/ether.c This file contains an implementation of the "Ethernet"
* lib/ether.c This file contains an implementation of the "Ethernet"
* support functions.
* support functions.
*
*
* Version: $Id: ether.c,v 1.
5 1998/11/17 15:16:37 freitag
Exp $
* Version: $Id: ether.c,v 1.
6 1998/11/19 13:01:56 philip
Exp $
*
*
* Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
* Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
* Copyright 1993 MicroWalt Corporation
* Copyright 1993 MicroWalt Corporation
...
@@ -29,6 +29,7 @@
...
@@ -29,6 +29,7 @@
#include "net-support.h"
#include "net-support.h"
#include "pathnames.h"
#include "pathnames.h"
#include "intl.h"
#include "intl.h"
#include "util.h"
extern
struct
hwtype
ether_hwtype
;
extern
struct
hwtype
ether_hwtype
;
...
...
lib/getroute.c
View file @
e1396f44
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
* NET-3 Networking Distribution for the LINUX operating
* NET-3 Networking Distribution for the LINUX operating
* system. (net-tools, net-drivers)
* system. (net-tools, net-drivers)
*
*
* Version: $Id: getroute.c,v 1.
4 1998/11/17 15:16:42 freitag
Exp $
* Version: $Id: getroute.c,v 1.
5 1998/11/19 13:01:57 philip
Exp $
*
*
* Author: Bernd 'eckes' Eckenfels <net-tools@lina.inka.de>
* Author: Bernd 'eckes' Eckenfels <net-tools@lina.inka.de>
* Copyright 1999 Bernd Eckenfels, Germany
* Copyright 1999 Bernd Eckenfels, Germany
...
@@ -36,6 +36,7 @@
...
@@ -36,6 +36,7 @@
#include "version.h"
#include "version.h"
#include "config.h"
#include "config.h"
#include "intl.h"
#include "intl.h"
#include "util.h"
extern
struct
aftype
unspec_aftype
;
extern
struct
aftype
unspec_aftype
;
extern
struct
aftype
unix_aftype
;
extern
struct
aftype
unix_aftype
;
...
...
lib/inet.c
View file @
e1396f44
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* support functions for the net-tools.
* support functions for the net-tools.
* (NET-3 base distribution).
* (NET-3 base distribution).
*
*
* Version: $Id: inet.c,v 1.
6 1998/11/17 15:16:47 freitag
Exp $
* Version: $Id: inet.c,v 1.
7 1998/11/19 13:01:58 philip
Exp $
*
*
* Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
* Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
* Copyright 1993 MicroWalt Corporation
* Copyright 1993 MicroWalt Corporation
...
@@ -42,6 +42,7 @@
...
@@ -42,6 +42,7 @@
#include "net-support.h"
#include "net-support.h"
#include "pathnames.h"
#include "pathnames.h"
#include "intl.h"
#include "intl.h"
#include "util.h"
extern
int
h_errno
;
/* some netdb.h versions don't export this */
extern
int
h_errno
;
/* some netdb.h versions don't export this */
...
...
lib/inet_sr.c
View file @
e1396f44
...
@@ -28,6 +28,7 @@
...
@@ -28,6 +28,7 @@
#include "pathnames.h"
#include "pathnames.h"
#include "intl.h"
#include "intl.h"
#include "net-features.h"
#include "net-features.h"
#include "util.h"
#if HAVE_NEW_ADDRT
#if HAVE_NEW_ADDRT
#define mask_in_addr(x) (((struct sockaddr_in *)&((x).rt_genmask))->sin_addr.s_addr)
#define mask_in_addr(x) (((struct sockaddr_in *)&((x).rt_genmask))->sin_addr.s_addr)
...
...
lib/ipx.c
View file @
e1396f44
...
@@ -35,6 +35,7 @@
...
@@ -35,6 +35,7 @@
#include "net-support.h"
#include "net-support.h"
#include "pathnames.h"
#include "pathnames.h"
#include "intl.h"
#include "intl.h"
#include "util.h"
#if (IPX_NODE_LEN != 6)
#if (IPX_NODE_LEN != 6)
#error "IPX_NODE_LEN != 6"
#error "IPX_NODE_LEN != 6"
...
...
lib/loopback.c
View file @
e1396f44
/*
/*
* lib/loopback.c This file contains the general hardware types.
* lib/loopback.c This file contains the general hardware types.
*
*
* Version: $Id: loopback.c,v 1.
4 1998/11/17 15:16:54 freitag
Exp $
* Version: $Id: loopback.c,v 1.
5 1998/11/19 13:02:02 philip
Exp $
*
*
* Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
* Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
* Copyright 1993 MicroWalt Corporation
* Copyright 1993 MicroWalt Corporation
...
@@ -29,6 +29,7 @@
...
@@ -29,6 +29,7 @@
#include "net-support.h"
#include "net-support.h"
#include "pathnames.h"
#include "pathnames.h"
#include "intl.h"
#include "intl.h"
#include "util.h"
/* Display an UNSPEC address. */
/* Display an UNSPEC address. */
static
char
*
pr_unspec
(
unsigned
char
*
ptr
)
static
char
*
pr_unspec
(
unsigned
char
*
ptr
)
...
...
lib/netrom.c
View file @
e1396f44
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* lib/netrom.c This file contains an implementation of the "NET/ROM"
* lib/netrom.c This file contains an implementation of the "NET/ROM"
* support functions for the NET-2 base distribution.
* support functions for the NET-2 base distribution.
*
*
* Version: $Id: netrom.c,v 1.
6 1998/11/17 15:16:56 freitag
Exp $
* Version: $Id: netrom.c,v 1.
7 1998/11/19 13:02:03 philip
Exp $
*
*
* NOTE: I will redo this module as soon as I got the libax25.a
* NOTE: I will redo this module as soon as I got the libax25.a
* library sorted out. This library contains some useful
* library sorted out. This library contains some useful
...
@@ -46,6 +46,7 @@
...
@@ -46,6 +46,7 @@
#include "net-support.h"
#include "net-support.h"
#include "pathnames.h"
#include "pathnames.h"
#include "intl.h"
#include "intl.h"
#include "util.h"
static
char
netrom_errmsg
[
128
];
static
char
netrom_errmsg
[
128
];
...
...
lib/unix.c
View file @
e1396f44
/*
/*
* lib/unix.c This file contains the general hardware types.
* lib/unix.c This file contains the general hardware types.
*
*
* Version: $Id: unix.c,v 1.
5 1998/11/17 15:16:58 freitag
Exp $
* Version: $Id: unix.c,v 1.
6 1998/11/19 13:02:04 philip
Exp $
*
*
* Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
* Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
* Copyright 1993 MicroWalt Corporation
* Copyright 1993 MicroWalt Corporation
...
@@ -28,6 +28,7 @@
...
@@ -28,6 +28,7 @@
#include "net-support.h"
#include "net-support.h"
#include "pathnames.h"
#include "pathnames.h"
#include "intl.h"
#include "intl.h"
#include "util.h"
/* Display an UNSPEC address. */
/* Display an UNSPEC address. */
...
...
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