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

1999/0320/port/netif.c (diff list | history)

1999/0320/sys/src/9/port/netif.c:284,2931999/0625/sys/src/9/port/netif.c:284,299 (short | long | prev | next)
1994/0629    
		if(f->type < 0) 
			nif->all++; 
1993/0525    
	} else if(matchtoken(buf, "promiscuous")){ 
		f->prom = 1; 
		nif->prom++; 
1997/0327    
		if(nif->prom == 1 && nif->promiscuous != nil) 
			nif->promiscuous(nif->arg, 1); 
1999/0625    
		if(f->prom == 0){ 
			if(nif->prom == 0 && nif->promiscuous != nil) 
				nif->promiscuous(nif->arg, 1); 
			f->prom = 1; 
			nif->prom++; 
		} 
	} else if(matchtoken(buf, "bridge")){ 
		f->bridge = 1; 
	} else if(matchtoken(buf, "headersonly")){ 
		f->headersonly = 1; 
1997/0403    
	} else if((p = matchtoken(buf, "addmulti")) != 0){ 
1997/0404    
		if(parseaddr(binaddr, p, nif->alen) < 0) 
			error("bad address"); 


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