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

2000/0713/carrera/devether.c (diff list | history)

1999/0629/sys/src/9/carrera/devether.c:110,1212000/0713/sys/src/9/carrera/devether.c:110,121 (short | long | prev | next)
1993/1212    
 
1997/1210    
	if(qwindow(f->in) <= 0) 
		return; 
	if(len > 64) 
		n = 64; 
2000/0713    
	if(len > 58) 
		n = 58; 
1997/1210    
	else 
		n = len; 
	bp = iallocb(n); 
	if(bp == 0) 
2000/0713    
	bp = iallocb(64); 
	if(bp == nil) 
1997/1210    
		return; 
	memmove(bp->wp, pkt->d, n); 
	i = TK2MS(MACHP(0)->ticks); 


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