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

1991/0413/port/devlance.c (diff list | history)

1991/0411/sys/src/9/port/devlance.c:310,3201991/0413/sys/src/9/port/devlance.c:310,322 (short | long | prev | next)
1990/0227    
{ 
	int n, len; 
1990/1228    
	Etherpkt *p; 
1991/0413    
	Ethertype *e; 
1990/0227    
	Msg *m; 
 
	if(bp->type == M_CTL){ 
		if(streamparse("connect", bp)){ 
			((Ethertype *)q->ptr)->type = strtoul((char *)bp->rptr, 0, 0); 
1991/0413    
			n = strtoul((char *)bp->rptr, 0, 0); 
			((Ethertype *)q->ptr)->type = n; 
1990/0227    
		} 
		freeb(bp); 
		return; 


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