diff options
-rw-r--r-- | code/qcommon/net_ip.c | 7 | ||||
-rw-r--r-- | code/qcommon/qcommon.h | 8 |
2 files changed, 8 insertions, 7 deletions
diff --git a/code/qcommon/net_ip.c b/code/qcommon/net_ip.c index 725ca35..5647414 100644 --- a/code/qcommon/net_ip.c +++ b/code/qcommon/net_ip.c @@ -92,13 +92,6 @@ typedef int SOCKET; static qboolean usingSocks = qfalse; static int networkingEnabled = 0; -#define NET_ENABLEV4 0x01 -#define NET_ENABLEV6 0x02 -// if this flag is set, always attempt ipv6 connections instead of ipv4 if a v6 address is found. -#define NET_PRIOV6 0x04 -// disables ipv6 multicast support if set. -#define NET_DISABLEMCAST 0x08 - static cvar_t *net_enabled; static cvar_t *net_socksEnabled; diff --git a/code/qcommon/qcommon.h b/code/qcommon/qcommon.h index 5282de5..e9b9037 100644 --- a/code/qcommon/qcommon.h +++ b/code/qcommon/qcommon.h @@ -121,6 +121,14 @@ NET ============================================================== */ +#define NET_ENABLEV4 0x01 +#define NET_ENABLEV6 0x02 +// if this flag is set, always attempt ipv6 connections instead of ipv4 if a v6 address is found. +#define NET_PRIOV6 0x04 +// disables ipv6 multicast support if set. +#define NET_DISABLEMCAST 0x08 + + #define PACKET_BACKUP 32 // number of old messages that must be kept on client and // server for delta comrpession and ping estimation #define PACKET_MASK (PACKET_BACKUP-1) |