|
DataMuseum.dkPresents historical artifacts from the history of: Regnecentalen RC-900 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Regnecentalen RC-900 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 1379 (0x563) Types: TextFile Notes: UNIX file Names: »Space.c«
└─⟦f660c3862⟧ Bits:30004068/disk1.imd Interactive TCP/IP v.1.2 └─⟦f660c3862⟧ UNIX Filesystem └─⟦this⟧ »hb/driver/lo/Space.c«
/* * space.c for loopback DL driver * * contains declarations for driver specific data structures * comments identify what each structure is for * * 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.3 - 88/11/22" #ident "@(#) (c) Copyright INTERACTIVE Systems Corporation 1988" #include "sys/types.h" #include "sys/stream.h" #include "sys/lo.h" #ifdef MERGE #include "config.h" #define NLODEV LO_UNITS /* number of loopback devices */ #else #define NLODEV 1 /* number of loopback devices */ #endif struct lodev lodevs[NLODEV]; /* per-device structure */ int lo_cnt = NLODEV; /* number for use by driver */ #define LOMAXADDRLEN 4 /* only dealing with INET addrs for now */ int lomacaddrlen = LOMAXADDRLEN; unchar lomacaddr[LOMAXADDRLEN] = {0, 0, 0, 127}; /* default address */ /* (network byte order) */ struct lostats lostats[NLODEV]; /* internal stats */