plan 9 kernel history: overview | file list | diff list

1991/1115/port/portdat.h (diff list | history)

1991/1112/sys/src/9/port/portdat.h:10,161991/1115/sys/src/9/port/portdat.h:10,15 (short | long | prev | next)
Rename Ifile to Netinf. Add Netprot. Add Lock to Network. (Bug fix?) Add Network.prot.
rsc Fri Mar 4 12:44:25 2005
1991/0428    
typedef struct Envval	Envval; 
typedef struct Etherpkt	Etherpkt; 
1991/0705    
typedef struct Fgrp	Fgrp; 
1991/1106    
typedef struct Ifile	Ifile; 
1991/0705    
typedef struct Image	Image; 
1991/0607    
typedef struct IOQ	IOQ; 
typedef struct KIOQ	KIOQ; 
1991/1112/sys/src/9/port/portdat.h:17,221991/1115/sys/src/9/port/portdat.h:16,23
1991/0428    
typedef struct List	List; 
typedef struct Mount	Mount; 
1991/1011    
typedef struct Mhead	Mhead; 
1991/1115    
typedef struct Netinf	Netinf; 
typedef struct Netprot	Netprot; 
1991/1106    
typedef struct Network	Network; 
1991/0428    
typedef struct Note	Note; 
typedef struct Page	Page; 
1991/1112/sys/src/9/port/portdat.h:622,6341991/1115/sys/src/9/port/portdat.h:623,641
1991/1106    
/* 
 *  a multiplexed network 
 */ 
struct Ifile 
1991/1115    
struct Netprot 
1991/1106    
{ 
1991/1115    
	ulong	mode; 
	char	owner[NAMELEN]; 
}; 
struct Netinf 
{ 
1991/1106    
	char	*name; 
	void	(*fill)(Chan*, char*, int); 
}; 
struct Network 
{ 
1991/1115    
	Lock; 
1991/1106    
	char	*name; 
	int	nconv;			/* max # of conversations */ 
	Qinfo	*devp;			/* device end line disc */ 
1991/1112/sys/src/9/port/portdat.h:636,6421991/1115/sys/src/9/port/portdat.h:643,650
1991/1106    
	int	(*listen)(Chan*); 
	int	(*clone)(Chan*); 
	int	ninfo; 
	Ifile	info[5]; 
1991/1115    
	Netinf	info[5]; 
	Netprot	*prot;			/* protections */ 
1991/1106    
}; 
#define MAJOR(q) ((q) >> 8) 
#define MINOR(q) ((q) & 0xff) 


source code copyright © 1990-2005 Lucent Technologies; see license
Plan 9 distribution
comments to russ cox (rsc@swtch.com)