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

2000/0220/ip/ip.h (diff list | history)

2000/0116/sys/src/9/ip/ip.h:232,2462000/0220/sys/src/9/ip/ip.h:232,237 (short | long | prev | next)
1997/0327    
}; 
 
1998/0313    
/* 
 *  Stream for sending packets to user level 
 */ 
struct IProuter { 
	QLock; 
	int	opens; 
	Queue	*q; 
}; 
                 
/* 
 *  one per IP protocol stack 
 */ 
1997/0327    
struct Fs 
2000/0116/sys/src/9/ip/ip.h:257,2632000/0220/sys/src/9/ip/ip.h:248,253
1998/0313    
	IP	*ip; 
	Ipselftab	*self; 
	Arp	*arp; 
	IProuter iprouter; 
 
	Route	*v4root[1<<Lroot];	/* v4 routing forest */ 
	Route	*v6root[1<<Lroot];	/* v6 routing forest */ 
2000/0116/sys/src/9/ip/ip.h:506,5192000/0220/sys/src/9/ip/ip.h:496,501
1998/0313    
 */ 
extern char*	bootp(Ipifc*); 
extern int	bootpread(char*, ulong, int); 
                 
/* 
1998/0306    
 *  iprouter.c 
 */ 
1998/0313    
void	useriprouter(Fs*, uchar*, Block*); 
void	iprouteropen(Fs*); 
void	iprouterclose(Fs*); 
long	iprouterread(Fs*, void*, int); 
 
/* 
 *  resolving inferno/plan9 differences 


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