aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2009-05-01 15:41:06 +0100
committerMichael Brown <mcb30@etherboot.org>2009-05-18 08:33:25 +0100
commitc44a193d0d147ed6f98741124569864e516e9d4b (patch)
tree94a9b841e13eb643181e180f358c8612b1b29bfc /src/include
parent41307f2874989048679c83686527a3887ed485b3 (diff)
downloadipxe-c44a193d0d147ed6f98741124569864e516e9d4b.zip
ipxe-c44a193d0d147ed6f98741124569864e516e9d4b.tar.gz
ipxe-c44a193d0d147ed6f98741124569864e516e9d4b.tar.bz2
[legal] Add a selection of FILE_LICENCE declarations
Add FILE_LICENCE declarations to almost all files that make up the various standard builds of gPXE.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/assert.h2
-rw-r--r--src/include/byteswap.h2
-rw-r--r--src/include/console.h2
-rw-r--r--src/include/ctype.h2
-rw-r--r--src/include/curses.h2
-rw-r--r--src/include/elf.h2
-rw-r--r--src/include/endian.h2
-rw-r--r--src/include/errno.h2
-rw-r--r--src/include/etherboot.h2
-rw-r--r--src/include/getopt.h2
-rw-r--r--src/include/gpxe/acpi.h2
-rw-r--r--src/include/gpxe/aes.h2
-rw-r--r--src/include/gpxe/ansiesc.h2
-rw-r--r--src/include/gpxe/aoe.h2
-rw-r--r--src/include/gpxe/api.h2
-rw-r--r--src/include/gpxe/arp.h2
-rw-r--r--src/include/gpxe/asn1.h2
-rw-r--r--src/include/gpxe/ata.h2
-rw-r--r--src/include/gpxe/base64.h2
-rw-r--r--src/include/gpxe/bitbash.h2
-rw-r--r--src/include/gpxe/bitmap.h2
-rw-r--r--src/include/gpxe/bitops.h2
-rw-r--r--src/include/gpxe/blockdev.h2
-rw-r--r--src/include/gpxe/cbc.h2
-rw-r--r--src/include/gpxe/chap.h2
-rw-r--r--src/include/gpxe/command.h2
-rw-r--r--src/include/gpxe/cpio.h2
-rw-r--r--src/include/gpxe/crypto.h2
-rw-r--r--src/include/gpxe/device.h2
-rw-r--r--src/include/gpxe/dhcp.h2
-rw-r--r--src/include/gpxe/dhcpopts.h2
-rw-r--r--src/include/gpxe/dhcppkt.h2
-rw-r--r--src/include/gpxe/dns.h2
-rw-r--r--src/include/gpxe/downloader.h2
-rw-r--r--src/include/gpxe/editbox.h2
-rw-r--r--src/include/gpxe/editstring.h2
-rw-r--r--src/include/gpxe/efi/efi_io.h2
-rw-r--r--src/include/gpxe/efi/efi_pci.h2
-rw-r--r--src/include/gpxe/efi/efi_smbios.h2
-rw-r--r--src/include/gpxe/efi/efi_timer.h2
-rw-r--r--src/include/gpxe/efi/efi_uaccess.h2
-rw-r--r--src/include/gpxe/efi/efi_umalloc.h2
-rw-r--r--src/include/gpxe/eisa.h2
-rw-r--r--src/include/gpxe/elf.h2
-rw-r--r--src/include/gpxe/errfile.h2
-rw-r--r--src/include/gpxe/errortab.h2
-rw-r--r--src/include/gpxe/ethernet.h2
-rw-r--r--src/include/gpxe/fakedhcp.h2
-rw-r--r--src/include/gpxe/features.h2
-rw-r--r--src/include/gpxe/filter.h2
-rw-r--r--src/include/gpxe/ftp.h2
-rw-r--r--src/include/gpxe/gdbserial.h2
-rw-r--r--src/include/gpxe/gdbstub.h2
-rw-r--r--src/include/gpxe/gdbudp.h2
-rw-r--r--src/include/gpxe/hidemem.h2
-rw-r--r--src/include/gpxe/hmac.h2
-rw-r--r--src/include/gpxe/http.h2
-rw-r--r--src/include/gpxe/i2c.h2
-rw-r--r--src/include/gpxe/ib_mad.h2
-rw-r--r--src/include/gpxe/ib_packet.h2
-rw-r--r--src/include/gpxe/ib_sma.h2
-rw-r--r--src/include/gpxe/ib_smc.h2
-rw-r--r--src/include/gpxe/icmp.h2
-rw-r--r--src/include/gpxe/icmp6.h2
-rw-r--r--src/include/gpxe/if_arp.h2
-rw-r--r--src/include/gpxe/if_ether.h2
-rw-r--r--src/include/gpxe/image.h2
-rw-r--r--src/include/gpxe/in.h2
-rw-r--r--src/include/gpxe/infiniband.h2
-rw-r--r--src/include/gpxe/init.h2
-rw-r--r--src/include/gpxe/interface.h2
-rw-r--r--src/include/gpxe/io.h2
-rw-r--r--src/include/gpxe/iobuf.h2
-rw-r--r--src/include/gpxe/ip.h2
-rw-r--r--src/include/gpxe/ip6.h2
-rw-r--r--src/include/gpxe/ipoib.h2
-rw-r--r--src/include/gpxe/isa.h2
-rw-r--r--src/include/gpxe/isa_ids.h2
-rw-r--r--src/include/gpxe/isapnp.h2
-rw-r--r--src/include/gpxe/iscsi.h2
-rw-r--r--src/include/gpxe/job.h2
-rw-r--r--src/include/gpxe/keys.h2
-rw-r--r--src/include/gpxe/linebuf.h2
-rw-r--r--src/include/gpxe/linux_compat.h2
-rw-r--r--src/include/gpxe/list.h2
-rw-r--r--src/include/gpxe/login_ui.h2
-rw-r--r--src/include/gpxe/malloc.h2
-rw-r--r--src/include/gpxe/mca.h2
-rw-r--r--src/include/gpxe/md5.h2
-rw-r--r--src/include/gpxe/memmap.h2
-rw-r--r--src/include/gpxe/monojob.h2
-rw-r--r--src/include/gpxe/nap.h2
-rw-r--r--src/include/gpxe/netdevice.h2
-rw-r--r--src/include/gpxe/null_nap.h2
-rw-r--r--src/include/gpxe/nvo.h2
-rw-r--r--src/include/gpxe/nvs.h2
-rw-r--r--src/include/gpxe/open.h2
-rw-r--r--src/include/gpxe/pci.h2
-rw-r--r--src/include/gpxe/pci_ids.h2
-rw-r--r--src/include/gpxe/pci_io.h2
-rw-r--r--src/include/gpxe/posix_io.h2
-rw-r--r--src/include/gpxe/process.h2
-rw-r--r--src/include/gpxe/profile.h2
-rw-r--r--src/include/gpxe/ramdisk.h2
-rw-r--r--src/include/gpxe/rarp.h2
-rw-r--r--src/include/gpxe/refcnt.h2
-rw-r--r--src/include/gpxe/resolv.h2
-rw-r--r--src/include/gpxe/retry.h2
-rw-r--r--src/include/gpxe/rotate.h2
-rw-r--r--src/include/gpxe/rsa.h2
-rw-r--r--src/include/gpxe/sanboot.h2
-rw-r--r--src/include/gpxe/scsi.h2
-rw-r--r--src/include/gpxe/segment.h2
-rw-r--r--src/include/gpxe/serial.h2
-rw-r--r--src/include/gpxe/settings.h2
-rw-r--r--src/include/gpxe/settings_ui.h2
-rw-r--r--src/include/gpxe/sha1.h2
-rw-r--r--src/include/gpxe/shell.h2
-rw-r--r--src/include/gpxe/shell_banner.h2
-rw-r--r--src/include/gpxe/smbios.h2
-rw-r--r--src/include/gpxe/socket.h2
-rw-r--r--src/include/gpxe/spi.h2
-rw-r--r--src/include/gpxe/spi_bit.h2
-rw-r--r--src/include/gpxe/tables.h2
-rw-r--r--src/include/gpxe/tcp.h2
-rw-r--r--src/include/gpxe/tcpip.h2
-rw-r--r--src/include/gpxe/tftp.h2
-rw-r--r--src/include/gpxe/threewire.h2
-rw-r--r--src/include/gpxe/timer.h2
-rw-r--r--src/include/gpxe/tls.h2
-rw-r--r--src/include/gpxe/uaccess.h2
-rw-r--r--src/include/gpxe/udp.h2
-rw-r--r--src/include/gpxe/umalloc.h2
-rw-r--r--src/include/gpxe/uri.h2
-rw-r--r--src/include/gpxe/uuid.h2
-rw-r--r--src/include/gpxe/vsprintf.h2
-rw-r--r--src/include/gpxe/x509.h2
-rw-r--r--src/include/gpxe/xfer.h2
-rw-r--r--src/include/libgen.h2
-rw-r--r--src/include/little_bswap.h2
-rw-r--r--src/include/mii.h2
-rw-r--r--src/include/nic.h2
-rw-r--r--src/include/readline/readline.h2
-rw-r--r--src/include/stdarg.h2
-rw-r--r--src/include/stddef.h2
-rw-r--r--src/include/stdint.h2
-rw-r--r--src/include/stdio.h2
-rw-r--r--src/include/stdlib.h2
-rw-r--r--src/include/string.h2
-rw-r--r--src/include/strings.h2
-rw-r--r--src/include/unistd.h2
-rw-r--r--src/include/usr/autoboot.h2
-rw-r--r--src/include/usr/dhcpmgmt.h2
-rw-r--r--src/include/usr/ifmgmt.h2
-rw-r--r--src/include/usr/imgmgmt.h2
-rw-r--r--src/include/usr/route.h2
156 files changed, 312 insertions, 0 deletions
diff --git a/src/include/assert.h b/src/include/assert.h
index 93750a1..cc784bc 100644
--- a/src/include/assert.h
+++ b/src/include/assert.h
@@ -10,6 +10,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#ifdef NDEBUG
#define ASSERTING 0
#else
diff --git a/src/include/byteswap.h b/src/include/byteswap.h
index 6c3ced2..466759c 100644
--- a/src/include/byteswap.h
+++ b/src/include/byteswap.h
@@ -1,6 +1,8 @@
#ifndef ETHERBOOT_BYTESWAP_H
#define ETHERBOOT_BYTESWAP_H
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include "endian.h"
#include "bits/byteswap.h"
diff --git a/src/include/console.h b/src/include/console.h
index 93c53ad..62fedf5 100644
--- a/src/include/console.h
+++ b/src/include/console.h
@@ -14,6 +14,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
/**
* A console driver
*
diff --git a/src/include/ctype.h b/src/include/ctype.h
index 7740443..8a04f47 100644
--- a/src/include/ctype.h
+++ b/src/include/ctype.h
@@ -6,6 +6,8 @@
* Character types
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#define isdigit(c) ((c) >= '0' && (c) <= '9')
#define islower(c) ((c) >= 'a' && (c) <= 'z')
#define isupper(c) ((c) >= 'A' && (c) <= 'Z')
diff --git a/src/include/curses.h b/src/include/curses.h
index 6b1c42d..e2c5af2 100644
--- a/src/include/curses.h
+++ b/src/include/curses.h
@@ -10,6 +10,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#undef ERR
#define ERR (-1)
diff --git a/src/include/elf.h b/src/include/elf.h
index fadc0bd..04022b6 100644
--- a/src/include/elf.h
+++ b/src/include/elf.h
@@ -1,6 +1,8 @@
#ifndef ELF_H
#define ELF_H
+FILE_LICENCE ( GPL2_OR_LATER );
+
#define EI_NIDENT 16 /* Size of e_ident array. */
/* Values for e_type. */
diff --git a/src/include/endian.h b/src/include/endian.h
index 3200622..9682cf9 100644
--- a/src/include/endian.h
+++ b/src/include/endian.h
@@ -1,6 +1,8 @@
#ifndef ETHERBOOT_ENDIAN_H
#define ETHERBOOT_ENDIAN_H
+FILE_LICENCE ( GPL2_OR_LATER );
+
/* Definitions for byte order, according to significance of bytes,
from low addresses to high addresses. The value is what you get by
putting '4' in the most significant byte, '3' in the second most
diff --git a/src/include/errno.h b/src/include/errno.h
index 58dff1f..56095ec 100644
--- a/src/include/errno.h
+++ b/src/include/errno.h
@@ -1,6 +1,8 @@
#ifndef ERRNO_H
#define ERRNO_H
+FILE_LICENCE ( GPL2_OR_LATER );
+
/** @file
*
* Error codes
diff --git a/src/include/etherboot.h b/src/include/etherboot.h
index 2a46595..ad44e8a 100644
--- a/src/include/etherboot.h
+++ b/src/include/etherboot.h
@@ -6,6 +6,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
diff --git a/src/include/getopt.h b/src/include/getopt.h
index 2505223..0fe4356 100644
--- a/src/include/getopt.h
+++ b/src/include/getopt.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stddef.h>
enum getopt_argument_requirement {
diff --git a/src/include/gpxe/acpi.h b/src/include/gpxe/acpi.h
index 33b1b2b..12edda9 100644
--- a/src/include/gpxe/acpi.h
+++ b/src/include/gpxe/acpi.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
/**
diff --git a/src/include/gpxe/aes.h b/src/include/gpxe/aes.h
index bdb4b35..bdc32bd 100644
--- a/src/include/gpxe/aes.h
+++ b/src/include/gpxe/aes.h
@@ -1,6 +1,8 @@
#ifndef _GPXE_AES_H
#define _GPXE_AES_H
+FILE_LICENCE ( GPL2_OR_LATER );
+
struct cipher_algorithm;
extern struct cipher_algorithm aes_cbc_algorithm;
diff --git a/src/include/gpxe/ansiesc.h b/src/include/gpxe/ansiesc.h
index ccc4ca6..85f7a9f 100644
--- a/src/include/gpxe/ansiesc.h
+++ b/src/include/gpxe/ansiesc.h
@@ -26,6 +26,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
/** A handler for an escape sequence */
struct ansiesc_handler {
/** The control function identifier
diff --git a/src/include/gpxe/aoe.h b/src/include/gpxe/aoe.h
index 6de6b96..6b42fd5 100644
--- a/src/include/gpxe/aoe.h
+++ b/src/include/gpxe/aoe.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <gpxe/list.h>
#include <gpxe/if_ether.h>
diff --git a/src/include/gpxe/api.h b/src/include/gpxe/api.h
index df5d1ae..ff2ba59 100644
--- a/src/include/gpxe/api.h
+++ b/src/include/gpxe/api.h
@@ -11,6 +11,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
/** @defgroup Single-implementation APIs
*
* These are APIs for which only a single implementation may be
diff --git a/src/include/gpxe/arp.h b/src/include/gpxe/arp.h
index 7dcc779..0623d35 100644
--- a/src/include/gpxe/arp.h
+++ b/src/include/gpxe/arp.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <gpxe/tables.h>
struct net_device;
diff --git a/src/include/gpxe/asn1.h b/src/include/gpxe/asn1.h
index 5440c48..477c209 100644
--- a/src/include/gpxe/asn1.h
+++ b/src/include/gpxe/asn1.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#define ASN1_INTEGER 0x02
#define ASN1_BIT_STRING 0x03
#define ASN1_OCTET_STRING 0x04
diff --git a/src/include/gpxe/ata.h b/src/include/gpxe/ata.h
index b6da393..643b7cd 100644
--- a/src/include/gpxe/ata.h
+++ b/src/include/gpxe/ata.h
@@ -12,6 +12,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
/**
* An ATA Logical Block Address
*
diff --git a/src/include/gpxe/base64.h b/src/include/gpxe/base64.h
index 3321971..e38bef0 100644
--- a/src/include/gpxe/base64.h
+++ b/src/include/gpxe/base64.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
/**
diff --git a/src/include/gpxe/bitbash.h b/src/include/gpxe/bitbash.h
index 62bdce0..f2ba9f7 100644
--- a/src/include/gpxe/bitbash.h
+++ b/src/include/gpxe/bitbash.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
struct bit_basher;
/** Bit-bashing operations */
diff --git a/src/include/gpxe/bitmap.h b/src/include/gpxe/bitmap.h
index 0c2f53c..d6911a5 100644
--- a/src/include/gpxe/bitmap.h
+++ b/src/include/gpxe/bitmap.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <stddef.h>
#include <stdlib.h>
diff --git a/src/include/gpxe/bitops.h b/src/include/gpxe/bitops.h
index 5405c85..8db3431 100644
--- a/src/include/gpxe/bitops.h
+++ b/src/include/gpxe/bitops.h
@@ -19,6 +19,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
/**
* @file
*
diff --git a/src/include/gpxe/blockdev.h b/src/include/gpxe/blockdev.h
index 8222984..cf28524 100644
--- a/src/include/gpxe/blockdev.h
+++ b/src/include/gpxe/blockdev.h
@@ -8,6 +8,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <gpxe/uaccess.h>
struct block_device;
diff --git a/src/include/gpxe/cbc.h b/src/include/gpxe/cbc.h
index fcc115e..1262f1d 100644
--- a/src/include/gpxe/cbc.h
+++ b/src/include/gpxe/cbc.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <gpxe/crypto.h>
/**
diff --git a/src/include/gpxe/chap.h b/src/include/gpxe/chap.h
index 87e5484..e86ede3 100644
--- a/src/include/gpxe/chap.h
+++ b/src/include/gpxe/chap.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <gpxe/md5.h>
diff --git a/src/include/gpxe/command.h b/src/include/gpxe/command.h
index 39bed47..51ca6d6 100644
--- a/src/include/gpxe/command.h
+++ b/src/include/gpxe/command.h
@@ -1,6 +1,8 @@
#ifndef _GPXE_COMMAND_H
#define _GPXE_COMMAND_H
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <gpxe/tables.h>
/** A command-line command */
diff --git a/src/include/gpxe/cpio.h b/src/include/gpxe/cpio.h
index ba6f844..f462cec 100644
--- a/src/include/gpxe/cpio.h
+++ b/src/include/gpxe/cpio.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
/** A CPIO archive header
*
* All field are hexadecimal ASCII numbers padded with '0' on the
diff --git a/src/include/gpxe/crypto.h b/src/include/gpxe/crypto.h
index 10882d3..3831b79 100644
--- a/src/include/gpxe/crypto.h
+++ b/src/include/gpxe/crypto.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <stddef.h>
diff --git a/src/include/gpxe/device.h b/src/include/gpxe/device.h
index 9017f9b..1db3ff9 100644
--- a/src/include/gpxe/device.h
+++ b/src/include/gpxe/device.h
@@ -8,6 +8,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <gpxe/list.h>
#include <gpxe/tables.h>
diff --git a/src/include/gpxe/dhcp.h b/src/include/gpxe/dhcp.h
index 33e0c5d..74741d9 100644
--- a/src/include/gpxe/dhcp.h
+++ b/src/include/gpxe/dhcp.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <gpxe/in.h>
#include <gpxe/list.h>
diff --git a/src/include/gpxe/dhcpopts.h b/src/include/gpxe/dhcpopts.h
index 8391a9d..3d90f41 100644
--- a/src/include/gpxe/dhcpopts.h
+++ b/src/include/gpxe/dhcpopts.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
/** A DHCP options block */
diff --git a/src/include/gpxe/dhcppkt.h b/src/include/gpxe/dhcppkt.h
index e8f8faf..6007cca 100644
--- a/src/include/gpxe/dhcppkt.h
+++ b/src/include/gpxe/dhcppkt.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <gpxe/dhcp.h>
#include <gpxe/dhcpopts.h>
#include <gpxe/refcnt.h>
diff --git a/src/include/gpxe/dns.h b/src/include/gpxe/dns.h
index 3e3cff1..9e5e874 100644
--- a/src/include/gpxe/dns.h
+++ b/src/include/gpxe/dns.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <gpxe/in.h>
diff --git a/src/include/gpxe/downloader.h b/src/include/gpxe/downloader.h
index 33aa769..7f21e07 100644
--- a/src/include/gpxe/downloader.h
+++ b/src/include/gpxe/downloader.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
struct job_interface;
struct image;
diff --git a/src/include/gpxe/editbox.h b/src/include/gpxe/editbox.h
index 007b042..b7cc411 100644
--- a/src/include/gpxe/editbox.h
+++ b/src/include/gpxe/editbox.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <curses.h>
#include <gpxe/editstring.h>
diff --git a/src/include/gpxe/editstring.h b/src/include/gpxe/editstring.h
index fad8bd5..48c1baa 100644
--- a/src/include/gpxe/editstring.h
+++ b/src/include/gpxe/editstring.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
/** An editable string */
struct edit_string {
/** Buffer for string */
diff --git a/src/include/gpxe/efi/efi_io.h b/src/include/gpxe/efi/efi_io.h
index 93f559d..7ad5ffe 100644
--- a/src/include/gpxe/efi/efi_io.h
+++ b/src/include/gpxe/efi/efi_io.h
@@ -10,6 +10,8 @@
* no-ops. I/O is handled using the EFI_CPU_IO_PROTOCOL.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#ifdef IOAPI_EFI
#define IOAPI_PREFIX_efi
#else
diff --git a/src/include/gpxe/efi/efi_pci.h b/src/include/gpxe/efi/efi_pci.h
index 8be331a..59c0eb1 100644
--- a/src/include/gpxe/efi/efi_pci.h
+++ b/src/include/gpxe/efi/efi_pci.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#ifdef PCIAPI_EFI
#define PCIAPI_PREFIX_efi
#else
diff --git a/src/include/gpxe/efi/efi_smbios.h b/src/include/gpxe/efi/efi_smbios.h
index df947de..01631e5 100644
--- a/src/include/gpxe/efi/efi_smbios.h
+++ b/src/include/gpxe/efi/efi_smbios.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#ifdef SMBIOS_EFI
#define SMBIOS_PREFIX_efi
#else
diff --git a/src/include/gpxe/efi/efi_timer.h b/src/include/gpxe/efi/efi_timer.h
index c332c9d..e0531d5 100644
--- a/src/include/gpxe/efi/efi_timer.h
+++ b/src/include/gpxe/efi/efi_timer.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#ifdef TIMER_EFI
#define TIMER_PREFIX_efi
#else
diff --git a/src/include/gpxe/efi/efi_uaccess.h b/src/include/gpxe/efi/efi_uaccess.h
index bae5fb4..a6b61c5 100644
--- a/src/include/gpxe/efi/efi_uaccess.h
+++ b/src/include/gpxe/efi/efi_uaccess.h
@@ -10,6 +10,8 @@
* no-ops.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#ifdef UACCESS_EFI
#define UACCESS_PREFIX_efi
#else
diff --git a/src/include/gpxe/efi/efi_umalloc.h b/src/include/gpxe/efi/efi_umalloc.h
index def17b2..0388dd1 100644
--- a/src/include/gpxe/efi/efi_umalloc.h
+++ b/src/include/gpxe/efi/efi_umalloc.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#ifdef UMALLOC_EFI
#define UMALLOC_PREFIX_efi
#else
diff --git a/src/include/gpxe/eisa.h b/src/include/gpxe/eisa.h
index cde46af..f76e4b9 100644
--- a/src/include/gpxe/eisa.h
+++ b/src/include/gpxe/eisa.h
@@ -1,6 +1,8 @@
#ifndef EISA_H
#define EISA_H
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <gpxe/isa_ids.h>
#include <gpxe/device.h>
diff --git a/src/include/gpxe/elf.h b/src/include/gpxe/elf.h
index db28a60..da9d2fc 100644
--- a/src/include/gpxe/elf.h
+++ b/src/include/gpxe/elf.h
@@ -8,6 +8,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <elf.h>
extern int elf_load ( struct image *image );
diff --git a/src/include/gpxe/errfile.h b/src/include/gpxe/errfile.h
index dcfd4e4..7ca9c99 100644
--- a/src/include/gpxe/errfile.h
+++ b/src/include/gpxe/errfile.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <bits/errfile.h>
/**
diff --git a/src/include/gpxe/errortab.h b/src/include/gpxe/errortab.h
index d519f68..35765d4 100644
--- a/src/include/gpxe/errortab.h
+++ b/src/include/gpxe/errortab.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <gpxe/tables.h>
struct errortab {
diff --git a/src/include/gpxe/ethernet.h b/src/include/gpxe/ethernet.h
index ff0fd6c..45ab9a0 100644
--- a/src/include/gpxe/ethernet.h
+++ b/src/include/gpxe/ethernet.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <gpxe/netdevice.h>
#include <gpxe/if_ether.h>
diff --git a/src/include/gpxe/fakedhcp.h b/src/include/gpxe/fakedhcp.h
index 550b74f..c603bdc 100644
--- a/src/include/gpxe/fakedhcp.h
+++ b/src/include/gpxe/fakedhcp.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
struct net_device;
diff --git a/src/include/gpxe/features.h b/src/include/gpxe/features.h
index 8d3977c..db485bc 100644
--- a/src/include/gpxe/features.h
+++ b/src/include/gpxe/features.h
@@ -11,6 +11,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
/**
* @defgroup featurecat Feature categories
* @{
diff --git a/src/include/gpxe/filter.h b/src/include/gpxe/filter.h
index 126f634..1f59fcc 100644
--- a/src/include/gpxe/filter.h
+++ b/src/include/gpxe/filter.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stddef.h>
#include <gpxe/xfer.h>
diff --git a/src/include/gpxe/ftp.h b/src/include/gpxe/ftp.h
index 370285c..93194f6 100644
--- a/src/include/gpxe/ftp.h
+++ b/src/include/gpxe/ftp.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
/** FTP default port */
#define FTP_PORT 21
diff --git a/src/include/gpxe/gdbserial.h b/src/include/gpxe/gdbserial.h
index 1863e90..2613ab4 100644
--- a/src/include/gpxe/gdbserial.h
+++ b/src/include/gpxe/gdbserial.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
struct gdb_transport;
/**
diff --git a/src/include/gpxe/gdbstub.h b/src/include/gpxe/gdbstub.h
index 2e2c4da..8f9b7c1 100644
--- a/src/include/gpxe/gdbstub.h
+++ b/src/include/gpxe/gdbstub.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <gpxe/tables.h>
#include <gdbmach.h>
diff --git a/src/include/gpxe/gdbudp.h b/src/include/gpxe/gdbudp.h
index 1a99093..5f02faa 100644
--- a/src/include/gpxe/gdbudp.h
+++ b/src/include/gpxe/gdbudp.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
struct sockaddr_in;
struct gdb_transport;
diff --git a/src/include/gpxe/hidemem.h b/src/include/gpxe/hidemem.h
index 010fdb5..01b3fc2 100644
--- a/src/include/gpxe/hidemem.h
+++ b/src/include/gpxe/hidemem.h
@@ -8,6 +8,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
extern void hide_umalloc ( physaddr_t start, physaddr_t end );
diff --git a/src/include/gpxe/hmac.h b/src/include/gpxe/hmac.h
index 67aefdc..cb001b9 100644
--- a/src/include/gpxe/hmac.h
+++ b/src/include/gpxe/hmac.h
@@ -6,6 +6,8 @@
* Keyed-Hashing for Message Authentication
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <gpxe/crypto.h>
/**
diff --git a/src/include/gpxe/http.h b/src/include/gpxe/http.h
index fa92a95..baa6d83 100644
--- a/src/include/gpxe/http.h
+++ b/src/include/gpxe/http.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
/** HTTP default port */
#define HTTP_PORT 80
diff --git a/src/include/gpxe/i2c.h b/src/include/gpxe/i2c.h
index 9d22954..87b89d4 100644
--- a/src/include/gpxe/i2c.h
+++ b/src/include/gpxe/i2c.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <gpxe/bitbash.h>
diff --git a/src/include/gpxe/ib_mad.h b/src/include/gpxe/ib_mad.h
index 6c4e95b..4544123 100644
--- a/src/include/gpxe/ib_mad.h
+++ b/src/include/gpxe/ib_mad.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <gpxe/ib_packet.h>
diff --git a/src/include/gpxe/ib_packet.h b/src/include/gpxe/ib_packet.h
index 5374802..fb95912 100644
--- a/src/include/gpxe/ib_packet.h
+++ b/src/include/gpxe/ib_packet.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
struct ib_device;
struct ib_queue_pair;
struct ib_address_vector;
diff --git a/src/include/gpxe/ib_sma.h b/src/include/gpxe/ib_sma.h
index 835ed4e..af40a48 100644
--- a/src/include/gpxe/ib_sma.h
+++ b/src/include/gpxe/ib_sma.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <gpxe/infiniband.h>
#include <gpxe/process.h>
diff --git a/src/include/gpxe/ib_smc.h b/src/include/gpxe/ib_smc.h
index bb9020b..fdd1c9c 100644
--- a/src/include/gpxe/ib_smc.h
+++ b/src/include/gpxe/ib_smc.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <gpxe/infiniband.h>
typedef int ( * ib_local_mad_t ) ( struct ib_device *ibdev,
diff --git a/src/include/gpxe/icmp.h b/src/include/gpxe/icmp.h
index 49ade2f..bb8fce8 100644
--- a/src/include/gpxe/icmp.h
+++ b/src/include/gpxe/icmp.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
/** An ICMP header */
struct icmp_header {
/** Type */
diff --git a/src/include/gpxe/icmp6.h b/src/include/gpxe/icmp6.h
index 3409361..e8fd1eb 100644
--- a/src/include/gpxe/icmp6.h
+++ b/src/include/gpxe/icmp6.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <gpxe/ip6.h>
#include <gpxe/ndp.h>
diff --git a/src/include/gpxe/if_arp.h b/src/include/gpxe/if_arp.h
index 5b25033..932bb3b 100644
--- a/src/include/gpxe/if_arp.h
+++ b/src/include/gpxe/if_arp.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
/* ARP protocol HARDWARE identifiers. */
diff --git a/src/include/gpxe/if_ether.h b/src/include/gpxe/if_ether.h
index 2f3f33d..57f8e12 100644
--- a/src/include/gpxe/if_ether.h
+++ b/src/include/gpxe/if_ether.h
@@ -1,6 +1,8 @@
#ifndef _GPXE_IF_ETHER_H
#define _GPXE_IF_ETHER_H
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#define ETH_ALEN 6 /* Size of Ethernet address */
diff --git a/src/include/gpxe/image.h b/src/include/gpxe/image.h
index b404746..10db8af 100644
--- a/src/include/gpxe/image.h
+++ b/src/include/gpxe/image.h
@@ -8,6 +8,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <gpxe/tables.h>
#include <gpxe/list.h>
#include <gpxe/uaccess.h>
diff --git a/src/include/gpxe/in.h b/src/include/gpxe/in.h
index 831a611..7027114 100644
--- a/src/include/gpxe/in.h
+++ b/src/include/gpxe/in.h
@@ -1,6 +1,8 @@
#ifndef _GPXE_IN_H
#define _GPXE_IN_H
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <gpxe/socket.h>
diff --git a/src/include/gpxe/infiniband.h b/src/include/gpxe/infiniband.h
index 196b595..7d54423 100644
--- a/src/include/gpxe/infiniband.h
+++ b/src/include/gpxe/infiniband.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <gpxe/refcnt.h>
#include <gpxe/device.h>
diff --git a/src/include/gpxe/init.h b/src/include/gpxe/init.h
index 5a51b03..a72cba7 100644
--- a/src/include/gpxe/init.h
+++ b/src/include/gpxe/init.h
@@ -1,6 +1,8 @@
#ifndef _GPXE_INIT_H
#define _GPXE_INIT_H
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <gpxe/tables.h>
/**
diff --git a/src/include/gpxe/interface.h b/src/include/gpxe/interface.h
index 94c711a..114ebf3 100644
--- a/src/include/gpxe/interface.h
+++ b/src/include/gpxe/interface.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <gpxe/refcnt.h>
/** An object communication interface */
diff --git a/src/include/gpxe/io.h b/src/include/gpxe/io.h
index ebb8ba3..919823d 100644
--- a/src/include/gpxe/io.h
+++ b/src/include/gpxe/io.h
@@ -16,6 +16,8 @@
* the address parameter.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <gpxe/api.h>
#include <config/ioapi.h>
diff --git a/src/include/gpxe/iobuf.h b/src/include/gpxe/iobuf.h
index 6d1a58a..8f05f9e 100644
--- a/src/include/gpxe/iobuf.h
+++ b/src/include/gpxe/iobuf.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <assert.h>
#include <gpxe/list.h>
diff --git a/src/include/gpxe/ip.h b/src/include/gpxe/ip.h
index b1b0c48..4342a0c 100644
--- a/src/include/gpxe/ip.h
+++ b/src/include/gpxe/ip.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <gpxe/in.h>
#include <gpxe/list.h>
diff --git a/src/include/gpxe/ip6.h b/src/include/gpxe/ip6.h
index dc0ae31..edb2863 100644
--- a/src/include/gpxe/ip6.h
+++ b/src/include/gpxe/ip6.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <gpxe/in.h>
diff --git a/src/include/gpxe/ipoib.h b/src/include/gpxe/ipoib.h
index 80adee5..5db2384 100644
--- a/src/include/gpxe/ipoib.h
+++ b/src/include/gpxe/ipoib.h
@@ -6,6 +6,8 @@
* IP over Infiniband
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <gpxe/infiniband.h>
/** IPoIB packet length */
diff --git a/src/include/gpxe/isa.h b/src/include/gpxe/isa.h
index 458d754..63027a5 100644
--- a/src/include/gpxe/isa.h
+++ b/src/include/gpxe/isa.h
@@ -1,6 +1,8 @@
#ifndef ISA_H
#define ISA_H
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <gpxe/isa_ids.h>
#include <gpxe/device.h>
diff --git a/src/include/gpxe/isa_ids.h b/src/include/gpxe/isa_ids.h
index bf3f101..1faf114 100644
--- a/src/include/gpxe/isa_ids.h
+++ b/src/include/gpxe/isa_ids.h
@@ -19,6 +19,8 @@
* the underlying "meaning" is big-endian.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <byteswap.h>
/*
diff --git a/src/include/gpxe/isapnp.h b/src/include/gpxe/isapnp.h
index 633f7b0..b58a87e 100644
--- a/src/include/gpxe/isapnp.h
+++ b/src/include/gpxe/isapnp.h
@@ -33,6 +33,8 @@
*
***************************************************************************/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#ifndef ISAPNP_H
#define ISAPNP_H
diff --git a/src/include/gpxe/iscsi.h b/src/include/gpxe/iscsi.h
index 0510974..9185d62 100644
--- a/src/include/gpxe/iscsi.h
+++ b/src/include/gpxe/iscsi.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <gpxe/socket.h>
#include <gpxe/scsi.h>
diff --git a/src/include/gpxe/job.h b/src/include/gpxe/job.h
index 8e11aa3..733a711 100644
--- a/src/include/gpxe/job.h
+++ b/src/include/gpxe/job.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stddef.h>
#include <gpxe/interface.h>
diff --git a/src/include/gpxe/keys.h b/src/include/gpxe/keys.h
index 3da8a1f..25bc9bc 100644
--- a/src/include/gpxe/keys.h
+++ b/src/include/gpxe/keys.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
/*
* Symbolic names for some standard ASCII characters
*
diff --git a/src/include/gpxe/linebuf.h b/src/include/gpxe/linebuf.h
index 676731a..cfa2147 100644
--- a/src/include/gpxe/linebuf.h
+++ b/src/include/gpxe/linebuf.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <stddef.h>
diff --git a/src/include/gpxe/linux_compat.h b/src/include/gpxe/linux_compat.h
index 2c3cbbd..577512e 100644
--- a/src/include/gpxe/linux_compat.h
+++ b/src/include/gpxe/linux_compat.h
@@ -10,6 +10,8 @@
* intended to be a substitute for proper porting.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <errno.h>
#include <stdio.h>
diff --git a/src/include/gpxe/list.h b/src/include/gpxe/list.h
index 602382b..22ba201 100644
--- a/src/include/gpxe/list.h
+++ b/src/include/gpxe/list.h
@@ -9,6 +9,8 @@
* list.h.
*/
+FILE_LICENCE ( GPL2_ONLY );
+
#include <stddef.h>
#include <assert.h>
diff --git a/src/include/gpxe/login_ui.h b/src/include/gpxe/login_ui.h
index d92ba8f..4196f7b 100644
--- a/src/include/gpxe/login_ui.h
+++ b/src/include/gpxe/login_ui.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
extern int login_ui ( void );
#endif /* _GPXE_LOGIN_UI_H */
diff --git a/src/include/gpxe/malloc.h b/src/include/gpxe/malloc.h
index cce5d1d..c02a866 100644
--- a/src/include/gpxe/malloc.h
+++ b/src/include/gpxe/malloc.h
@@ -9,6 +9,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
/*
* Prototypes for the standard functions (malloc() et al) are in
* stdlib.h. Include <gpxe/malloc.h> only if you need the
diff --git a/src/include/gpxe/mca.h b/src/include/gpxe/mca.h
index d276acf..da9d73e 100644
--- a/src/include/gpxe/mca.h
+++ b/src/include/gpxe/mca.h
@@ -5,6 +5,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#ifndef MCA_H
#define MCA_H
diff --git a/src/include/gpxe/md5.h b/src/include/gpxe/md5.h
index f8976a1..03d65c1 100644
--- a/src/include/gpxe/md5.h
+++ b/src/include/gpxe/md5.h
@@ -1,6 +1,8 @@
#ifndef _GPXE_MD5_H
#define _GPXE_MD5_H
+FILE_LICENCE ( GPL2_OR_LATER );
+
struct digest_algorithm;
#include <stdint.h>
diff --git a/src/include/gpxe/memmap.h b/src/include/gpxe/memmap.h
index 836a1b9..dc5bec3 100644
--- a/src/include/gpxe/memmap.h
+++ b/src/include/gpxe/memmap.h
@@ -10,6 +10,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
/** A usable memory region */
struct memory_region {
/** Physical start address */
diff --git a/src/include/gpxe/monojob.h b/src/include/gpxe/monojob.h
index aaa38d0..35ff4fd 100644
--- a/src/include/gpxe/monojob.h
+++ b/src/include/gpxe/monojob.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
struct job_interface;
extern struct job_interface monojob;
diff --git a/src/include/gpxe/nap.h b/src/include/gpxe/nap.h
index f9ae3cf..6c2e40c 100644
--- a/src/include/gpxe/nap.h
+++ b/src/include/gpxe/nap.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <gpxe/api.h>
#include <config/nap.h>
diff --git a/src/include/gpxe/netdevice.h b/src/include/gpxe/netdevice.h
index e4f5ed3..a2d1e69 100644
--- a/src/include/gpxe/netdevice.h
+++ b/src/include/gpxe/netdevice.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <gpxe/list.h>
#include <gpxe/tables.h>
diff --git a/src/include/gpxe/null_nap.h b/src/include/gpxe/null_nap.h
index 6dd0cda..0f46eaa 100644
--- a/src/include/gpxe/null_nap.h
+++ b/src/include/gpxe/null_nap.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#ifdef NAP_NULL
#define NAP_PREFIX_null
#else
diff --git a/src/include/gpxe/nvo.h b/src/include/gpxe/nvo.h
index 28068f4..c965070 100644
--- a/src/include/gpxe/nvo.h
+++ b/src/include/gpxe/nvo.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <gpxe/dhcpopts.h>
#include <gpxe/settings.h>
diff --git a/src/include/gpxe/nvs.h b/src/include/gpxe/nvs.h
index b026dd4..5c90c65 100644
--- a/src/include/gpxe/nvs.h
+++ b/src/include/gpxe/nvs.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
/** A non-volatile storage device */
diff --git a/src/include/gpxe/open.h b/src/include/gpxe/open.h
index 136ff87..ebf754d 100644
--- a/src/include/gpxe/open.h
+++ b/src/include/gpxe/open.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdarg.h>
#include <gpxe/tables.h>
#include <gpxe/socket.h>
diff --git a/src/include/gpxe/pci.h b/src/include/gpxe/pci.h
index 11bb5a8..1789c62 100644
--- a/src/include/gpxe/pci.h
+++ b/src/include/gpxe/pci.h
@@ -16,6 +16,8 @@
* your option) any later version.
*/
+FILE_LICENCE ( GPL2_ONLY );
+
#include <stdint.h>
#include <gpxe/device.h>
#include <gpxe/tables.h>
diff --git a/src/include/gpxe/pci_ids.h b/src/include/gpxe/pci_ids.h
index 075ff96..f570c08 100644
--- a/src/include/gpxe/pci_ids.h
+++ b/src/include/gpxe/pci_ids.h
@@ -7,6 +7,8 @@
* Please keep sorted.
*/
+FILE_LICENCE ( GPL2_ONLY );
+
/* Device classes and subclasses */
#define PCI_CLASS_NOT_DEFINED 0x0000
diff --git a/src/include/gpxe/pci_io.h b/src/include/gpxe/pci_io.h
index 365166c..8b2729a 100644
--- a/src/include/gpxe/pci_io.h
+++ b/src/include/gpxe/pci_io.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <gpxe/api.h>
#include <config/ioapi.h>
diff --git a/src/include/gpxe/posix_io.h b/src/include/gpxe/posix_io.h
index 9984db0..3063dff 100644
--- a/src/include/gpxe/posix_io.h
+++ b/src/include/gpxe/posix_io.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <gpxe/uaccess.h>
diff --git a/src/include/gpxe/process.h b/src/include/gpxe/process.h
index 42e4dfa..a460919 100644
--- a/src/include/gpxe/process.h
+++ b/src/include/gpxe/process.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <gpxe/list.h>
#include <gpxe/refcnt.h>
#include <gpxe/tables.h>
diff --git a/src/include/gpxe/profile.h b/src/include/gpxe/profile.h
index d46ca05..a5bdd3a 100644
--- a/src/include/gpxe/profile.h
+++ b/src/include/gpxe/profile.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
/**
diff --git a/src/include/gpxe/ramdisk.h b/src/include/gpxe/ramdisk.h
index 4a77f05..31a1d99 100644
--- a/src/include/gpxe/ramdisk.h
+++ b/src/include/gpxe/ramdisk.h
@@ -8,6 +8,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <gpxe/uaccess.h>
#include <gpxe/blockdev.h>
diff --git a/src/include/gpxe/rarp.h b/src/include/gpxe/rarp.h
index 81e03bd..7ade831 100644
--- a/src/include/gpxe/rarp.h
+++ b/src/include/gpxe/rarp.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
struct net_protocol;
extern struct net_protocol rarp_protocol;
diff --git a/src/include/gpxe/refcnt.h b/src/include/gpxe/refcnt.h
index 68e0fd4..e56f1d3 100644
--- a/src/include/gpxe/refcnt.h
+++ b/src/include/gpxe/refcnt.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
/**
* A reference counter
*
diff --git a/src/include/gpxe/resolv.h b/src/include/gpxe/resolv.h
index 81207d2..33bb098 100644
--- a/src/include/gpxe/resolv.h
+++ b/src/include/gpxe/resolv.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <gpxe/refcnt.h>
#include <gpxe/interface.h>
#include <gpxe/tables.h>
diff --git a/src/include/gpxe/retry.h b/src/include/gpxe/retry.h
index 1e7fde4..ada0204 100644
--- a/src/include/gpxe/retry.h
+++ b/src/include/gpxe/retry.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <gpxe/list.h>
/** Default timeout value */
diff --git a/src/include/gpxe/rotate.h b/src/include/gpxe/rotate.h
index 42ec719..0371c57 100644
--- a/src/include/gpxe/rotate.h
+++ b/src/include/gpxe/rotate.h
@@ -6,6 +6,8 @@
* Bit operations
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
static inline uint32_t rol32 ( uint32_t data, unsigned int rotation ) {
diff --git a/src/include/gpxe/rsa.h b/src/include/gpxe/rsa.h
index e30e1a5..5052ad4 100644
--- a/src/include/gpxe/rsa.h
+++ b/src/include/gpxe/rsa.h
@@ -1,6 +1,8 @@
#ifndef _GPXE_RSA_H
#define _GPXE_RSA_H
+FILE_LICENCE ( GPL2_OR_LATER );
+
struct pubkey_algorithm;
extern struct pubkey_algorithm rsa_algorithm;
diff --git a/src/include/gpxe/sanboot.h b/src/include/gpxe/sanboot.h
index 05a3ddf..6ec2ec2 100644
--- a/src/include/gpxe/sanboot.h
+++ b/src/include/gpxe/sanboot.h
@@ -1,6 +1,8 @@
#ifndef _GPXE_SANBOOT_H
#define _GPXE_SANBOOT_H
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <gpxe/tables.h>
struct sanboot_protocol {
diff --git a/src/include/gpxe/scsi.h b/src/include/gpxe/scsi.h
index e820117..115fd3f 100644
--- a/src/include/gpxe/scsi.h
+++ b/src/include/gpxe/scsi.h
@@ -12,6 +12,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
/**
* @defgroup scsiops SCSI operation codes
* @{
diff --git a/src/include/gpxe/segment.h b/src/include/gpxe/segment.h
index 5ab9169..5b59c54 100644
--- a/src/include/gpxe/segment.h
+++ b/src/include/gpxe/segment.h
@@ -8,6 +8,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <gpxe/uaccess.h>
extern int prep_segment ( userptr_t segment, size_t filesz, size_t memsz );
diff --git a/src/include/gpxe/serial.h b/src/include/gpxe/serial.h
index 2825b93..a72ca7e 100644
--- a/src/include/gpxe/serial.h
+++ b/src/include/gpxe/serial.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
extern void serial_putc ( int ch );
extern int serial_getc ( void );
extern int serial_ischar ( void );
diff --git a/src/include/gpxe/settings.h b/src/include/gpxe/settings.h
index c25b6ad..ed3f159 100644
--- a/src/include/gpxe/settings.h
+++ b/src/include/gpxe/settings.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <gpxe/tables.h>
#include <gpxe/list.h>
diff --git a/src/include/gpxe/settings_ui.h b/src/include/gpxe/settings_ui.h
index 48548fd..a82d733 100644
--- a/src/include/gpxe/settings_ui.h
+++ b/src/include/gpxe/settings_ui.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
struct settings;
extern int settings_ui ( struct settings *settings ) __nonnull;
diff --git a/src/include/gpxe/sha1.h b/src/include/gpxe/sha1.h
index 66370d4..8109a8a 100644
--- a/src/include/gpxe/sha1.h
+++ b/src/include/gpxe/sha1.h
@@ -1,6 +1,8 @@
#ifndef _GPXE_SHA1_H
#define _GPXE_SHA1_H
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include "crypto/axtls/crypto.h"
struct digest_algorithm;
diff --git a/src/include/gpxe/shell.h b/src/include/gpxe/shell.h
index c353fc4..a65a344 100644
--- a/src/include/gpxe/shell.h
+++ b/src/include/gpxe/shell.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
extern void shell ( void );
#endif /* _GPXE_SHELL_H */
diff --git a/src/include/gpxe/shell_banner.h b/src/include/gpxe/shell_banner.h
index f8e92a4..28482be 100644
--- a/src/include/gpxe/shell_banner.h
+++ b/src/include/gpxe/shell_banner.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
extern int shell_banner ( void );
#endif /* _GPXE_SHELL_BANNER_H */
diff --git a/src/include/gpxe/smbios.h b/src/include/gpxe/smbios.h
index a294236..4df25c3 100644
--- a/src/include/gpxe/smbios.h
+++ b/src/include/gpxe/smbios.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <gpxe/api.h>
#include <config/general.h>
diff --git a/src/include/gpxe/socket.h b/src/include/gpxe/socket.h
index b683bed..9ea0db9 100644
--- a/src/include/gpxe/socket.h
+++ b/src/include/gpxe/socket.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
/**
diff --git a/src/include/gpxe/spi.h b/src/include/gpxe/spi.h
index 8f90e3d..ebfc322 100644
--- a/src/include/gpxe/spi.h
+++ b/src/include/gpxe/spi.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <gpxe/nvs.h>
/**
diff --git a/src/include/gpxe/spi_bit.h b/src/include/gpxe/spi_bit.h
index ced85ce..8bd2519 100644
--- a/src/include/gpxe/spi_bit.h
+++ b/src/include/gpxe/spi_bit.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <gpxe/spi.h>
#include <gpxe/bitbash.h>
diff --git a/src/include/gpxe/tables.h b/src/include/gpxe/tables.h
index 39b4777..7dfced8 100644
--- a/src/include/gpxe/tables.h
+++ b/src/include/gpxe/tables.h
@@ -1,6 +1,8 @@
#ifndef _GPXE_TABLES_H
#define _GPXE_TABLES_H
+FILE_LICENCE ( GPL2_OR_LATER );
+
/** @page ifdef_harmful #ifdef considered harmful
*
* Overuse of @c #ifdef has long been a problem in Etherboot.
diff --git a/src/include/gpxe/tcp.h b/src/include/gpxe/tcp.h
index 264ec29..6fb673a 100644
--- a/src/include/gpxe/tcp.h
+++ b/src/include/gpxe/tcp.h
@@ -9,6 +9,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <gpxe/tcpip.h>
/**
diff --git a/src/include/gpxe/tcpip.h b/src/include/gpxe/tcpip.h
index 544b9fe..f71d7d6 100644
--- a/src/include/gpxe/tcpip.h
+++ b/src/include/gpxe/tcpip.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <gpxe/socket.h>
#include <gpxe/in.h>
diff --git a/src/include/gpxe/tftp.h b/src/include/gpxe/tftp.h
index 0177a95..c57bb25 100644
--- a/src/include/gpxe/tftp.h
+++ b/src/include/gpxe/tftp.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#define TFTP_PORT 69 /**< Default TFTP server port */
diff --git a/src/include/gpxe/threewire.h b/src/include/gpxe/threewire.h
index 865fc25..4dc755c 100644
--- a/src/include/gpxe/threewire.h
+++ b/src/include/gpxe/threewire.h
@@ -10,6 +10,8 @@
* support.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <gpxe/spi.h>
#include <limits.h>
diff --git a/src/include/gpxe/timer.h b/src/include/gpxe/timer.h
index 862d87b..86722dc 100644
--- a/src/include/gpxe/timer.h
+++ b/src/include/gpxe/timer.h
@@ -9,6 +9,8 @@
* for a monotonically increasing tick counter.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <gpxe/api.h>
#include <config/timer.h>
diff --git a/src/include/gpxe/tls.h b/src/include/gpxe/tls.h
index ddec7be..e2da046 100644
--- a/src/include/gpxe/tls.h
+++ b/src/include/gpxe/tls.h
@@ -7,6 +7,8 @@
* Transport Layer Security Protocol
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <gpxe/refcnt.h>
#include <gpxe/filter.h>
diff --git a/src/include/gpxe/uaccess.h b/src/include/gpxe/uaccess.h
index 33aaed1..5a8f292 100644
--- a/src/include/gpxe/uaccess.h
+++ b/src/include/gpxe/uaccess.h
@@ -19,6 +19,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <string.h>
#include <gpxe/api.h>
diff --git a/src/include/gpxe/udp.h b/src/include/gpxe/udp.h
index e515f65..670c5e5 100644
--- a/src/include/gpxe/udp.h
+++ b/src/include/gpxe/udp.h
@@ -9,6 +9,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stddef.h>
#include <gpxe/iobuf.h>
#include <gpxe/tcpip.h>
diff --git a/src/include/gpxe/umalloc.h b/src/include/gpxe/umalloc.h
index e6fc7bf..b0e5564 100644
--- a/src/include/gpxe/umalloc.h
+++ b/src/include/gpxe/umalloc.h
@@ -8,6 +8,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <gpxe/api.h>
#include <config/umalloc.h>
#include <gpxe/uaccess.h>
diff --git a/src/include/gpxe/uri.h b/src/include/gpxe/uri.h
index 3803868..03c88d2 100644
--- a/src/include/gpxe/uri.h
+++ b/src/include/gpxe/uri.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stddef.h>
#include <stdlib.h>
#include <gpxe/refcnt.h>
diff --git a/src/include/gpxe/uuid.h b/src/include/gpxe/uuid.h
index 18d1f14..019cd05 100644
--- a/src/include/gpxe/uuid.h
+++ b/src/include/gpxe/uuid.h
@@ -6,6 +6,8 @@
* Universally unique IDs
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
/** A universally unique ID */
diff --git a/src/include/gpxe/vsprintf.h b/src/include/gpxe/vsprintf.h
index aa8f8a3..ee860a5 100644
--- a/src/include/gpxe/vsprintf.h
+++ b/src/include/gpxe/vsprintf.h
@@ -31,6 +31,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <stdarg.h>
#include <stdio.h>
diff --git a/src/include/gpxe/x509.h b/src/include/gpxe/x509.h
index 071e1de..1b9d9aa 100644
--- a/src/include/gpxe/x509.h
+++ b/src/include/gpxe/x509.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
struct asn1_cursor;
diff --git a/src/include/gpxe/xfer.h b/src/include/gpxe/xfer.h
index e592fa3..edd3703 100644
--- a/src/include/gpxe/xfer.h
+++ b/src/include/gpxe/xfer.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stddef.h>
#include <stdarg.h>
#include <gpxe/interface.h>
diff --git a/src/include/libgen.h b/src/include/libgen.h
index 56a2f76..7e94881 100644
--- a/src/include/libgen.h
+++ b/src/include/libgen.h
@@ -1,6 +1,8 @@
#ifndef _LIBGEN_H
#define _LIBGEN_H
+FILE_LICENCE ( GPL2_OR_LATER );
+
extern char * basename ( char *path );
extern char * dirname ( char *path );
diff --git a/src/include/little_bswap.h b/src/include/little_bswap.h
index e4f8375..a5dc9c8 100644
--- a/src/include/little_bswap.h
+++ b/src/include/little_bswap.h
@@ -1,6 +1,8 @@
#ifndef ETHERBOOT_LITTLE_BSWAP_H
#define ETHERBOOT_LITTLE_BSWAP_H
+FILE_LICENCE ( GPL2_OR_LATER );
+
#define ntohl(x) __bswap_32(x)
#define htonl(x) __bswap_32(x)
#define ntohs(x) __bswap_16(x)
diff --git a/src/include/mii.h b/src/include/mii.h
index 34c1ca9..e17ec63 100644
--- a/src/include/mii.h
+++ b/src/include/mii.h
@@ -10,6 +10,8 @@
* 03/26/2004
*/
+FILE_LICENCE ( GPL2_ONLY );
+
/* Generic MII registers. */
#define MII_BMCR 0x00 /* Basic mode control register */
diff --git a/src/include/nic.h b/src/include/nic.h
index f55db4a..c808972 100644
--- a/src/include/nic.h
+++ b/src/include/nic.h
@@ -5,6 +5,8 @@
* your option) any later version.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#ifndef NIC_H
#define NIC_H
diff --git a/src/include/readline/readline.h b/src/include/readline/readline.h
index 1a03b48..700b7aa 100644
--- a/src/include/readline/readline.h
+++ b/src/include/readline/readline.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
extern char * __malloc readline ( const char *prompt );
#endif /* _READLINE_H */
diff --git a/src/include/stdarg.h b/src/include/stdarg.h
index a4eb711..78b261a 100644
--- a/src/include/stdarg.h
+++ b/src/include/stdarg.h
@@ -1,6 +1,8 @@
#ifndef _STDARG_H
#define _STDARG_H
+FILE_LICENCE ( GPL2_OR_LATER );
+
typedef __builtin_va_list va_list;
#define va_start( ap, last ) __builtin_va_start ( ap, last )
#define va_arg( ap, type ) __builtin_va_arg ( ap, type )
diff --git a/src/include/stddef.h b/src/include/stddef.h
index 11ea934..2a02a89 100644
--- a/src/include/stddef.h
+++ b/src/include/stddef.h
@@ -1,6 +1,8 @@
#ifndef STDDEF_H
#define STDDEF_H
+FILE_LICENCE ( GPL2_ONLY );
+
/* for size_t */
#include <stdint.h>
diff --git a/src/include/stdint.h b/src/include/stdint.h
index dc4bd8c..8cc9b84 100644
--- a/src/include/stdint.h
+++ b/src/include/stdint.h
@@ -1,6 +1,8 @@
#ifndef _STDINT_H
#define _STDINT_H
+FILE_LICENCE ( GPL2_OR_LATER );
+
/*
* This is a standard predefined macro on all gcc's I've seen. It's
* important that we define size_t in the same way as the compiler,
diff --git a/src/include/stdio.h b/src/include/stdio.h
index 82077e2..84181f0 100644
--- a/src/include/stdio.h
+++ b/src/include/stdio.h
@@ -1,6 +1,8 @@
#ifndef _STDIO_H
#define _STDIO_H
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <stdarg.h>
diff --git a/src/include/stdlib.h b/src/include/stdlib.h
index 838a22a..254e39b 100644
--- a/src/include/stdlib.h
+++ b/src/include/stdlib.h
@@ -1,6 +1,8 @@
#ifndef STDLIB_H
#define STDLIB_H
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <assert.h>
diff --git a/src/include/string.h b/src/include/string.h
index a2894a3..2fd6acf 100644
--- a/src/include/string.h
+++ b/src/include/string.h
@@ -11,6 +11,8 @@
* published by the Free Software Foundation.
*/
+FILE_LICENCE ( GPL2_ONLY );
+
#ifndef ETHERBOOT_STRING_H
#define ETHERBOOT_STRING_H
diff --git a/src/include/strings.h b/src/include/strings.h
index 968a7c1..c7063d6 100644
--- a/src/include/strings.h
+++ b/src/include/strings.h
@@ -1,6 +1,8 @@
#ifndef _STRINGS_H
#define _STRINGS_H
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <limits.h>
#include <string.h>
diff --git a/src/include/unistd.h b/src/include/unistd.h
index dc1f67f..ef94694 100644
--- a/src/include/unistd.h
+++ b/src/include/unistd.h
@@ -1,6 +1,8 @@
#ifndef _UNISTD_H
#define _UNISTD_H
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stddef.h>
#include <stdarg.h>
diff --git a/src/include/usr/autoboot.h b/src/include/usr/autoboot.h
index 1e9647c..16306cd 100644
--- a/src/include/usr/autoboot.h
+++ b/src/include/usr/autoboot.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <gpxe/in.h>
struct net_device;
diff --git a/src/include/usr/dhcpmgmt.h b/src/include/usr/dhcpmgmt.h
index 0f27560..2394dac 100644
--- a/src/include/usr/dhcpmgmt.h
+++ b/src/include/usr/dhcpmgmt.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
struct net_device;
extern int dhcp ( struct net_device *netdev );
diff --git a/src/include/usr/ifmgmt.h b/src/include/usr/ifmgmt.h
index 7b49d34..f762c7b 100644
--- a/src/include/usr/ifmgmt.h
+++ b/src/include/usr/ifmgmt.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
struct net_device;
extern int ifopen ( struct net_device *netdev );
diff --git a/src/include/usr/imgmgmt.h b/src/include/usr/imgmgmt.h
index 438af00..0c8c8cf 100644
--- a/src/include/usr/imgmgmt.h
+++ b/src/include/usr/imgmgmt.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
struct image;
extern int imgfetch ( struct image *image, const char *uri_string,
diff --git a/src/include/usr/route.h b/src/include/usr/route.h
index fc85589..855fa7b 100644
--- a/src/include/usr/route.h
+++ b/src/include/usr/route.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
extern void route ( void );
#endif /* _USR_ROUTE_H */