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

2003/0118/port/netif.h (diff list | history)

2001/0527/sys/src/9/port/netif.h:39,442003/0118/sys/src/9/port/netif.h:39,45 (short | long | prev | next)
Add Netfile.scan, Netif.scan, Netif.scanbs for base stations.
rsc Fri Mar 4 12:44:25 2005
1993/0525    
 
1997/0327    
	int	type;			/* multiplexor type */ 
	int	prom;			/* promiscuous mode */ 
2003/0118    
	int	scan;			/* base station scanning interval */ 
1999/0625    
	int	bridge;			/* bridge mode */ 
	int	headersonly;		/* headers only - no data */ 
1997/0403    
	uchar	maddr[8];		/* bitmask of multicast addresses requested */ 
2001/0527/sys/src/9/port/netif.h:79,842003/0118/sys/src/9/port/netif.h:80,86
1997/0404    
	int	nmaddr;			/* number of known multicast addresses */ 
	Netaddr *mhash[Nmhash];		/* hash table of multicast addresses */ 
1994/0629    
	int	prom;			/* number of promiscuous opens */ 
2003/0118    
	int	scan;			/* number of base station scanners */ 
1994/0629    
	int	all;			/* number of -1 multiplexors */ 
1993/0525    
 
	/* statistics */ 
2001/0527/sys/src/9/port/netif.h:96,1012003/0118/sys/src/9/port/netif.h:98,104
1993/0525    
	void	*arg; 
	void	(*promiscuous)(void*, int); 
1997/0404    
	void	(*multicast)(void*, uchar*, int); 
2003/0118    
	void	(*scanbs)(void*, uint);	/* scan for base stations */ 
1993/0525    
}; 
 
void	netifinit(Netif*, char*, int, ulong); 


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