From d19f5c00e3d1eb1de800cdcfb36dc0bb77f61cbd Mon Sep 17 00:00:00 2001 From: thilo Date: Tue, 23 Jun 2009 00:45:07 +0000 Subject: Move these definitions over for other files to use in preparation of the next commit git-svn-id: svn://svn.icculus.org/quake3/trunk@1577 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/qcommon/net_ip.c | 7 ------- code/qcommon/qcommon.h | 8 ++++++++ 2 files changed, 8 insertions(+), 7 deletions(-) (limited to 'code/qcommon') 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) -- cgit v1.2.3