/*
 * @DEC_COPYRIGHT@
 */
/*
 * HISTORY
 * $Log:	gw_screen_data.c,v $
 * Revision 1.1.2.2  92/03/24  13:27:44  Heather_Gray
 * 	Initial port to DEC OSF/1
 * 	[92/03/10  20:11:20  Heather_Gray]
 * 
 * $EndLog$
 */
#ifndef lint
static char *rcsid = "@(#)$RCSfile: gw_screen_data.c,v $ $Revision: 1.1.2.2 $ (DEC) $Date: 92/03/24 13:27:44 $";
#endif

/*
 *   24 May 1990 - Jeffrey Mogul/DECWRL
 *      created file
 *	Copyright (c) 1990 by Digital Equipment Corporation
 *
*/

#include "gwscreen.h"
#include <sys/kernel.h>
#include <sys/errno.h>
#include <sys/mbuf.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/gw_screen.h>

#if	NGWSCREEN == 0

/* global data */
int gw_screen_on = SCREENMODE_OFF;		/* forever */

void
gw_forwardscreen(pkt, srcrt, af, fwdproc, errorproc)
	struct mbuf *pkt;
	int srcrt;
	int af;
	void (*fwdproc)();
	void (*errorproc)();
{
	/* always forward */
	(*fwdproc)(pkt, srcrt);
}

void
gw_screen_init()
{
}

int
screen_control(so, cmd, data) 
	struct socket *so;
	int cmd;
	caddr_t data;
{
	return(EOPNOTSUPP);
}

#else

/* SCREEN_MAXPEND can be changed if necessary */
#define SCREEN_MAXPEND 32	/* default max # of packets pending */
int screen_maxpend = SCREEN_MAXPEND;

#endif	/* NGWSCREEN */
