From 78254a626fa0475b97489b724884ca9be5338c9d Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Tue, 23 Jun 2009 00:45:07 +0000 Subject: [PATCH] Move these definitions over for other files to use in preparation of the next commit --- code/qcommon/net_ip.c | 7 ------- 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 725ca350..5647414a 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 5282de5f..e9b90377 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)