File:  [Power 6/32 Unix Tahoe 4.2BSD] / cci / sys / netpup / pup_proto.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Sun Jul 28 12:24:19 2019 UTC (7 years ago) by root
Branches: bsd, MAIN
CVS tags: v12b, v121, HEAD
Power 6/32 Unix version 1.2b

/*	pup_proto.c	6.1	83/07/29	*/

#include "../h/param.h"
#include "../h/socket.h"
#include "../h/protosw.h"
#include "../h/domain.h"

/*
 * PUP-I protocol family: raw interface
 */
int	rpup_output();
extern	int raw_usrreq();

struct protosw pupsw[] = {
{ SOCK_RAW,	PF_PUP,		0,		PR_ATOMIC|PR_ADDR,
  0,		rpup_output,	0,		0,
  raw_usrreq,
  0,		0,		0,		0,
},
};

struct domain pupdomain =
    { AF_PUP, "pup", pupsw, &pupsw[sizeof(pupsw)/sizeof(pupsw[0])] };

#ifdef notdef
/*
 * 3 Mb/s Ethernet link protocol family: raw interface
 */
int	raw_enoutput();
extern	int raw_usrreq();

struct protosw ensw[] = {
{ SOCK_RAW,	PF_ETHERLINK,	0,		PR_ATOMIC|PR_ADDR,
  0,		raw_enoutput,	0,		0,
  raw_usrreq,
  0,		0,		0,		0,
},
};

struct domain endomain =
    { AF_ETHERLINK "ether", ensw, &ensw[sizeof(ensw)/sizeof(ensw[0])] };
#endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.