Adapted to new libcapi20-3.x

This commit is contained in:
MelwareDE 2006-02-10 10:35:27 +00:00
parent dde35ec11a
commit 623c3e89ea
6 changed files with 19 additions and 10 deletions

View File

@ -1,5 +1,7 @@
CHANGES of ItunD CHANGES of ItunD
================= =================
v0.3.1
- port to new libcapi20-3.x
v0.3 v0.3
- add new encap "zipip": rawip with compression. - add new encap "zipip": rawip with compression.

View File

@ -2,7 +2,7 @@
# Makefile for ISDN Tunnel Daemon # Makefile for ISDN Tunnel Daemon
# #
VERSION=0.3 VERSION=0.3.1
PROG=itund PROG=itund

4
README
View File

@ -2,12 +2,12 @@
ISDN-Tunnel-Daemon "itund" ISDN-Tunnel-Daemon "itund"
License GNU GPL License GNU GPL
Copyright 2004-2005 SYSGO Real-Time Solutions AG Copyright 2004-2006 SYSGO Real-Time Solutions AG
Klein-Winternheim, Germany Klein-Winternheim, Germany
http://www.sysgo.com http://www.sysgo.com
http://www.elinos.com http://www.elinos.com
Copyright 2004-2005 Cytronics & Melware Copyright 2004-2006 Cytronics & Melware
ItunD is a user-space daemon to provide a network tunnel over ISDN lines. It works ItunD is a user-space daemon to provide a network tunnel over ISDN lines. It works
similiar (and most important together with) the ISDN4Linux net-devices. similiar (and most important together with) the ISDN4Linux net-devices.

View File

@ -919,7 +919,8 @@ static void check_incoming_complete(capi_connection *plcip)
0, /* BChannelinformation */ 0, /* BChannelinformation */
0, /* Keypadfacility */ 0, /* Keypadfacility */
0, /* Useruserdata */ 0, /* Useruserdata */
0 /* Facilitydataarray */ 0, /* Facilitydataarray */
0 /* SendingComplete */
); );
plcip->msgid = cmsg.Messagenumber; plcip->msgid = cmsg.Messagenumber;
send_message(card, &cmsg); send_message(card, &cmsg);
@ -971,6 +972,7 @@ ignore:
0, 0,
0, 0,
0, 0,
0,
0, /* ConnectedNumber */ 0, /* ConnectedNumber */
0, /* ConnectedSubaddress */ 0, /* ConnectedSubaddress */
0, /* LLC */ 0, /* LLC */
@ -1513,13 +1515,15 @@ capi_connection *capiconn_connect(
plcip->conninfo.b1config, plcip->conninfo.b1config,
plcip->conninfo.b2config, plcip->conninfo.b2config,
plcip->conninfo.b3config, plcip->conninfo.b3config,
0, /* Globalconfiguration */
0, /* BC */ 0, /* BC */
0, /* LLC */ 0, /* LLC */
0, /* HLC */ 0, /* HLC */
plcip->conninfo.bchaninfo, /* BChannelinformation */ plcip->conninfo.bchaninfo, /* BChannelinformation */
0, /* Keypadfacility */ 0, /* Keypadfacility */
0, /* Useruserdata */ 0, /* Useruserdata */
0 /* Facilitydataarray */ 0, /* Facilitydataarray */
0 /* Sendingcomplete */
); );
plcip->msgid = cmdcmsg.Messagenumber; plcip->msgid = cmdcmsg.Messagenumber;
@ -1571,6 +1575,7 @@ int capiconn_accept(
plcip->conninfo.b1config, plcip->conninfo.b1config,
plcip->conninfo.b2config, plcip->conninfo.b2config,
plcip->conninfo.b3config, plcip->conninfo.b3config,
0, /* Globalconfiguration */
0, /* ConnectedNumber */ 0, /* ConnectedNumber */
0, /* ConnectedSubaddress */ 0, /* ConnectedSubaddress */
0, /* LLC */ 0, /* LLC */
@ -1604,6 +1609,7 @@ int capiconn_ignore(capi_connection *plcip)
0, 0,
0, 0,
0, 0,
0, /* Globalconfiguration */
0, /* ConnectedNumber */ 0, /* ConnectedNumber */
0, /* ConnectedSubaddress */ 0, /* ConnectedSubaddress */
0, /* LLC */ 0, /* LLC */
@ -1637,6 +1643,7 @@ int capiconn_reject(capi_connection *plcip)
0, 0,
0, 0,
0, 0,
0, /* Globalconfiguration */
0, /* ConnectedNumber */ 0, /* ConnectedNumber */
0, /* ConnectedSubaddress */ 0, /* ConnectedSubaddress */
0, /* LLC */ 0, /* LLC */

View File

@ -1,13 +1,13 @@
/* /*
* ISDN tunnel Daemon "ItunD" * ISDN tunnel Daemon "ItunD"
* *
* Copyright 2004-2005 SYSGO Real-Time Solutions AG * Copyright 2004-2006 SYSGO Real-Time Solutions AG
* Klein-Winternheim, Germany * Klein-Winternheim, Germany
* All rights reserved. * All rights reserved.
* *
* Author: Armin Schindler <armin.schindler@sysgo.com> * Author: Armin Schindler <armin.schindler@sysgo.com>
* *
* Copyright 2004-2005 Cytronics & Melware * Copyright 2004-2006 Cytronics & Melware
* *
* Armin Schindler <armin@melware.de> * Armin Schindler <armin@melware.de>
* *
@ -72,7 +72,7 @@ void die(int val)
*/ */
static void usage(char *prg) static void usage(char *prg)
{ {
fprintf(stderr, "ISDN-Tunnel Daemon Version %s (c) 2004-2005 Cytronics & Melware, SYSGO AG\n", VERSION); fprintf(stderr, "ISDN-Tunnel Daemon Version %s (c) 2004-2006 Cytronics & Melware, SYSGO AG\n", VERSION);
fprintf(stderr, "usage: %s <option> <option> ...\n", prg); fprintf(stderr, "usage: %s <option> <option> ...\n", prg);
fprintf(stderr, "options:\n"); fprintf(stderr, "options:\n");
fprintf(stderr, " -D Don't daemonize into background\n"); fprintf(stderr, " -D Don't daemonize into background\n");

View File

@ -1,13 +1,13 @@
/* /*
* ISDN tunnel Daemon "ItunD" * ISDN tunnel Daemon "ItunD"
* *
* Copyright 2004-2005 SYSGO Real-Time Solutions AG * Copyright 2004-2006 SYSGO Real-Time Solutions AG
* Klein-Winternheim, Germany * Klein-Winternheim, Germany
* All rights reserved. * All rights reserved.
* *
* Author: Armin Schindler <armin.schindler@sysgo.com> * Author: Armin Schindler <armin.schindler@sysgo.com>
* *
* Copyright 2004-2005 Cytronics & Melware * Copyright 2004-2006 Cytronics & Melware
* *
* Armin Schindler <armin@melware.de> * Armin Schindler <armin@melware.de>
* *