Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Nov 2000 16:51:22 +0100 (MET)
From:      hm@hcs.de (Hellmuth Michaelis)
To:        "Bjoern A. Zeeb" <i4b@zabbadoz.net>
Cc:        i4b mailing list <freebsd-isdn@FreeBSD.ORG>
Subject:   Re: i4bing -> panic
Message-ID:  <20001126155122.1CB8A3E8@hcswork.hcs.de>
In-Reply-To: <Pine.BSF.4.30.0011261038150.73161-100000@noc.zabbadoz.net> "from Bjoern A. Zeeb at Nov 26, 2000 10:51:55 am"

next in thread | previous in thread | raw e-mail | index | archive | help
From the keyboard of Bjoern A. Zeeb:

> i4btrc: 4 ISDN trace device(s) attached
> i4bing: 4 i4b NetGraph ISDN B-channel device(s) attached
> ing: ng_make_node_common, ret = 22

This is fixed in -current (which should also be applicable to 4.x). The
fix was posted on the mailing list.

Writing a PR would help to get this into stable!

> Trying without netgraph and everything 's fine. But it's the netgraph
> devices that already know how to handle cisco hdlc wth keepalives. So
> I though I should start with them. I couldn't find anything in isppp
> (as suggested) or other i4b sources for that.

In /usr/src/sys/i4b/driver/i4b_ispppsubr.c (as i told you), grepping for
CISCO gives as one of the first hits:

#define IFF_CISCO       IFF_LINK2       /* auto-dial on output */

The comment is for shure misleading, but it looks to me that setting link2
will give you the CISCO protocol.

Grepping further gives:

#define CISCO_MULTICAST         0x8f    /* Cisco multicast address */
#define CISCO_UNICAST           0x0f    /* Cisco unicast address */
#define CISCO_KEEPALIVE         0x8035  /* Cisco keepalive protocol */
#define CISCO_ADDR_REQ          0       /* Cisco address request */
#define CISCO_ADDR_REPLY        1       /* Cisco address reply */
#define CISCO_KEEPALIVE_REQ     2       /* Cisco keepalive request */

There are the keepalives.

hellmuth
-- 
Hellmuth Michaelis                                    Tel   +49 40 55 97 47-70
HCS Hanseatischer Computerservice GmbH                Fax   +49 40 55 97 47-77
Oldesloer Strasse 97-99                               Mail  hm [at] hcs.de
D-22457 Hamburg                                       WWW   http://www.hcs.de


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isdn" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001126155122.1CB8A3E8>