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
d33bfdd2
Commit
d33bfdd2
authored
Apr 18, 1999
by
Phil Blundell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor textual updates/corrections
parent
3d93b6b4
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
53 additions
and
45 deletions
+53
-45
hostname.c
hostname.c
+3
-3
ifconfig.c
ifconfig.c
+3
-3
lib/af.c
lib/af.c
+9
-2
lib/hw.c
lib/hw.c
+4
-4
lib/tr.c
lib/tr.c
+2
-2
netstat.c
netstat.c
+3
-3
po/net-tools.pot
po/net-tools.pot
+26
-25
route.c
route.c
+3
-3
No files found.
hostname.c
View file @
d33bfdd2
...
...
@@ -237,9 +237,9 @@ static void usage(void)
#if HAVE_AFDECnet
fprintf
(
stderr
,
_
(
" -n, --node DECnet node name
\n
"
));
#endif
/* HAVE_AFDECnet */
fprintf
(
stderr
,
_
(
" -F, --file read hostname or
nis domainname from given F
ile
\n\n
"
));
fprintf
(
stderr
,
_
(
" This comand can
get
or set the hostname or the NIS domainname. You can
\n
"
));
fprintf
(
stderr
,
_
(
" also
get
the DNS domain or the FQDN (fully qualified domain name).
\n
"
));
fprintf
(
stderr
,
_
(
" -F, --file read hostname or
NIS domainname from given f
ile
\n\n
"
));
fprintf
(
stderr
,
_
(
" This comand can
read
or set the hostname or the NIS domainname. You can
\n
"
));
fprintf
(
stderr
,
_
(
" also
read
the DNS domain or the FQDN (fully qualified domain name).
\n
"
));
fprintf
(
stderr
,
_
(
" Unless you are using bind or NIS for host lookups you can change the
\n
"
));
fprintf
(
stderr
,
_
(
" FQDN (Fully Qualified Domain Name) and the DNS domain name (which is
\n
"
));
fprintf
(
stderr
,
_
(
" part of the FQDN) in the /etc/hosts file.
\n
"
));
...
...
ifconfig.c
View file @
d33bfdd2
...
...
@@ -3,7 +3,7 @@
* that either displays or sets the characteristics of
* one or more of the system's networking interfaces.
*
* Version: $Id: ifconfig.c,v 1.3
0 1999/04/04 21:37:01
philip Exp $
* Version: $Id: ifconfig.c,v 1.3
1 1999/04/18 20:28:39
philip Exp $
*
* Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
* and others. Copyright 1993 MicroWalt Corporation
...
...
@@ -429,7 +429,7 @@ static void usage(void)
#endif
#if HAVE_AFINET
fprintf
(
stderr
,
_
(
" [[-]broadcast [<address>]] [[-]pointopoint [<address>]]
\n
"
));
fprintf
(
stderr
,
_
(
" [netmask <address>] [dstaddr <address>] [tunnel <adress>]
\n
"
));
fprintf
(
stderr
,
_
(
" [netmask <address>] [dstaddr <address>] [tunnel <ad
d
ress>]
\n
"
));
#endif
#ifdef SIOCSKEEPALIVE
fprintf
(
stderr
,
_
(
" [outfill <NN>] [keepalive <NN>]
\n
"
));
...
...
@@ -439,7 +439,7 @@ static void usage(void)
fprintf
(
stderr
,
_
(
" [multicast] [[-]promisc]
\n
"
));
fprintf
(
stderr
,
_
(
" [mem_start <NN>] [io_addr <NN>] [irq <NN>] [media <type>]
\n
"
));
#ifdef HAVE_TXQUEUELEN
fprintf
(
stderr
,
_
(
" [txqueuelen
len
]
\n
"
));
fprintf
(
stderr
,
_
(
" [txqueuelen
<NN>
]
\n
"
));
#endif
#ifdef HAVE_DYNAMIC
fprintf
(
stderr
,
_
(
" [[-]dynamic]
\n
"
));
...
...
lib/af.c
View file @
d33bfdd2
...
...
@@ -2,7 +2,7 @@
* lib/af.c This file contains the top-level part of the protocol
* support functions module for the NET-2 base distribution.
*
* Version: $Id: af.c,v 1.1
0 1999/01/05 20:53:18
philip Exp $
* Version: $Id: af.c,v 1.1
1 1999/04/18 20:28:42
philip Exp $
*
* Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
* Copyright 1993 MicroWalt Corporation
...
...
@@ -95,6 +95,7 @@ extern struct aftype netrom_aftype;
extern
struct
aftype
ipx_aftype
;
extern
struct
aftype
ddp_aftype
;
extern
struct
aftype
ec_aftype
;
extern
struct
aftype
rose_aftype
;
static
short
sVafinit
=
0
;
...
...
@@ -115,6 +116,9 @@ struct aftype *aftypes[] =
#if HAVE_AFNETROM
&
netrom_aftype
,
#endif
#if HAVE_AFROSE
&
rose_aftype
,
#endif
#if HAVE_AFIPX
&
ipx_aftype
,
#endif
...
...
@@ -147,13 +151,16 @@ void afinit()
netrom_aftype
.
title
=
_
(
"AMPR NET/ROM"
);
#endif
#if HAVE_AFIPX
ipx_aftype
.
title
=
_
(
"IPX"
);
ipx_aftype
.
title
=
_
(
"
Novell
IPX"
);
#endif
#if HAVE_AFATALK
ddp_aftype
.
title
=
_
(
"Appletalk DDP"
);
#endif
#if HAVE_AFECONET
ec_aftype
.
title
=
_
(
"Econet"
);
#endif
#if HAVE_AFROSE
rose_aftype
.
title
=
_
(
"AMPR ROSE"
);
#endif
sVafinit
=
1
;
}
...
...
lib/hw.c
View file @
d33bfdd2
...
...
@@ -2,7 +2,7 @@
* lib/hw.c This file contains the top-level part of the hardware
* support functions module.
*
* Version: $Id: hw.c,v 1.1
1 1999/03/03 19:40:38
philip Exp $
* Version: $Id: hw.c,v 1.1
2 1999/04/18 20:28:43
philip Exp $
*
* Maintainer: Bernd 'eckes' Eckenfels, <net-tools@lina.inka.de>
*
...
...
@@ -90,6 +90,9 @@ static struct hwtype *hwtypes[] =
#if HAVE_HWNETROM
&
netrom_hwtype
,
#endif
#if HAVE_HWROSE
&
rose_hwtype
,
#endif
#if HAVE_HWTUNNEL
&
tunnel_hwtype
,
#endif
...
...
@@ -110,9 +113,6 @@ static struct hwtype *hwtypes[] =
#if HAVE_HWSIT
&
sit_hwtype
,
#endif
#if HAVE_HWROSE
&
rose_hwtype
,
#endif
#if HAVE_HWFDDI
&
fddi_hwtype
,
#endif
...
...
lib/tr.c
View file @
d33bfdd2
...
...
@@ -2,7 +2,7 @@
* lib/tr.c This file contains an implementation of the "Tokenring"
* support functions.
*
* Version: $Id: tr.c,v 1.
3 1998/11/15 20:12:25 freitag
Exp $
* Version: $Id: tr.c,v 1.
4 1999/04/18 20:28:43 philip
Exp $
*
* Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
* Copyright 1993 MicroWalt Corporation
...
...
@@ -129,7 +129,7 @@ static int in_tr(char *bufp, struct sockaddr *sap)
struct
hwtype
tr_hwtype
=
{
"tr"
,
"16/4 Mbps T
R
"
,
ARPHRD_IEEE802
,
TR_ALEN
,
"tr"
,
"16/4 Mbps T
oken Ring
"
,
ARPHRD_IEEE802
,
TR_ALEN
,
pr_tr
,
pr_str
,
in_tr
,
NULL
};
...
...
netstat.c
View file @
d33bfdd2
...
...
@@ -6,7 +6,7 @@
* NET-3 Networking Distribution for the LINUX operating
* system.
*
* Version: $Id: netstat.c,v 1.2
5 1999/03/24 09:49:52
philip Exp $
* Version: $Id: netstat.c,v 1.2
6 1999/04/18 20:28:40
philip Exp $
*
* Authors: Fred Baumgarten, <dc6iq@insu1.etec.uni-karlsruhe.de>
* Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
...
...
@@ -1418,13 +1418,13 @@ static void usage(void)
fprintf
(
stderr
,
_
(
" -v, --verbose be verbose
\n
"
));
fprintf
(
stderr
,
_
(
" -n, --numeric dont resolve names
\n
"
));
fprintf
(
stderr
,
_
(
" -N, --symbolic resolve hardware names
\n
"
));
fprintf
(
stderr
,
_
(
" -e, --extend display other/more information
s
\n
"
));
fprintf
(
stderr
,
_
(
" -e, --extend display other/more information
\n
"
));
fprintf
(
stderr
,
_
(
" -p, --programs display PID/Program name for sockets
\n
"
));
fprintf
(
stderr
,
_
(
" -c, --continuous continuous listing
\n\n
"
));
fprintf
(
stderr
,
_
(
" -l, --listening display listening server sockets
\n
"
));
fprintf
(
stderr
,
_
(
" -a, --all, --listening display all sockets (default: connected)
\n
"
));
fprintf
(
stderr
,
_
(
" -o, --timers display timers
\n
"
));
fprintf
(
stderr
,
_
(
" -F, --fib display Forwarding Infomation Base (default)
\n
"
));
fprintf
(
stderr
,
_
(
" -F, --fib display Forwarding Info
r
mation Base (default)
\n
"
));
fprintf
(
stderr
,
_
(
" -C, --cache display routing cache instead of FIB
\n\n
"
));
fprintf
(
stderr
,
_
(
" <Socket>={-t|--tcp} {-u|--udp} {-w|--raw} {-x|--unix} --ax25 --ipx --netrom
\n
"
));
...
...
po/net-tools.pot
View file @
d33bfdd2
...
...
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 1999-04-18 2
0:58
+0100\n"
"POT-Creation-Date: 1999-04-18 2
1:39
+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
...
...
@@ -347,17 +347,18 @@ msgstr ""
#: ../hostname.c:240
msgid ""
" -F, --file read hostname or
nis domainname from given F
ile\n"
" -F, --file read hostname or
NIS domainname from given f
ile\n"
"\n"
msgstr ""
#: ../hostname.c:241
msgid ""
" This comand can
get
or set the hostname or the NIS domainname. You can\n"
" This comand can
read
or set the hostname or the NIS domainname. You can\n"
msgstr ""
#: ../hostname.c:242
msgid " also get the DNS domain or the FQDN (fully qualified domain name).\n"
msgid ""
" also read the DNS domain or the FQDN (fully qualified domain name).\n"
msgstr ""
#: ../hostname.c:243
...
...
@@ -652,7 +653,7 @@ msgid " [[-]broadcast [<address>]] [[-]pointopoint [<address>]]\n"
msgstr ""
#: ../ifconfig.c:432
msgid " [netmask <address>] [dstaddr <address>] [tunnel <adress>]\n"
msgid " [netmask <address>] [dstaddr <address>] [tunnel <ad
d
ress>]\n"
msgstr ""
#: ../ifconfig.c:435
...
...
@@ -676,7 +677,7 @@ msgid " [mem_start <NN>] [io_addr <NN>] [irq <NN>] [media <type>]\n"
msgstr ""
#: ../ifconfig.c:442
msgid " [txqueuelen
len
]\n"
msgid " [txqueuelen
<NN>
]\n"
msgstr ""
#: ../ifconfig.c:445
...
...
@@ -1039,7 +1040,7 @@ msgid " -N, --symbolic resolve hardware names\n"
msgstr ""
#: ../netstat.c:1421 ../route.c:88
msgid " -e, --extend display other/more information
s
\n"
msgid " -e, --extend display other/more information\n"
msgstr ""
#: ../netstat.c:1422
...
...
@@ -1067,7 +1068,7 @@ msgstr ""
#: ../netstat.c:1427 ../route.c:89
msgid ""
" -F, --fib display Forwarding Infomation Base "
" -F, --fib display Forwarding Info
r
mation Base "
"(default)\n"
msgstr ""
...
...
@@ -1704,51 +1705,55 @@ msgstr ""
msgid "Cannot change line discipline to `%s'.\n"
msgstr ""
#: ../lib/af.c:13
3
../lib/hw.c:131
#: ../lib/af.c:13
7
../lib/hw.c:131
msgid "UNSPEC"
msgstr ""
#: ../lib/af.c:13
5
#: ../lib/af.c:13
9
msgid "UNIX Domain"
msgstr ""
#: ../lib/af.c:1
38
#: ../lib/af.c:1
42
msgid "DARPA Internet"
msgstr ""
#: ../lib/af.c:14
1
#: ../lib/af.c:14
5
msgid "IPv6"
msgstr ""
#: ../lib/af.c:14
4
../lib/hw.c:152
#: ../lib/af.c:14
8
../lib/hw.c:152
msgid "AMPR AX.25"
msgstr ""
#: ../lib/af.c:1
47
../lib/hw.c:158
#: ../lib/af.c:1
51
../lib/hw.c:158
msgid "AMPR NET/ROM"
msgstr ""
#: ../lib/af.c:15
0
msgid "IPX"
#: ../lib/af.c:15
4
msgid "
Novell
IPX"
msgstr ""
#: ../lib/af.c:15
3
#: ../lib/af.c:15
7
msgid "Appletalk DDP"
msgstr ""
#: ../lib/af.c:1
56
#: ../lib/af.c:1
60
msgid "Econet"
msgstr ""
#: ../lib/af.c:214
#: ../lib/af.c:163 ../lib/hw.c:155
msgid "AMPR ROSE"
msgstr ""
#: ../lib/af.c:221
msgid "Please don't supply more than one address family.\n"
msgstr ""
#: ../lib/af.c:2
75
#: ../lib/af.c:2
82
msgid "Too much address family arguments.\n"
msgstr ""
#: ../lib/af.c:2
86
#: ../lib/af.c:2
93
#, c-format
msgid "Unknown address family `%s'.\n"
msgstr ""
...
...
@@ -1900,10 +1905,6 @@ msgstr ""
msgid "HIPPI"
msgstr ""
#: ../lib/hw.c:155
msgid "AMPR ROSE"
msgstr ""
#: ../lib/hw.c:161
msgid "IPIP Tunnel"
msgstr ""
...
...
route.c
View file @
d33bfdd2
...
...
@@ -2,7 +2,7 @@
* route This file contains an implementation of the command
* that manages the IP routing table in the kernel.
*
* Version: $Id: route.c,v 1.
5 1999/01/09 15:37:35
philip Exp $
* Version: $Id: route.c,v 1.
6 1999/04/18 20:28:41
philip Exp $
*
* Maintainer: Bernd 'eckes' Eckenfels, <net-tools@lina.inka.de>
*
...
...
@@ -85,8 +85,8 @@ static void usage(void)
fprintf
(
stderr
,
_
(
" -v, --verbose be verbose
\n
"
));
fprintf
(
stderr
,
_
(
" -n, --numeric dont resolve names
\n
"
));
fprintf
(
stderr
,
_
(
" -N, --symbolic resolve hardware names
\n
"
));
fprintf
(
stderr
,
_
(
" -e, --extend display other/more information
s
\n
"
));
fprintf
(
stderr
,
_
(
" -F, --fib display Forwarding Infomation Base (default)
\n
"
));
fprintf
(
stderr
,
_
(
" -e, --extend display other/more information
\n
"
));
fprintf
(
stderr
,
_
(
" -F, --fib display Forwarding Info
r
mation Base (default)
\n
"
));
fprintf
(
stderr
,
_
(
" -C, --cache display routing cache instead of FIB
\n\n
"
));
fprintf
(
stderr
,
_
(
" <AF>=Use '-A <af>' or '--<af>' Default: %s
\n
"
),
DFLT_AF
);
...
...
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