 2fe8fb192f
			
		
	
	
		2fe8fb192f
		
	
	
	
	
		
			
			There is important information about booting non-ack images in docs/UPDATING. ack/aout-format images can't be built any more, and booting clang/ELF-format ones is a little different. Updating to the new boot monitor is recommended. Changes in this commit: . drop boot monitor -> allowing dropping ack support . facility to copy ELF boot files to /boot so that old boot monitor can still boot fairly easily, see UPDATING . no more ack-format libraries -> single-case libraries . some cleanup of OBJECT_FMT, COMPILER_TYPE, etc cases . drop several ack toolchain commands, but not all support commands (e.g. aal is gone but acksize is not yet). . a few libc files moved to netbsd libc dir . new /bin/date as minix date used code in libc/ . test compile fix . harmonize includes . /usr/lib is no longer special: without ack, /usr/lib plays no kind of special bootstrapping role any more and bootstrapping is done exclusively through packages, so releases depend even less on the state of the machine making them now. . rename nbsd_lib* to lib* . reduce mtree
		
			
				
	
	
		
			35 lines
		
	
	
		
			770 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			770 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
| server/ip/gen/ether.h
 | |
| */
 | |
| 
 | |
| #ifndef __SERVER__IP__GEN__ETHER_H__
 | |
| #define __SERVER__IP__GEN__ETHER_H__
 | |
| 
 | |
| #define ETH_MIN_PACK_SIZE		  60
 | |
| #define ETH_MAX_PACK_SIZE		1514
 | |
| #define ETH_MAX_PACK_SIZE_TAGGED	1518
 | |
| #define ETH_HDR_SIZE			  14
 | |
| #define ETH_CRC_SIZE			   4
 | |
| 
 | |
| typedef struct ether_addr
 | |
| {
 | |
| 	u8_t ea_addr[6];
 | |
| } ether_addr_t;
 | |
| 
 | |
| typedef u16_t ether_type_t;
 | |
| 
 | |
| #define ETH_ARP_PROTO	 0x806
 | |
| #define ETH_IP_PROTO	 0x800
 | |
| #define ETH_VLAN_PROTO	0x8100
 | |
| 
 | |
| /* Tag Control Information field for VLAN and Priority tagging */
 | |
| #define ETH_TCI_PRIO_MASK	0xe000
 | |
| #define ETH_TCI_CFI		0x1000	/* Canonical Formal Indicator */
 | |
| #define ETH_TCI_VLAN_MASK	0x0fff	/* 12-bit vlan number */
 | |
| 
 | |
| #endif /* __SERVER__IP__GEN__ETHER_H__ */
 | |
| 
 | |
| /*
 | |
|  * $PchId: ether.h,v 1.6 2005/01/27 17:33:35 philip Exp $
 | |
|  */
 |