head	1.1;
access;
symbols
	netbsd-11-0-RC6:1.1
	netbsd-11-0-RC5:1.1
	netbsd-11-0-RC4:1.1
	netbsd-11-0-RC3:1.1
	netbsd-11-0-RC2:1.1
	netbsd-11-0-RC1:1.1
	perseant-exfatfs-base-20250801:1.1
	netbsd-11:1.1.0.18
	netbsd-11-base:1.1
	netbsd-10-1-RELEASE:1.1
	perseant-exfatfs-base-20240630:1.1
	perseant-exfatfs:1.1.0.16
	perseant-exfatfs-base:1.1
	netbsd-9-4-RELEASE:1.1
	netbsd-10-0-RELEASE:1.1
	netbsd-10-0-RC6:1.1
	netbsd-10-0-RC5:1.1
	netbsd-10-0-RC4:1.1
	netbsd-10-0-RC3:1.1
	netbsd-10-0-RC2:1.1
	netbsd-10-0-RC1:1.1
	netbsd-10:1.1.0.14
	netbsd-10-base:1.1
	netbsd-9-3-RELEASE:1.1
	cjep_sun2x-base1:1.1
	cjep_sun2x:1.1.0.12
	cjep_sun2x-base:1.1
	cjep_staticlib_x-base1:1.1
	netbsd-9-2-RELEASE:1.1
	cjep_staticlib_x:1.1.0.10
	cjep_staticlib_x-base:1.1
	netbsd-9-1-RELEASE:1.1
	phil-wifi-20200421:1.1
	phil-wifi-20200411:1.1
	is-mlppp:1.1.0.8
	is-mlppp-base:1.1
	phil-wifi-20200406:1.1
	netbsd-9-0-RELEASE:1.1
	netbsd-9-0-RC2:1.1
	netbsd-9-0-RC1:1.1
	phil-wifi-20191119:1.1
	netbsd-9:1.1.0.6
	netbsd-9-base:1.1
	phil-wifi-20190609:1.1
	pgoyette-compat-merge-20190127:1.1.2.2
	pgoyette-compat-20190127:1.1
	pgoyette-compat-20190118:1.1
	pgoyette-compat-1226:1.1
	pgoyette-compat-1126:1.1
	pgoyette-compat-1020:1.1
	pgoyette-compat-0930:1.1
	pgoyette-compat-0906:1.1
	pgoyette-compat-0728:1.1
	phil-wifi:1.1.0.4
	phil-wifi-base:1.1
	pgoyette-compat-0625:1.1
	pgoyette-compat-0521:1.1
	pgoyette-compat-0502:1.1
	pgoyette-compat-0422:1.1
	pgoyette-compat:1.1.0.2
	pgoyette-compat-0415:1.1;
locks; strict;
comment	@# @;


1.1
date	2018.04.07.22.31.38;	author christos;	state Exp;
branches
	1.1.2.1;
next	;
commitid	8W2jLm5kyynOQyxA;

1.1.2.1
date	2018.04.07.22.31.38;	author pgoyette;	state dead;
branches;
next	1.1.2.2;
commitid	qk3nktk0szmTIByA;

1.1.2.2
date	2018.04.16.01.59.51;	author pgoyette;	state Exp;
branches;
next	;
commitid	qk3nktk0szmTIByA;


desc
@@


1.1
log
@Add build glue.
@
text
@#	$NetBSD: pxe.defs,v 1.1 2013/03/24 15:54:32 christos Exp $
#
# Copyright 2001 Wasabi Systems, Inc.
# All rights reserved.
#
# Written by Jason R. Thorpe for Wasabi Systems, Inc.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the distribution.
# 3. All advertising materials mentioning features or use of this software
#    must display the following acknowledgement:
#	This product includes software developed for the NetBSD Project by
#	Wasabi Systems, Inc.
# 4. The name of Wasabi Systems, Inc. may not be used to endorse
#    or promote products derived from this software without specific prior
#    written permission.
#
# THIS SOFTWARE IS PROVIDED BY WASABI SYSTEMS, INC. ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL WASABI SYSTEMS, INC
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#

#
# A PXE client can be identified using Option 60 (vendor-class-identifier).
# The format of the option is:
#
#	PXEClient:Arch:xxxxx:UNDI:yyyzzz
#
# This allows you to select PXE clients for special treatment using
# classes, like so:
#
#	class "pxe-clients-ia32" {
#		match if substring (option vendor-class-identifier, 0, 20) =
#		    "PXEClient:Arch:00000";
#		.
#		.
#		.
#	}
#
#	class "pxe-clients-ia64" {
#		match if substring (option vendor-class-identifier, 0, 20) =
#		    "PXEClient:Arch:00002";
#		.
#		.
#		.
#	}
#

option space PXE;
option PXE.mtftp-ip code 1 = ip-address;
option PXE.mtftp-cport code 2 = unsigned integer 16;	# XXX little-endian!
option PXE.mtftp-sport code 3 = unsigned integer 16;	# XXX little-endian!
option PXE.mtftp-tmout code 4 = unsigned integer 8;
option PXE.mtftp-delay code 5 = unsigned integer 8;

