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

1997/0404/pc/devether.c (diff list | history)

1997/0327/sys/src/9/pc/devether.c:145,1501997/0404/sys/src/9/pc/devether.c:145,161 (short | long | prev | next)
1997/0327    
	fx = 0; 
	ep = ðer->f[Ntypes]; 
 
1997/0404    
	/* check for valid multcast addresses */ 
	if((pkt->d[0] & 1) && memcmp(pkt->d, ether->bcast, sizeof(pkt->d)) != 0 && ether->prom == 0){ 
		if(!activemulti(ether, pkt->d, sizeof(pkt->d))){ 
			if(freebp){ 
				freeb(bp); 
				bp = 0; 
			} 
			return bp; 
		} 
	} 
 
1997/0327    
	/* 
	 * Multiplex the packet to all the connections which want it. 
	 * If the packet is not to be used subsequently (freebp != 0), 


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