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

⟦f69ac873e⟧ TextFile

    Length: 1543 (0x607)
    Types: TextFile
    Notes: UNIX file
    Names: »lo.h«

Derivation

└─⟦8c4f54e61⟧ Bits:30004068/disk2.imd Interactive TCP/IP v.1.2
└─⟦8c4f54e61⟧ UNIX Filesystem
    └─⟦this⟧ »hb/new/usr/include/sys/lo.h« 

TextFile

/*
 * definitions specific to the LI loopback driver
 */
/*
 * 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 "@(#)lo.h	1.3 - 88/11/22"

#define LOMAXPKT	(2048)
#define LOHIWAT		(8*LOMAXPKT)
#define LOLOWAT		(4*LOMAXPKT)

struct lodev {
   queue_t *lo_qptr;
   ulong    lo_state;
   ulong    lo_flags;
   ulong    lo_sap;		/* always a long */
   struct lostats *lo_stats;
};

#define LOOP_ADDR_LEN	4	/* same as an internet address */
#define LOOP_LSAP_LEN	4	/* want a long */
#define LOOP_INDADDR_LEN (LOOP_ADDR_LEN+LOOP_LSAP_LEN)

#define DL_INET		10	/* since LIHDR doesn't have anything */

struct lostats {
    ulong	lo_nstats;	/* number of stat fields */
    /* non-hardware */
    ulong	lo_nobuffer;	/* 0 */
    ulong	lo_blocked;	/* 1 */
    ulong	lo_blocked2;	/* 2 */
    ulong	lo_multicast;	/* 3 */
    /* rest are hardware dependent; see individual drivers */
    ulong	lo_xpkts;	/* 4 */
    ulong	lo_xbytes;	/* 5 */
    ulong	lo_unused[4];	/* 6,7,8,9 */
    ulong	lo_rpkts;	/* 10 */
    ulong	lo_rbytes;	/* 11 */
    ulong 	lo_pad[4];	/* 12,13,14,15 padding */
};