From owner-freebsd-bugs Mon Jul 23 9:40:21 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7F9E337B40B for ; Mon, 23 Jul 2001 09:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f6NGe1B87822; Mon, 23 Jul 2001 09:40:01 -0700 (PDT) (envelope-from gnats) Date: Mon, 23 Jul 2001 09:40:01 -0700 (PDT) Message-Id: <200107231640.f6NGe1B87822@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Mike Barcroft Subject: Re: kern/14848: Frame Relay support, corrected Reply-To: Mike Barcroft Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/14848; it has been noted by GNATS. From: Mike Barcroft To: freebsd-gnats-submit@FreeBSD.org Cc: Subject: Re: kern/14848: Frame Relay support, corrected Date: Mon, 23 Jul 2001 12:48:59 -0400 Adding to Audit-Trail. ----- Forwarded message from Kurakin Roman ----- Delivered-To: mike@freebsd.org Date: Mon, 23 Jul 2001 14:54:23 +0400 From: Kurakin Roman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; m18) Gecko/20010131 Netscape6/6.01 X-Accept-Language: ru, en To: Serge Vakulenko , mike@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/14848: Frame Relay support, corrected Hi, Please check kern/21771 for more recent report. Also I attached patch that was sent a week ago to freebsd-net mailing list. (This patch was made relative 4.current and it contains last changes) Best regards, Roman Kurakin Serge Vakulenko wrote: > ----- Original Message ----- > From: > To: ; ; > Sent: Saturday, July 21, 2001 6:56 AM > Subject: Re: kern/14848: Frame Relay support, corrected > > >> Synopsis: Frame Relay support, corrected >> >> State-Changed-From-To: open->suspended >> State-Changed-By: mike >> State-Changed-When: Fri Jul 20 19:54:47 PDT 2001 >> State-Changed-Why: >> >> With a little bit of work, this could probably be committed. >> Awaiting committer. >> >> http://www.FreeBSD.org/cgi/query-pr.cgi?pr=14848 >> --- if_sppp_c.h Wed Jul 4 18:59:21 2001 +++ if_sppp.h Fri Jul 13 17:43:37 2001 @@ -1,8 +1,9 @@ /* * Defines for synchronous PPP/Cisco link level subroutines. * - * Copyright (C) 1994 Cronyx Ltd. - * Author: Serge Vakulenko, + * Copyright (C) 1994-2001 Cronyx Ltd. + * Authors: Serge Vakulenko, + * Roman Kurakin, * * Heavily revamped to conform to RFC 1661. * Copyright (C) 1997, Joerg Wunsch. @@ -16,7 +17,6 @@ * * From: Version 2.0, Fri Oct 6 20:39:21 MSK 1995 * - * $FreeBSD: src/sys/net/if_sppp.h,v 1.16.2.1 2001/07/03 11:01:41 ume Exp $ */ #ifndef _NET_IF_SPPP_H_ @@ -106,6 +106,8 @@ struct sipcp ipv6cp; /* IPv6CP params */ struct sauth myauth; /* auth params, i'm peer */ struct sauth hisauth; /* auth params, i'm authenticator */ + u_short fr_dlci; /* Frame Relay DLCI number, 16..1023 */ + u_char fr_status; /* PVC status, active/new/delete */ /* * These functions are filled in by sppp_attach(), and are * expected to be used by the lower layer (hardware) drivers @@ -139,6 +141,7 @@ }; #define PP_KEEPALIVE 0x01 /* use keepalive protocol */ +#define PP_FR 0x04 /* use Frame Relay protocol instead of PPP */ /* 0x04 was PP_TIMO */ #define PP_CALLIN 0x08 /* we are being called */ #define PP_NEEDAUTH 0x10 /* remote requested authentication */ @@ -167,7 +170,8 @@ struct sppp defs; }; -#ifdef _KERNEL +#if (__FreeBSD_version >= 400000 && defined _KERNEL) \ + || (__FreeBSD_version < 400000 && defined KERNEL) void sppp_attach (struct ifnet *ifp); void sppp_detach (struct ifnet *ifp); void sppp_input (struct ifnet *ifp, struct mbuf *m); ----- End forwarded message ----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message