aboutsummaryrefslogtreecommitdiffstats
path: root/com32/include/netinet/in.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-03-15 00:57:29 -0700
committerH. Peter Anvin <hpa@zytor.com>2007-03-15 00:57:29 -0700
commit200e00ab1afbfac847c48eb608110c4726a582c4 (patch)
tree1dad10249e575eb16f0dfb883a45a523150b39b3 /com32/include/netinet/in.h
parent4228ecdf1ed81e50625ded581faa8ad7429799e5 (diff)
downloadsyslinux-200e00ab1afbfac847c48eb608110c4726a582c4.tar.gz
syslinux-200e00ab1afbfac847c48eb608110c4726a582c4.tar.xz
syslinux-200e00ab1afbfac847c48eb608110c4726a582c4.zip
PXE header support; higher-level function for PXE GET_CACHED_INFO
Beginnings of higher-level functions for PXE support. For now, only pxe_get_cached_info() is actually supported.
Diffstat (limited to 'com32/include/netinet/in.h')
-rw-r--r--com32/include/netinet/in.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/com32/include/netinet/in.h b/com32/include/netinet/in.h
index e6a20489..5fd71a6a 100644
--- a/com32/include/netinet/in.h
+++ b/com32/include/netinet/in.h
@@ -37,4 +37,11 @@ static inline uint64_t __htonq(uint64_t v)
#define htonq(x) __htonq(x)
#define ntohq(x) __htonq(x)
+typedef uint32_t in_addr_t;
+typedef uint16_t in_port_t;
+
+struct in_addr {
+ in_addr_t s_addr;
+};
+
#endif /* _NETINET_IN_H */