summaryrefslogtreecommitdiffstats
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/aoe.c2
-rw-r--r--src/net/arp.c2
-rw-r--r--src/net/dhcpopts.c2
-rw-r--r--src/net/dhcppkt.c2
-rw-r--r--src/net/ethernet.c2
-rw-r--r--src/net/fakedhcp.c2
-rw-r--r--src/net/icmp.c2
-rw-r--r--src/net/infiniband.c2
-rw-r--r--src/net/iobpad.c2
-rw-r--r--src/net/ipv4.c2
-rw-r--r--src/net/netdev_settings.c2
-rw-r--r--src/net/netdevice.c2
-rw-r--r--src/net/nullnet.c2
-rw-r--r--src/net/rarp.c2
-rw-r--r--src/net/retry.c2
-rw-r--r--src/net/tcp.c2
-rw-r--r--src/net/tcp/http.c2
-rw-r--r--src/net/tcp/https.c2
-rw-r--r--src/net/tcp/iscsi.c2
-rw-r--r--src/net/tcpip.c2
-rw-r--r--src/net/tls.c2
-rw-r--r--src/net/udp.c2
-rw-r--r--src/net/udp/dhcp.c2
-rw-r--r--src/net/udp/dns.c2
-rw-r--r--src/net/udp/slam.c2
-rw-r--r--src/net/udp/tftp.c2
26 files changed, 52 insertions, 0 deletions
diff --git a/src/net/aoe.c b/src/net/aoe.c
index 08887fe0a..9e6a99e28 100644
--- a/src/net/aoe.c
+++ b/src/net/aoe.c
@@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stddef.h>
#include <string.h>
#include <stdio.h>
diff --git a/src/net/arp.c b/src/net/arp.c
index cf2fe988d..8bc83958a 100644
--- a/src/net/arp.c
+++ b/src/net/arp.c
@@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <string.h>
#include <byteswap.h>
diff --git a/src/net/dhcpopts.c b/src/net/dhcpopts.c
index 1898011aa..c1940f1f5 100644
--- a/src/net/dhcpopts.c
+++ b/src/net/dhcpopts.c
@@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
diff --git a/src/net/dhcppkt.c b/src/net/dhcppkt.c
index 2f3e68021..20a0e6668 100644
--- a/src/net/dhcppkt.c
+++ b/src/net/dhcppkt.c
@@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
diff --git a/src/net/ethernet.c b/src/net/ethernet.c
index b16135a9a..812da8647 100644
--- a/src/net/ethernet.c
+++ b/src/net/ethernet.c
@@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/net/fakedhcp.c b/src/net/fakedhcp.c
index 0518789c3..ad3f046fe 100644
--- a/src/net/fakedhcp.c
+++ b/src/net/fakedhcp.c
@@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
diff --git a/src/net/icmp.c b/src/net/icmp.c
index 3e45c1f61..749c34549 100644
--- a/src/net/icmp.c
+++ b/src/net/icmp.c
@@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <string.h>
#include <errno.h>
#include <gpxe/iobuf.h>
diff --git a/src/net/infiniband.c b/src/net/infiniband.c
index d79bdc2c6..1c584d830 100644
--- a/src/net/infiniband.c
+++ b/src/net/infiniband.c
@@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
diff --git a/src/net/iobpad.c b/src/net/iobpad.c
index 9961edca4..cbae221a1 100644
--- a/src/net/iobpad.c
+++ b/src/net/iobpad.c
@@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
/**
* @file
*
diff --git a/src/net/ipv4.c b/src/net/ipv4.c
index 8668d44bb..79fa9ea6e 100644
--- a/src/net/ipv4.c
+++ b/src/net/ipv4.c
@@ -21,6 +21,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
/* Unique IP datagram identification number */
static uint16_t next_ident = 0;
diff --git a/src/net/netdev_settings.c b/src/net/netdev_settings.c
index 44aca7d8a..54ce2fbce 100644
--- a/src/net/netdev_settings.c
+++ b/src/net/netdev_settings.c
@@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <string.h>
#include <errno.h>
#include <gpxe/dhcp.h>
diff --git a/src/net/netdevice.c b/src/net/netdevice.c
index b24fbfdc6..1a68af2c4 100644
--- a/src/net/netdevice.c
+++ b/src/net/netdevice.c
@@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
diff --git a/src/net/nullnet.c b/src/net/nullnet.c
index 7e199ce3d..381f02a6a 100644
--- a/src/net/nullnet.c
+++ b/src/net/nullnet.c
@@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <errno.h>
#include <gpxe/iobuf.h>
diff --git a/src/net/rarp.c b/src/net/rarp.c
index bb5e6ad76..1d0dd961f 100644
--- a/src/net/rarp.c
+++ b/src/net/rarp.c
@@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <byteswap.h>
#include <gpxe/netdevice.h>
diff --git a/src/net/retry.c b/src/net/retry.c
index cd793a7f8..3ca69362b 100644
--- a/src/net/retry.c
+++ b/src/net/retry.c
@@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stddef.h>
#include <gpxe/timer.h>
#include <gpxe/list.h>
diff --git a/src/net/tcp.c b/src/net/tcp.c
index 0ef657793..1de2abf06 100644
--- a/src/net/tcp.c
+++ b/src/net/tcp.c
@@ -21,6 +21,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
/** A TCP connection */
struct tcp_connection {
/** Reference counter */
diff --git a/src/net/tcp/http.c b/src/net/tcp/http.c
index b8ea3cc5b..a02408a90 100644
--- a/src/net/tcp/http.c
+++ b/src/net/tcp/http.c
@@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
/**
* @file
*
diff --git a/src/net/tcp/https.c b/src/net/tcp/https.c
index 15ab32ef8..7a2961f21 100644
--- a/src/net/tcp/https.c
+++ b/src/net/tcp/https.c
@@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
/**
* @file
*
diff --git a/src/net/tcp/iscsi.c b/src/net/tcp/iscsi.c
index 51c2beeaa..943bdefc1 100644
--- a/src/net/tcp/iscsi.c
+++ b/src/net/tcp/iscsi.c
@@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stddef.h>
#include <string.h>
#include <stdlib.h>
diff --git a/src/net/tcpip.c b/src/net/tcpip.c
index cef638f34..932fd482a 100644
--- a/src/net/tcpip.c
+++ b/src/net/tcpip.c
@@ -14,6 +14,8 @@
* TCP/IP transport-network layer interface
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
/** Process a received TCP/IP packet
*
* @v iobuf I/O buffer
diff --git a/src/net/tls.c b/src/net/tls.c
index 25f18f79b..a5b126ed8 100644
--- a/src/net/tls.c
+++ b/src/net/tls.c
@@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
/**
* @file
*
diff --git a/src/net/udp.c b/src/net/udp.c
index 1b83518ef..771655e06 100644
--- a/src/net/udp.c
+++ b/src/net/udp.c
@@ -16,6 +16,8 @@
* UDP protocol
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
/**
* A UDP connection
*
diff --git a/src/net/udp/dhcp.c b/src/net/udp/dhcp.c
index 289e41ade..9c1e09dae 100644
--- a/src/net/udp/dhcp.c
+++ b/src/net/udp/dhcp.c
@@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
diff --git a/src/net/udp/dns.c b/src/net/udp/dns.c
index c1da454b7..f94094aa9 100644
--- a/src/net/udp/dns.c
+++ b/src/net/udp/dns.c
@@ -19,6 +19,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
diff --git a/src/net/udp/slam.c b/src/net/udp/slam.c
index 71043f45a..396f69b07 100644
--- a/src/net/udp/slam.c
+++ b/src/net/udp/slam.c
@@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
diff --git a/src/net/udp/tftp.c b/src/net/udp/tftp.c
index be7e58afc..4812f1ce6 100644
--- a/src/net/udp/tftp.c
+++ b/src/net/udp/tftp.c
@@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>