1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-07 13:11:28 +00:00

removed BSDFIX/BSDUFIX macros

This commit is contained in:
fyodor
2005-07-27 02:34:14 +00:00
parent 8aa16ebc8d
commit f071c68e07
3 changed files with 7 additions and 23 deletions

10
tcpip.h
View File

@@ -248,16 +248,6 @@ typedef enum { devt_ethernet, devt_loopback, devt_p2p, devt_other } devtype;
#define TCPIP_DEBUGGING 0
#endif
#ifndef BSDFIX
#if FREEBSD || BSDI || NETBSD || DEC
#define BSDFIX(x) x
#define BSDUFIX(x) x
#else
#define BSDFIX(x) htons(x)
#define BSDUFIX(x) ntohs(x)
#endif
#endif
/* Explicit Congestion Notification (rfc 2481/3168) */
#ifndef TH_ECE
#define TH_ECE 0x40