Skip to content

Commit

Permalink
windows/netinet: Copy ip6.h and icmp6.h from netbsd.
Browse files Browse the repository at this point in the history
There are a few structure definitions that is used from
these headers. So copy them from the netbsd repo.

The following changes have been made on top of it:
* The keyword "__packed" has been removed
from the headers as the corresponding Linux headers don't
do packing.
* #if BYTE_ORDER == 'X' macros have been replaced by CONSTANT_HTONx().
* code inside #ifdef _KERNEL has been deleted.
* code inside #ifdef ICMP6_STRINGS has been deleted.

Signed-off-by: Gurucharan Shetty <[email protected]>
Acked-by: Ben Pfaff <[email protected]>
  • Loading branch information
shettyg committed Mar 13, 2014
1 parent 8917f72 commit 03f234d
Show file tree
Hide file tree
Showing 4 changed files with 852 additions and 0 deletions.
4 changes: 4 additions & 0 deletions COPYING
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ The following files are licensed under the 2-clause BSD license.
include/windows/getopt.h
lib/getopt_long.c

The following files are licensed under the 3-clause BSD-license
include/windows/netinet/icmp6.h
include/windows/netinet/ip6.h

Files under the xenserver directory are licensed on a file-by-file
basis. Refer to each file for details.

Expand Down
7 changes: 7 additions & 0 deletions debian/copyright.in
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ Upstream Copyright Holders:
Copyright (c) 2011 Gaetano Catalli
Copyright (C) 2000-2003 Geoffrey Wossum ([email protected])
Copyright (C) 2000 The NetBSD Foundation, Inc.
Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
Copyright (c) 1982, 1986, 1993 The Regents of the University of California.

License:

Expand Down Expand Up @@ -84,6 +86,11 @@ License:
lib/getopt_long.c
include/windows/getopt.h

* The following files are licensed under the 3-clause BSD-license

include/windows/netinet/icmp6.h
include/windows/netinet/ip6.h

* The following components are dual-licensed under the
GNU General Public License version 2 and the Apache License Version 2.0.

Expand Down
Loading

0 comments on commit 03f234d

Please sign in to comment.