|  | @@ -21,11 +21,19 @@ struct net_protocol;
 | 
		
	
		
			
			| 21 | 21 |  struct ll_protocol;
 | 
		
	
		
			
			| 22 | 22 |  struct device;
 | 
		
	
		
			
			| 23 | 23 |  
 | 
		
	
		
			
			| 24 |  | -/** Maximum length of a link-layer address */
 | 
		
	
		
			
			|  | 24 | +/** Maximum length of a link-layer address
 | 
		
	
		
			
			|  | 25 | + *
 | 
		
	
		
			
			|  | 26 | + * The longest currently-supported link-layer address is for IPoIB.
 | 
		
	
		
			
			|  | 27 | + */
 | 
		
	
		
			
			| 25 | 28 |  #define MAX_LL_ADDR_LEN 20
 | 
		
	
		
			
			| 26 | 29 |  
 | 
		
	
		
			
			| 27 |  | -/** Maximum length of a link-layer header */
 | 
		
	
		
			
			| 28 |  | -#define MAX_LL_HEADER_LEN 6
 | 
		
	
		
			
			|  | 30 | +/** Maximum length of a link-layer header
 | 
		
	
		
			
			|  | 31 | + *
 | 
		
	
		
			
			|  | 32 | + * The longest currently-supported link-layer header is for Ethernet.
 | 
		
	
		
			
			|  | 33 | + * (The IPoIB link-layer pseudo-header doesn't actually include
 | 
		
	
		
			
			|  | 34 | + * link-layer addresses; see ipoib.c for details).
 | 
		
	
		
			
			|  | 35 | + */
 | 
		
	
		
			
			|  | 36 | +#define MAX_LL_HEADER_LEN 14
 | 
		
	
		
			
			| 29 | 37 |  
 | 
		
	
		
			
			| 30 | 38 |  /** Maximum length of a network-layer address */
 | 
		
	
		
			
			| 31 | 39 |  #define MAX_NET_ADDR_LEN 4
 |