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

1991/1019/port/ipdat.h (diff list | history)

1991/1019/sys/src/9/port/ipdat.h:263,2841991/1023/sys/src/9/port/ipdat.h:263,281 (short | long | prev | next)
Add ipincoming. In Ipconv: remove ptype, listen, contype. Add newcon.
rsc Fri Mar 4 12:44:25 2005
1991/0424    
	int 	ref; 
	Qinfo	*stproto;		/* Stream protocol for this device */ 
	Ipaddr	dst;			/* Destination from connect */ 
                 
	Port	psrc;			/* Source port */ 
	Port	pdst;			/* Destination port */ 
 
	uchar	ptype;			/* Source port type */ 
	Ipifc	*ipinterface;		/* Ip protocol interface */ 
	Queue	*readq;			/* Pointer to upstream read q */ 
                 
	QLock	listenq;		/* List of people waiting incoming cons */ 
	Rendez	listenr;		/* Some where to sleep while waiting */ 
	Ipconv	*listen; 
		 
	char	err;			/* Async protocol error */ 
	int	backlog;		/* Maximum number of waiting connections */ 
	int	curlog;			/* Number of waiting connections */ 
	int 	contype; 
1991/1023    
	int 	newcon;			/* Flags that this is the start of a connection */ 
 
1991/1012    
	union { 
		Tcpctl	tcpctl;			/* Tcp control block */ 
		Ilcb	ilctl;			/* Il control block */ 
1991/1019/sys/src/9/port/ipdat.h:476,4811991/1023/sys/src/9/port/ipdat.h:473,479
1991/0424    
void	appendb(Block **, Block *); 
Ipconv	*ip_conn(Ipconv *, Port, Port, Ipaddr dest, char proto); 
void	ipmkdir(Qinfo *, Dirtab *, Ipconv *); 
1991/1023    
Ipconv	*ipincoming(Ipconv*); 
1991/0424    
int	inb_window(Tcpctl *, int); 
Block	*htontcp(Tcp *, Block *, Tcphdr *); 
void	start_timer(Timer *); 


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