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:
10
tcpip.h
10
tcpip.h
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user