 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
		
			
				
	
	
		
			50 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			50 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
| server/ip/gen/icmp.h
 | |
| */
 | |
| 
 | |
| #ifndef __SERVER__IP__GEN__ICMP_H__
 | |
| #define __SERVER__IP__GEN__ICMP_H__
 | |
| 
 | |
| #define ICMP_MIN_HDR_SIZE	4
 | |
| 
 | |
| #define ICMP_TYPE_ECHO_REPL	0
 | |
| #define ICMP_TYPE_DST_UNRCH	3
 | |
| #	define ICMP_NET_UNRCH			0
 | |
| #	define ICMP_HOST_UNRCH			1
 | |
| #	define ICMP_PROTOCOL_UNRCH		2
 | |
| #	define ICMP_PORT_UNRCH			3
 | |
| #	define ICMP_FRAGM_AND_DF		4
 | |
| #	define ICMP_SOURCE_ROUTE_FAILED		5
 | |
| #define ICMP_TYPE_SRC_QUENCH	4
 | |
| #define ICMP_TYPE_REDIRECT	5
 | |
| #	define ICMP_REDIRECT_NET		0
 | |
| #	define ICMP_REDIRECT_HOST		1
 | |
| #	define ICMP_REDIRECT_TOS_AND_NET	2
 | |
| #	define ICMP_REDIRECT_TOS_AND_HOST	3
 | |
| #define ICMP_TYPE_ECHO_REQ	8
 | |
| #define ICMP_TYPE_ROUTER_ADVER	9
 | |
| #define ICMP_TYPE_ROUTE_SOL	10
 | |
| #define ICMP_TYPE_TIME_EXCEEDED	11
 | |
| #	define ICMP_TTL_EXC			0
 | |
| #	define ICMP_FRAG_REASSEM		1
 | |
| #define ICMP_TYPE_PARAM_PROBLEM	12
 | |
| #define ICMP_TYPE_TS_REQ	13
 | |
| #define ICMP_TYPE_TS_REPL	14
 | |
| #define ICMP_TYPE_INFO_REQ	15
 | |
| #define ICMP_TYPE_INFO_REPL	16
 | |
| 
 | |
| /* Preferences for router advertisements. A router daemon installs itself
 | |
|  * as the default router in the router's interfaces by sending router
 | |
|  * advertisements to localhost with preference ICMP_RA_LOCAL_PREF.
 | |
|  */
 | |
| #define ICMP_RA_DEFAULT_PREF	0x00000000
 | |
| #define ICMP_RA_INVAL_PREF	0x80000000
 | |
| #define ICMP_RA_MAX_PREF	0x7fffffff
 | |
| #define ICMP_RA_LOCAL_PREF	0x10000000
 | |
| 
 | |
| #endif /* __SERVER__IP__GEN__ICMP_H__ */
 | |
| 
 | |
| /*
 | |
|  * $PchId: icmp.h,v 1.6 2002/06/10 07:10:26 philip Exp $
 | |
|  */
 |