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

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

1991/1124/sys/src/9/port/ipdat.h:231,2471991/1126/sys/src/9/port/ipdat.h:231,239 (short | long | prev | next)
In Tcpctl, remove out-of-band data. In Ipconv, add net. Remove appendb. Add ipforme.
rsc Fri Mar 4 12:44:25 2005
1991/0424    
	Block	*rcvq; 
	ushort	rcvcnt; 
 
	Block	*rcvoobq; 
	ushort	rcvoobcnt; 
                 
	Block	*sndq;			/* List of data going out */ 
	ushort	sndcnt;			/* Amount of data in send queue */ 
 
	Block	*sndoobq;		/* List of blocks going oob */ 
	ushort	sndoobcnt;		/* Size of out of band queue */ 
	ushort	oobmark;		/* Out of band sequence mark */ 
	char	oobflags;		/* Out of band data flags */ 
                 
	Reseq	*reseq;			/* Resequencing queue */ 
	Timer	timer;			  
	Timer	acktimer;		/* Acknoledge timer */ 
1991/1124/sys/src/9/port/ipdat.h:279,2841991/1126/sys/src/9/port/ipdat.h:271,277
1991/0424    
	int 	ref; 
1991/1115    
	int	index; 
1991/0424    
	Qinfo	*stproto;		/* Stream protocol for this device */ 
1991/1126    
	Network	*net;			/* user level network interface */ 
1991/0424    
	Ipaddr	dst;			/* Destination from connect */ 
	Port	psrc;			/* Source port */ 
	Port	pdst;			/* Destination port */ 
1991/1124/sys/src/9/port/ipdat.h:375,3811991/1126/sys/src/9/port/ipdat.h:368,373
1991/0424    
	int		maxmtu;			/* Maximum transfer unit */ 
	int		minmtu;			/* Minumum tranfer unit */ 
	int		hsize;			/* Media header size */	 
1991/1114    
	Network		net; 
1991/0424    
	Lock;	 
}; 
 
1991/1124/sys/src/9/port/ipdat.h:460,4661991/1126/sys/src/9/port/ipdat.h:452,457
1991/0424    
void	add_reseq(Tcpctl *, char, Tcp *, Block *, ushort); 
void	close_self(Ipconv *, int); 
int	seq_gt(int, int); 
void	appendb(Block **, Block *); 
Ipconv	*ip_conn(Ipconv *, Port, Port, Ipaddr dest, char proto); 
void	ipmkdir(Qinfo *, Dirtab *, Ipconv *); 
1991/1115    
Ipconv	*ipincoming(Ipconv*, Ipconv*); 
1991/1124/sys/src/9/port/ipdat.h:499,5041991/1126/sys/src/9/port/ipdat.h:490,496
1991/1114    
void	iplocalfill(Chan*, char*, int); 
void	ipremotefill(Chan*, char*, int); 
void	ipstatusfill(Chan*, char*, int); 
1991/1126    
int	ipforme(uchar*); 
1991/0424    
 
#define	fmtaddr(xx)	(xx>>24)&0xff,(xx>>16)&0xff,(xx>>8)&0xff,xx&0xff 
#define	MIN(a, b)	((a) < (b) ? (a) : (b)) 


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