2 * Copyright (C) 1994 AmiTCP/IP Group, <amitcp-group@hut.fi>
3 * Helsinki University of Technology, Finland.
5 * Copyright (C) 2005 - 2007 The AROS Dev Team
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston,
23 #ifndef NET_SANA2CONFIG_H
24 #define NET_SANA2CONFIG_H
27 #include <dos/rdargs.h>
30 #include "net/netdbpaths.h"
32 #define SSC_TEMPLATE \
36 "IP/K,NETMASK/K,UP/S," \
38 "ARPTYPE=IPARPTYPE/N/K," \
39 "IPREQ=IPREQUESTS/N/K," \
40 "ARPREQ=ARPREQUESTS/N/K," \
41 "WRITEREQ=WRITEREQUESTS/N/K," \
45 "P2P=POINT2POINT/S,NOSIMPLEX/S,LOOPBACK/S"
71 struct RDArgs
*rdargs
;
72 struct ssc_args args
[1];
75 #define SSCF_RDARGS 1 /* set iff rdargs should be freed */
78 * Define how the interface database should be interpreted
83 void ssconfig_free(struct ssconfig
*config
);
84 struct ssconfig
*ssconfig_parse(struct RDArgs
*rdargs
);
85 struct ssconfig
*ssconfig_make(int how
, char *name
, long unit
);
86 void ssconfig(struct sana_softc
*ifp
, struct ssconfig
*sscp
);
88 #endif /* !NET_SANA2CONFIG_H */