mirror of
https://git.freebsd.org/ports.git
synced 2025-04-30 18:46:38 -04:00
hping3 is a command-line oriented TCP/IP packet assembler/analyzer. This port is significantly modified version of already existing older port net/hping but hping3 has more useful features like IP options LSRR/SSRR etc. net/hping3 does not conflict with net/hping due to different names of installed files and both utilities may be installed same time.
23 lines
511 B
C
23 lines
511 B
C
--- bytesex.h.orig 2003-08-31 17:23:48 UTC
|
|
+++ bytesex.h
|
|
@@ -7,6 +7,7 @@
|
|
#ifndef ARS_BYTESEX_H
|
|
#define ARS_BYTESEX_H
|
|
|
|
+#if 0
|
|
#if defined(__i386__) \
|
|
|| defined(__alpha__) \
|
|
|| (defined(__mips__) && (defined(MIPSEL) || defined (__MIPSEL__)))
|
|
@@ -21,5 +22,12 @@
|
|
#else
|
|
# error can not find the byte order for this architecture, fix bytesex.h
|
|
#endif
|
|
+#endif
|
|
+
|
|
+#if BYTE_ORDER == LITTLE_ENDIAN
|
|
+#define BYTE_ORDER_LITTLE_ENDIAN
|
|
+#else
|
|
+#define BYTE_ORDER_BIG_ENDIAN
|
|
+#endif
|
|
|
|
#endif /* ARS_BYTESEX_H */
|