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.
il y a 15 ans
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)).
il y a 15 ans
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.
il y a 16 ans
Michael Brown
5de837cc67
Mildly ugly hack to force correct linkage.
il y a 17 ans
Michael Brown
a1210e4fca
Eliminate PF_INET; just use the AF_INET from the struct sockaddr instead.
il y a 17 ans
Michael Brown
27b3bd10c9
Added PF_INET[6] and SOCK_{STREAM,DGRAM} definitions and debug
functions.
il y a 17 ans
Michael Brown
8ffbbebf11
Ensure that struct sockaddr is long enough...
il y a 17 ans
Michael Brown
e24a6cb525
Moved the basic struct sockaddr out of in.h.
il y a 18 ans