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

1990/0704/power/dat.h (diff list | history)

1990/0629/sys/src/9/power/dat.h:495,5041990/0704/sys/src/9/power/dat.h:495,505 (short | long | prev | next)
1990/0629    
	uchar	remain[2];	/* count of remaing bytes of data */ 
	uchar	sum[2];		/* checksum (0 means none) */ 
}; 
#define HDRSIZE 10 
#define NEWCALL	0x1		/* flag bit marking a new circuit */ 
#define HANGUP 0x2		/* flag bit requesting hangup */ 
#define ACKME 0x4		/* acknowledge this message */ 
1990/0704    
#define NO_HDRSIZE 10 
#define NO_NEWCALL	0x1	/* flag bit marking a new circuit */ 
#define NO_HANGUP	0x2	/* flag bit requesting hangup */ 
#define NO_ACKME	0x4	/* acknowledge this message */ 
#define NO_SERVICE	0x8	/* message includes a service name */ 
1990/0629    
 
/* 
 *  a buffer describing a nonet message 
1990/0629/sys/src/9/power/dat.h:542,5481990/0704/sys/src/9/power/dat.h:543,551
1990/0629    
 
	Noifc	*ifc; 
	int	kstarted; 
	char	raddr[64];	/* remote address */ 
1990/0704    
	char	raddr[NAMELEN];	/* remote address */ 
	char	ruser[NAMELEN];	/* remote user */ 
	char	addr[NAMELEN];	/* local address */ 
1990/0629    
	int	rexmit;		/* statistics */ 
	int	retry; 
	int	bad; 
1990/0629/sys/src/9/power/dat.h:555,5611990/0704/sys/src/9/power/dat.h:558,564
1990/0629    
 */ 
struct Nocall { 
	Block	*msg; 
	char	raddr[64]; 
1990/0704    
	char	raddr[NAMELEN]; 
1990/0629    
	long	circuit; 
}; 
 
1990/0629/sys/src/9/power/dat.h:566,5721990/0704/sys/src/9/power/dat.h:569,575
1990/0629    
struct Noifc { 
	Lock; 
	int	ref; 
	char	name[64];	/* interface name */		 
1990/0704    
	char	name[NAMELEN];	/* interface name */		 
1990/0629    
	Queue	*wq;		/* interface output queue */ 
	Noconv	*conv; 
 


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