Date: Mon, 23 Jul 2001 09:40:01 -0700 (PDT) From: Mike Barcroft <mike@FreeBSD.org> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/14848: Frame Relay support, corrected Message-ID: <200107231640.f6NGe1B87822@freefall.freebsd.org>
index | next in thread | raw e-mail
The following reply was made to PR kern/14848; it has been noted by GNATS.
From: Mike Barcroft <mike@FreeBSD.org>
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 <rik@cronyx.ru> -----
Delivered-To: mike@freebsd.org
Date: Mon, 23 Jul 2001 14:54:23 +0400
From: Kurakin Roman <rik@cronyx.ru>
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 <vak@cronyx.ru>, 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: <mike@FreeBSD.org>
> To: <vak@cronyx.ru>; <mike@FreeBSD.org>; <freebsd-bugs@FreeBSD.org>
> 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, <vak@cronyx.ru>
+ * Copyright (C) 1994-2001 Cronyx Ltd.
+ * Authors: Serge Vakulenko, <vak@cronyx.ru>
+ * Roman Kurakin, <rik@cronyx.ru>
*
* 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
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107231640.f6NGe1B87822>
