Michael Brown
c44a193d0d
[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.
15 years ago
Michael Brown
85e5e25c52
[build] Avoid strict-aliasing warnings when building with gcc 4.4
Conventional usage of the various struct sockaddr_xxx types involves
liberal use of casting, which tends to trigger strict-aliasing
warnings from gcc. Avoid these now and in future by marking all the
relevant types with __attribute__((may_alias)).
16 years ago
Michael Brown
0ebbbb95fa
[x86_64] Fix assorted 64-bit compilation errors and warnings
Remove various 32-bit assumptions scattered throughout the codebase.
The code is still not necessarily 64-bit clean, but will at least
compile.
16 years ago
Michael Brown
5de837cc67
Mildly ugly hack to force correct linkage.
17 years ago
Michael Brown
a1210e4fca
Eliminate PF_INET; just use the AF_INET from the struct sockaddr instead.
17 years ago
Michael Brown
27b3bd10c9
Added PF_INET[6] and SOCK_{STREAM,DGRAM} definitions and debug
functions.
17 years ago
Michael Brown
8ffbbebf11
Ensure that struct sockaddr is long enough...
18 years ago
Michael Brown
e24a6cb525
Moved the basic struct sockaddr out of in.h.
18 years ago