File tree Expand file tree Collapse file tree 6 files changed +11
-81
lines changed Expand file tree Collapse file tree 6 files changed +11
-81
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ Copyright (c) 2014-2015 Hewlett-Packard Development Company, LP. All
53
53
rights reserved.
54
54
Copyright (c) 2013-2017 Research Organization for Information Science (RIST).
55
55
All rights reserved.
56
- Copyright (c) 2017 Amazon.com, Inc. or its affiliates. All Rights
56
+ Copyright (c) 2017-2018 Amazon.com, Inc. or its affiliates. All Rights
57
57
reserved.
58
58
Copyright (c) 2018 DataDirect Networks. All rights reserved.
59
59
Original file line number Diff line number Diff line change 1
1
/*
2
2
* Copyright (c) 2010 Cisco Systems, Inc. All rights reserved.
3
3
* Copyright (c) 2010 Oracle and/or its affiliates. All rights reserved.
4
+ * Copyright (c) 2018 Amazon.com, Inc. or its affiliates. All Rights
5
+ * reserved.
4
6
* $COPYRIGHT$
5
7
*
6
8
* Additional copyrights may follow
36
38
#include <arpa/inet.h>
37
39
#endif
38
40
#ifdef HAVE_NET_IF_H
39
- #if defined(__APPLE__ ) && defined(_LP64 )
40
- /* Apple engineering suggested using options align=power as a
41
- workaround for a bug in OS X 10.4 (Tiger) that prevented ioctl(...,
42
- SIOCGIFCONF, ...) from working properly in 64 bit mode on Power PC.
43
- It turns out that the underlying issue is the size of struct
44
- ifconf, which the kernel expects to be 12 and natural 64 bit
45
- alignment would make 16. The same bug appears in 64 bit mode on
46
- Intel macs, but align=power is a no-op there, so instead, use the
47
- pack pragma to instruct the compiler to pack on 4 byte words, which
48
- has the same effect as align=power for our needs and works on both
49
- Intel and Power PC Macs. */
50
- #pragma pack(push,4)
51
- #endif
52
41
#include <net/if.h>
53
- #if defined(__APPLE__ ) && defined(_LP64 )
54
- #pragma pack(pop)
55
- #endif
56
42
#endif
57
43
#ifdef HAVE_NETDB_H
58
44
#include <netdb.h>
Original file line number Diff line number Diff line change 3
3
* Copyright (c) 2010-2013 Cisco Systems, Inc. All rights reserved.
4
4
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
5
5
* reserved.
6
+ * Copyright (c) 2018 Amazon.com, Inc. or its affiliates. All Rights
7
+ * reserved.
6
8
* $COPYRIGHT$
7
9
*
8
10
* Additional copyrights may follow
39
41
#include <arpa/inet.h>
40
42
#endif
41
43
#ifdef HAVE_NET_IF_H
42
- #if defined(__APPLE__ ) && defined(_LP64 )
43
- /* Apple engineering suggested using options align=power as a
44
- workaround for a bug in OS X 10.4 (Tiger) that prevented ioctl(...,
45
- SIOCGIFCONF, ...) from working properly in 64 bit mode on Power PC.
46
- It turns out that the underlying issue is the size of struct
47
- ifconf, which the kernel expects to be 12 and natural 64 bit
48
- alignment would make 16. The same bug appears in 64 bit mode on
49
- Intel macs, but align=power is a no-op there, so instead, use the
50
- pack pragma to instruct the compiler to pack on 4 byte words, which
51
- has the same effect as align=power for our needs and works on both
52
- Intel and Power PC Macs. */
53
- #pragma pack(push,4)
54
- #endif
55
44
#include <net/if.h>
56
- #if defined(__APPLE__ ) && defined(_LP64 )
57
- #pragma pack(pop)
58
- #endif
59
45
#endif
60
46
#ifdef HAVE_NETDB_H
61
47
#include <netdb.h>
Original file line number Diff line number Diff line change 1
1
/*
2
2
* Copyright (c) 2010 Cisco Systems, Inc. All rights reserved.
3
3
* Copyright (c) 2010 Oracle and/or its affiliates. All rights reserved.
4
+ * Copyright (c) 2018 Amazon.com, Inc. or its affiliates. All Rights
5
+ * reserved.
4
6
* $COPYRIGHT$
5
7
*
6
8
* Additional copyrights may follow
34
36
#include <arpa/inet.h>
35
37
#endif
36
38
#ifdef HAVE_NET_IF_H
37
- #if defined(__APPLE__ ) && defined(_LP64 )
38
- /* Apple engineering suggested using options align=power as a
39
- workaround for a bug in OS X 10.4 (Tiger) that prevented ioctl(...,
40
- SIOCGIFCONF, ...) from working properly in 64 bit mode on Power PC.
41
- It turns out that the underlying issue is the size of struct
42
- ifconf, which the kernel expects to be 12 and natural 64 bit
43
- alignment would make 16. The same bug appears in 64 bit mode on
44
- Intel macs, but align=power is a no-op there, so instead, use the
45
- pack pragma to instruct the compiler to pack on 4 byte words, which
46
- has the same effect as align=power for our needs and works on both
47
- Intel and Power PC Macs. */
48
- #pragma pack(push,4)
49
- #endif
50
39
#include <net/if.h>
51
- #if defined(__APPLE__ ) && defined(_LP64 )
52
- #pragma pack(pop)
53
- #endif
54
40
#endif
55
41
#ifdef HAVE_NETDB_H
56
42
#include <netdb.h>
Original file line number Diff line number Diff line change 16
16
* reserved.
17
17
* Copyright (c) 2015-2016 Research Organization for Information Science
18
18
* and Technology (RIST). All rights reserved.
19
+ * Copyright (c) 2018 Amazon.com, Inc. or its affiliates. All Rights
20
+ * reserved.
19
21
* $COPYRIGHT$
20
22
*
21
23
* Additional copyrights may follow
49
51
#include <arpa/inet.h>
50
52
#endif
51
53
#ifdef HAVE_NET_IF_H
52
- #if defined(__APPLE__ ) && defined(_LP64 )
53
- /* Apple engineering suggested using options align=power as a
54
- workaround for a bug in OS X 10.4 (Tiger) that prevented ioctl(...,
55
- SIOCGIFCONF, ...) from working properly in 64 bit mode on Power PC.
56
- It turns out that the underlying issue is the size of struct
57
- ifconf, which the kernel expects to be 12 and natural 64 bit
58
- alignment would make 16. The same bug appears in 64 bit mode on
59
- Intel macs, but align=power is a no-op there, so instead, use the
60
- pack pragma to instruct the compiler to pack on 4 byte words, which
61
- has the same effect as align=power for our needs and works on both
62
- Intel and Power PC Macs. */
63
- #pragma pack(push,4)
64
- #endif
65
54
#include <net/if.h>
66
- #if defined(__APPLE__ ) && defined(_LP64 )
67
- #pragma pack(pop)
68
- #endif
69
55
#endif
70
56
#ifdef HAVE_NETDB_H
71
57
#include <netdb.h>
Original file line number Diff line number Diff line change 15
15
* Copyright (c) 2013 Intel, Inc. All rights reserved.
16
16
* Copyright (c) 2015 Research Organization for Information Science
17
17
* and Technology (RIST). All rights reserved.
18
+ * Copyright (c) 2018 Amazon.com, Inc. or its affiliates. All Rights
19
+ * reserved.
18
20
* $COPYRIGHT$
19
21
*
20
22
* Additional copyrights may follow
49
51
#include <arpa/inet.h>
50
52
#endif
51
53
#ifdef HAVE_NET_IF_H
52
- #if defined(__APPLE__ ) && defined(_LP64 )
53
- /* Apple engineering suggested using options align=power as a
54
- workaround for a bug in OS X 10.4 (Tiger) that prevented ioctl(...,
55
- SIOCGIFCONF, ...) from working properly in 64 bit mode on Power PC.
56
- It turns out that the underlying issue is the size of struct
57
- ifconf, which the kernel expects to be 12 and natural 64 bit
58
- alignment would make 16. The same bug appears in 64 bit mode on
59
- Intel macs, but align=power is a no-op there, so instead, use the
60
- pack pragma to instruct the compiler to pack on 4 byte words, which
61
- has the same effect as align=power for our needs and works on both
62
- Intel and Power PC Macs. */
63
- #pragma pack(push,4)
64
- #endif
65
54
#include <net/if.h>
66
- #if defined(__APPLE__ ) && defined(_LP64 )
67
- #pragma pack(pop)
68
- #endif
69
55
#endif
70
56
#ifdef HAVE_NETDB_H
71
57
#include <netdb.h>
You can’t perform that action at this time.
0 commit comments