aboutsummaryrefslogtreecommitdiffstats
path: root/com32/include/netinet/in.h
Commit message (Collapse)AuthorAgeFilesLines
* Generic facilities for byteswapping and unaligned referencesH. Peter Anvin2013-04-021-6/+6
| | | | | | | For future portability, add functions to access both littleendian and bigendian numbers, and to perform unaligned memory references. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Merge remote-tracking branch 'origin/master' into lwipH. Peter Anvin2011-04-251-1/+4
|\ | | | | | | | | | | | | Resolved Conflicts: com32/include/netinet/in.h Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * com32: inet_ntoa() takes struct in_addrH. Peter Anvin2011-04-251-1/+3
| | | | | | | | | | | | | | The standard definition for inet_ntoa() is to take struct in_addr, and not doing that causes a conflict on the lwip branch. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * inet: Adding inet_ntoa()Erwan Velu2011-03-221-0/+1
| | | | | | | | Adding inet_ntoa() as it could be useful to print pxe_boot_t structure
* | core: factor out byteswap.h from netinet/in.hEric W. Biederman2011-04-121-40/+8
|/ | | | | | | | This is a logical generalization, follows the precedent set by glibc and it will allow us to avoid problems with lwips definition of the network byte swap functions. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
* netinet/in.h: fix output typesH. Peter Anvin2009-08-241-14/+14
| | | | | | | We need casts not just on input but on output, in order to make sure only the correct bits are visible. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* netinet/in.h: add __constfunc to inlinesH. Peter Anvin2009-08-121-4/+5
| | | | | | All the byte-swapping functions are true constfuncs... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* netinet/in.h: put in explicit casts for all the hton/ntoh macrosH. Peter Anvin2009-08-121-6/+6
| | | | | | For the macro versions of hton/ntoh, use casts everywhere. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* netinet/in.h: adjust hton/ntoh macros to be true constantsH. Peter Anvin2009-08-111-11/+20
| | | | | | | | Tweak the hton/ntoh macros so that they are true constants if the input is a constant expression; this makes them usable in the preprocessor. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Merge branch 'master' into core32H. Peter Anvin2009-05-291-12/+11
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: com32/include/netinet/in.h com32/include/sys/cpu.h dos/argv.c dos/malloc.c dos/syslinux.c extlinux/main.c libinstaller/setadv.c libinstaller/syslinux.h libinstaller/syslxint.h libinstaller/syslxmod.c linux/syslinux.c mtools/syslinux.c win32/syslinux.c Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * Run Nindent on com32/include/netinet/in.hH. Peter Anvin2009-05-291-12/+11
| | | | | | | | | | | | | | | | | | Automatically reformat com32/include/netinet/in.h using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | com32: make com32 modules self-relocating (COM32R)H. Peter Anvin2009-05-241-1/+1
|/ | | | | | | | | Introduce a new "COM32R" format, which is exactly like COM32 except that they contain position-independent code. Therefore, the core can load them at any sufficiently aligned address; by protocol select 4K as the alignment. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* PXE header support; higher-level function for PXE GET_CACHED_INFOH. Peter Anvin2007-03-151-0/+7
| | | | | Beginnings of higher-level functions for PXE support. For now, only pxe_get_cached_info() is actually supported.
* Across-the-board stealth whitespace cleanupH. Peter Anvin2006-05-031-3/+0
|
* More work on password support for the menu systems. Make the base64hpa2005-01-211-2/+2
| | | | | decoder work (necessary to handle encrypted passwords.) Simple SHA-1 password generator in Perl.
* SHA-1 support in libutil; beginnings of menu passwd supporthpa2005-01-201-0/+43