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

1993/0220/port/ipdat.h (diff list | history)

1993/0218/sys/src/9/port/ipdat.h:208,2271993/0220/sys/src/9/port/ipdat.h:208,227 (short | long | prev | next)
Change sequence numbers from int] to ulong. Bug fix?
rsc Fri Mar 4 12:44:25 2005
1992/0906    
	uchar	type;			/* Listening or active connection */ 
	uchar	code;			/* Icmp code */		 
1991/0424    
	struct { 
1992/0906    
		int	una;		/* Unacked data pointer */ 
		int	nxt;		/* Next sequence expected */ 
		int	ptr;		/* Data pointer */ 
1993/0220    
		ulong	una;		/* Unacked data pointer */ 
		ulong	nxt;		/* Next sequence expected */ 
		ulong	ptr;		/* Data pointer */ 
1992/0906    
		ushort	wnd;		/* Tcp send window */ 
		int	up;		/* Urgent data pointer */ 
1992/0625    
		int	wl1; 
		int	wl2; 
1993/0220    
		ulong	up;		/* Urgent data pointer */ 
		ulong	wl1; 
		ulong	wl2; 
1991/0424    
	} snd; 
1992/0625    
	struct { 
1993/0218    
		ulong	nxt;		/* Receive pointer to next byte slot */ 
1992/0906    
		ushort	wnd;		/* Receive window incoming */ 
		int	up;		/* Urgent pointer */ 
1993/0220    
		ulong	up;		/* Urgent pointer */ 
1992/0625    
	} rcv; 
1992/0906    
	int	iss;			/* Initial sequence number */ 
1993/0220    
	ulong	iss;			/* Initial sequence number */ 
1992/0906    
	ushort	cwind;			/* Congestion window */ 
	ushort	ssthresh;		/* Slow start threshold */ 
	int	resent;			/* Bytes just resent */ 
1993/0218/sys/src/9/port/ipdat.h:248,2541993/0220/sys/src/9/port/ipdat.h:248,254
1992/0906    
	Timer	timer;			/* Activity timer */ 
	Timer	acktimer;		/* Acknoledge timer */ 
	Timer	rtt_timer;		/* Round trip timer */ 
	int	rttseq;			/* Round trip sequence */ 
1993/0220    
	ulong	rttseq;			/* Round trip sequence */ 
1992/0906    
	int	srtt;			/* Shortened round trip */ 
	int	mdev;			/* Mean deviation of round trip */ 
1991/0424    
}; 
1993/0218/sys/src/9/port/ipdat.h:264,2711993/0220/sys/src/9/port/ipdat.h:264,271
1991/1012    
{ 
1991/0424    
	Port	source; 
	Port	dest; 
	int	seq; 
	int	ack; 
1993/0220    
	ulong	seq; 
	ulong	ack; 
1991/0424    
	char	flags; 
	ushort	wnd; 
	ushort	up; 
1993/0218/sys/src/9/port/ipdat.h:477,4891993/0220/sys/src/9/port/ipdat.h:477,489
1992/0625    
int	pullb(Block **, int); 
void	reset(Ipaddr, Ipaddr, char, ushort, Tcp*); 
1992/0903    
void	tcpsndsyn(Tcpctl*); 
1992/0625    
int	seq_ge(int, int); 
1991/0424    
int	seq_gt(int, int); 
int	seq_gt(int, int); 
1992/0625    
int	seq_le(int, int); 
int	seq_lt(int, int); 
int	seq_within(int, int, int); 
int	seq_within(int, int, int); 
1993/0220    
int	seq_ge(ulong, ulong); 
int	seq_gt(ulong, ulong); 
int	seq_gt(ulong, ulong); 
int	seq_le(ulong, ulong); 
int	seq_lt(ulong, ulong); 
int	seq_within(ulong, ulong, ulong); 
int	seq_within(ulong, ulong, ulong); 
1992/0903    
void	tcpsetstate(Ipconv *, char); 
void	tcpgo(Timer *); 
void	tcphalt(Timer *); 


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