DataMuseum.dk

Presents historical artifacts from the history of:

Regnecentalen RC-900

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Regnecentalen RC-900

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦1ea00b9ce⟧ TextFile

    Length: 2059 (0x80b)
    Types: TextFile
    Notes: Uncompressed file

Derivation

└─⟦0f0f313e4⟧ Bits:30004764 SW95709I.2F TCP/IP Update 1
└─⟦0f0f313e4⟧ UNIX Filesystem
    └─⟦c6fab06a0⟧ »SSU.4a/new/etc/conf/pack.d/tcp/space.c.Z« 
        └─⟦this⟧ 

TextFile

/*
 * TCP space.c
 *
 *     this is where all configurable information and most global variables
 *     are declared.
 *
 *	Copyrighted as an unpublished work.
 *	(c) Copyright 1988 INTERACTIVE Systems Corporation
 *	All rights reserved.
 *
 *	RESTRICTED RIGHTS:
 *
 *	These programs are supplied under a license.  They may be used,
 *	disclosed, and/or copied only as permitted under such license
 *	agreement.  Any copy must contain the above copyright notice and
 *	this restricted rights notice.  Use, copying, and/or disclosure
 *	of the programs is strictly prohibited unless otherwise provided
 *	in the license agreement.
 */
#ident "@(#)Space.c	1.4 - 89/09/25"
#ident "@(#) (c) Copyright INTERACTIVE Systems Corporation 1988"

#include "sys/types.h"
#include "sys/stream.h"
#include "sys/stropts.h"
#include "sys/strstat.h"

#include "sys/bsdtypes.h"
#include "sys/socket.h"

#include <sys/tcp.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <netinet/ip_var.h>
#include "netinet/tcpip.h"
#include "netinet/tcp_timer.h"
#include <netinet/tcp_var.h>
#include <net/route.h>
#include <netinet/in_pcb.h>
#include <sys/intimer.h>

/* configuration information */

#ifdef MERGE
#include "config.h"
#define NTCP	TCP_UNITS	/* maximum number of TCP upper streams */
#else
#define NTCP	256		/* maximum number of TCP upper streams */
#endif
struct tcpdev tcpdevs[NTCP];
int tcp_cnt = NTCP;

#define NLTCP 1
struct tcpldev tcpldevs[NLTCP];
int	     tcp_lcnt=NLTCP;

/* set the default TCP send/receive window sizes */
#define DEFAULT_WINDOW	4096
int	tcp_sendspace = DEFAULT_WINDOW;
int	tcp_recvspace = DEFAULT_WINDOW;

int tcpdebug = 0;
int tcpsrv,tcptimeout;

/* global declarations */
tcp_seq tcp_iss;		/* initial send sequence number */
struct inpcb tcb;		/* ead of tcb list for tcp */
struct tcpstat tcpstat;		/* TCP statistics */

struct module_stat tcp_modstat;
extern void tcp_fasttimo(), tcp_slowtimo();
struct intimer tcpfast_timer = {
    0, 0, 0, 2, 0, tcp_fasttimo,
};
struct intimer tcpslow_timer = {
    0, 0, 0, 5, 0, tcp_slowtimo,
};