# PXE.discovery-control is actually a bitfield with the
# following bits:
#	0x01	disable broadcast discovery
#	0x02	disable multicast discovery
#	0x04	only use/accept servers in PXE.boot-servers
#	0x08	if file name is present in initial DHCP OFFER,
#		download that boot file, rather than prompting,
#		displaying a menu, or performing Boot Server
#		Discovery.
option PXE.discovery-control code 6 = unsigned integer 8;

# Note, this option is REQUIRED unless PXE.discovery-control has
# 0x02 set.
option PXE.discovery-mcast-addr code 7 = ip-address;

# XXX
# I don't even want to think about how to represent these options
# in dhcpd.conf syntax.  See table 2-1 in the PXE spec.
#
# Luckily, these are options sent by the server back to the client,
# so we don't really have to deal with them unless we want to use
# their functionality.
#
# option PXE.boot-servers code 8 = ...
# option PXE.boot-menu code 9 = ...
# option PXE.menu-prompt code 10 = ...

# XXX
# Not sure how to represent these in dhcpd.conf syntax.
# option PXE.mcast-addrs-alloc code 11 = ...
# option PXE.credential-types code 12 = ...

# Codes 64-127 : Loader Options : Boot Server specific

# PXE.boot-item is actually two 16-bit fields packed into a single
# 32-bit integer:
#	Boot Server type  0xffff0000
#	Boot Server layer 0x0000ffff
option PXE.boot-item code 71 = unsigned integer 32;

# Codes 128-254 : Vendor Options : Vendor NBP specific

# XXX NO WAY TO REPRESENT THIS!
# option PXE.end code 255 = void;
@


1.1.2.1
log
@file pxe.defs was added on branch pgoyette-compat on 2018-04-16 01:59:51 +0000
@
text
@d1 113
@


1.1.2.2
log
@Sync with HEAD, resolve some conflicts
@
text
@a0 113
#	$NetBSD: pxe.defs,v 1.1 2018/04/07 22:31:38 christos Exp $
#
# Copyright 2001 Wasabi Systems, Inc.
# All rights reserved.
#
# Written by Jason R. Thorpe for Wasabi Systems, Inc.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the distribution.
# 3. All advertising materials mentioning features or use of this software
#    must display the following acknowledgement:
#	This product includes software developed for the NetBSD Project by
#	Wasabi Systems, Inc.
# 4. The name of Wasabi Systems, Inc. may not be used to endorse
#    or promote products derived from this software without specific prior
#    written permission.
#
# THIS SOFTWARE IS PROVIDED BY WASABI SYSTEMS, INC. ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL WASABI SYSTEMS, INC
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#

#
# A PXE client can be identified using Option 60 (vendor-class-identifier).
# The format of the option is:
#
#	PXEClient:Arch:xxxxx:UNDI:yyyzzz
#
# This allows you to select PXE clients for special treatment using
# classes, like so:
#
#	class "pxe-clients-ia32" {
#		match if substring (option vendor-class-identifier, 0, 20) =
#		    "PXEClient:Arch:00000";
#		.
#		.
#		.
#	}
#
#	class "pxe-clients-ia64" {
#		match if substring (option vendor-class-identifier, 0, 20) =
#		    "PXEClient:Arch:00002";
#		.
#		.
#		.
#	}
#

option space PXE;
option PXE.mtftp-ip code 1 = ip-address;
option PXE.mtftp-cport code 2 = unsigned integer 16;	# XXX little-endian!
option PXE.mtftp-sport code 3 = unsigned integer 16;	# XXX little-endian!
option PXE.mtftp-tmout code 4 = unsigned integer 8;
option PXE.mtftp-delay code 5 = unsigned integer 8;

# PXE.discovery-control is actually a bitfield with the
# following bits:
#	0x01	disable broadcast discovery
#	0x02	disable multicast discovery
#	0x04	only use/accept servers in PXE.boot-servers
#	0x08	if file name is present in initial DHCP OFFER,
#		download that boot file, rather than prompting,
#		displaying a menu, or performing Boot Server
#		Discovery.
option PXE.discovery-control code 6 = unsigned integer 8;

# Note, this option is REQUIRED unless PXE.discovery-control has
# 0x02 set.
option PXE.discovery-mcast-addr code 7 = ip-address;

# XXX
# I don't even want to think about how to represent these options
# in dhcpd.conf syntax.  See table 2-1 in the PXE spec.
#
# Luckily, these are options sent by the server back to the client,
# so we don't really have to deal with them unless we want to use
# their functionality.
#
# option PXE.boot-servers code 8 = ...
# option PXE.boot-menu code 9 = ...
# option PXE.menu-prompt code 10 = ...

# XXX
# Not sure how to represent these in dhcpd.conf syntax.
# option PXE.mcast-addrs-alloc code 11 = ...
# option PXE.credential-types code 12 = ...

# Codes 64-127 : Loader Options : Boot Server specific

# PXE.boot-item is actually two 16-bit fields packed into a single
# 32-bit integer:
#	Boot Server type  0xffff0000
#	Boot Server layer 0x0000ffff
option PXE.boot-item code 71 = unsigned integer 32;

# Codes 128-254 : Vendor Options : Vendor NBP specific

# XXX NO WAY TO REPRESENT THIS!
# option PXE.end code 255 = void;
@


