mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-10 06:31:56 +00:00
beginnings of IPv6 support by Pontus Lidman
(pali) i had to personally fix this so that it's optional, if anyone wants to enable this (it's not ready yet, it's just a star) you have to uncomment the line\ for QW_NET_SRC in qw_client/Makefile.in and qw_server/Makefile.in, you also have to uncomment LINUX_IPV6 definition in qw_common/net.h here's an excerpt of Pontus's explaination: I've started to work on IPv6 support. I guess it's not a top priority, as the intersections of quake players and people with 6bone access is pretty small, but at least I'm one of them ;) If anyone else is interested in working on IPv6 support, or have opinions/advice on how to go about it, I'd like to get in touch.
This commit is contained in:
parent
c24ef4e0ee
commit
7560771b16
5 changed files with 21 additions and 0 deletions
4
AUTHORS
4
AUTHORS
|
@ -136,3 +136,7 @@ D: CD-ROM support/optimizations
|
|||
N: Ricardo Veguilla
|
||||
E: r_veguilla_pr@yahoo.com
|
||||
D: Fix for SDL _windowed_mouse
|
||||
|
||||
N: Pontus Lidman
|
||||
E: <pontus@lysator.liu.se>
|
||||
D: adding IPv6 support
|
||||
|
|
4
CREDITS
4
CREDITS
|
@ -107,3 +107,7 @@ AIX/IRIX/Sun support:
|
|||
Network code fixes/cleanups:
|
||||
Roger Sen Montero <rogersm@tau.uab.es>
|
||||
Marcus Sundberg <mackan@stacken.kth.se>
|
||||
|
||||
IPv6 support (not complete)
|
||||
------------
|
||||
Pontus Lidman <pontus@lysator.liu.se>
|
||||
|
|
|
@ -148,8 +148,11 @@ SND_SRC += snd_mem.c snd_mix.c $(XTRA_SND_SRC)
|
|||
SYS_SRC = sys_common.c @QW_CL_SYS_SRC@
|
||||
|
||||
# Networking source files
|
||||
#
|
||||
# Uncomment the second line to add IPv6 support
|
||||
|
||||
QW_NET_SRC = net_udp.c net_com.c mdfour.c
|
||||
#QW_NET_SRC = net_udp6.c net_com.c mdfour.c
|
||||
|
||||
# Common source files
|
||||
|
||||
|
|
|
@ -23,9 +23,16 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
|
||||
#define PORT_ANY -1
|
||||
|
||||
// Uncomment this line for IPv6 support
|
||||
//#define LINUX_IPV6
|
||||
|
||||
typedef struct
|
||||
{
|
||||
#ifdef LINUX_IPV6
|
||||
unsigned int ip[4];
|
||||
#else
|
||||
byte ip[4];
|
||||
#endif
|
||||
unsigned short port;
|
||||
unsigned short pad;
|
||||
} netadr_t;
|
||||
|
|
|
@ -39,8 +39,11 @@ QW_SRV_SYS_SRC = sys_common.c @QW_SRV_SYS_SRC@
|
|||
|
||||
# Networking source files
|
||||
# FIXME: Should not assume UNIX
|
||||
#
|
||||
# Uncomment the second line for IPv6 support
|
||||
|
||||
QW_NET_SRC = net_udp.c net_com.c mdfour.c
|
||||
#QW_NET_SRC = net_udp6.c net_com.c mdfour.c
|
||||
|
||||
# Server source files
|
||||
|
||||
|
|
Loading…
Reference in a new issue