diff options
author | Bernd Eckenfels <net-tools@lina.inka.de> | 2007-12-01 17:49:35 +0000 |
---|---|---|
committer | Bernd Eckenfels <net-tools@lina.inka.de> | 2007-12-01 17:49:35 +0000 |
commit | 4193b1037ce35fb90e5c92062696e2d660860474 (patch) | |
tree | f70a66c2600eaa1d3559c5832600fe416a167162 /lib | |
parent | Fix Formatting Bug for ifconfig.8 (Debian Bug#450432 reported by Ivan (diff) | |
download | net-tools-4193b1037ce35fb90e5c92062696e2d660860474.tar.gz net-tools-4193b1037ce35fb90e5c92062696e2d660860474.tar.bz2 net-tools-4193b1037ce35fb90e5c92062696e2d660860474.zip |
ROSE support
Diffstat (limited to 'lib')
-rw-r--r-- | lib/af.c | 6 | ||||
-rw-r--r-- | lib/net-support.h | 5 |
2 files changed, 9 insertions, 2 deletions
@@ -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.13 2000/05/20 13:38:10 pb Exp $ + * Version: $Id: af.c,v 1.14 2007/12/01 17:49:35 ecki Exp $ * * Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org> * Copyright 1993 MicroWalt Corporation @@ -35,6 +35,7 @@ int flag_netrom; int flag_inet; int flag_inet6; int flag_econet; +int flag_rose; int flag_x25 = 0; int flag_ash; @@ -58,6 +59,9 @@ struct aftrans_t { "ipx", "ipx", &flag_ipx }, { + "rose", "rose", &flag_rose + }, + { "appletalk", "ddp", &flag_ddp }, { diff --git a/lib/net-support.h b/lib/net-support.h index 568fe81..c963fe6 100644 --- a/lib/net-support.h +++ b/lib/net-support.h @@ -119,6 +119,7 @@ extern int IPX_rinput(int action, int flags, char **argv); extern int NETROM_rinput(int action, int flags, char **argv); extern int AX25_rinput(int action, int flags, char **argv); extern int X25_rinput(int action, int flags, char **argv); +extern int ROSE_rinput(int action, int flags, char **argv); extern int aftrans_opt(const char *arg); extern void aftrans_def(char *tool, char *argv0, char *dflt); @@ -131,6 +132,7 @@ extern int flag_ax25; extern int flag_ddp; extern int flag_netrom; extern int flag_x25; +extern int flag_rose; extern int flag_inet; extern int flag_inet6; @@ -146,9 +148,10 @@ extern char afname[]; {"inet", 0, 0, 1}, \ {"inet6", 0, 0, 1}, \ {"ddp", 0, 0, 1}, \ + {"rose", 0, 0, 1}, \ {"unix", 0, 0, 1}, \ {"tcpip", 0, 0, 1} -#define AFTRANS_CNT 11 +#define AFTRANS_CNT 12 #define EINTERN(file, text) fprintf(stderr, \ _("%s: Internal Error `%s'.\n"),file,text); |