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

⟦0a0b9c56b⟧ TextFile

    Length: 2331 (0x91b)
    Types: TextFile
    Notes: UNIX file
    Names: »trans.h«

Derivation

└─⟦a6ab2eb36⟧ Bits:30004042/kconfig3.imd SW95705I 386/ix Multi-user Release 1.2
└─⟦a6ab2eb36⟧ UNIX Filesystem
    └─⟦this⟧ »kc/new/usr/include/sys/fs/nfs/trans.h« 

TextFile

/*
 * 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  "@(#)trans.h	1.1 - 88/04/26"

/*      @(#)sufstring	3.3 System V NFS  source        */
/*	@(#)trans.h	1.4 12/29/87		3.3 System V NFS  source        */
/*
 *	Copyright 1986 Convergent Technologies Inc.
 */

/*      @(#)trans.h	3.1 LAI System V NFS Release 3.0/V3  source        */

/*
 * Portions of this module were taken from Convergent's trans.h:
 *	Convergent Technologies - System V - Jan 1987
 * #ident	"@(#)trans.h	1.2 :/source/uts/common/sys/fs/nfs/s.trans.h 1/12/87 19:39:15"
 */

/*
 * Remote Procedure Call streams transport provider interface.
 */

#ifdef INKERNEL
#include "sys/socket.h"

/*
 * Transport handle, private.
 */
struct kxprt_private {
        int                      tp_flags;      /* see below */
        struct stdata           *tp_strm;       /* pointer to a stream header */
	NETBUF			 tp_laddr;	/* local address */
        int                      tp_error;      /* send/recv error */
        PROTO                    tp_proto;      /* protocol identification */
};
typedef struct kxprt_private    TRANS;

#define	tpNULL	((TRANS *)NULL)

/*
 * Transport public.
 */
#define	TP_INFINITY	(-1)	/* infinity receive time out (none) */

/*
 * Below are the transport handle creation routines for the various
 * implementations of streams rpc transport.  They can return NULL
 * if a creation failure occurs.
 */

/*
 * Kernel streams-based transport.
 *
 * TRANS *
 * kclt_open(fp, flags)
 *	struct file *fp;
 *	int	flags;
 */
extern TRANS *kclt_open();

/* kclt_open() flags */
#define	TP_OPENFP	0x01	/* create transport from file pointer */
#define TP_SECURE	0x02	/* if possible, bind to secure(?) port */

/* XXX 'til ops vector */
extern int	 kclt_sendto();
extern int	 kclt_recvfrom();
extern int	 kclt_geterr();
extern int	 kclt_secure();
extern void	 kclt_destroy();
#endif