Searched refs:broadcastaddr (Results 1 – 4 of 4) sorted by relevance
/external/quake/quake/src/WinQuake/ |
D | net_wipx.cpp | 33 static struct qsockaddr broadcastaddr; variable 108 ((struct sockaddr_ipx *)&broadcastaddr)->sa_family = AF_IPX; in WIPX_Init() 109 memset(((struct sockaddr_ipx *)&broadcastaddr)->sa_netnum, 0, 4); in WIPX_Init() 110 memset(((struct sockaddr_ipx *)&broadcastaddr)->sa_nodenum, 0xff, 6); in WIPX_Init() 111 ((struct sockaddr_ipx *)&broadcastaddr)->sa_socket = htons((unsigned short)net_hostport); in WIPX_Init() 267 return WIPX_Write (handle, buf, len, &broadcastaddr); in WIPX_Broadcast()
|
D | net_mp.cpp | 39 static struct qsockaddr broadcastaddr; variable 102 ((struct sockaddr_in *)&broadcastaddr)->sin_family = AF_INET; in MPATH_Init() 103 ((struct sockaddr_in *)&broadcastaddr)->sin_addr.s_addr = INADDR_BROADCAST; in MPATH_Init() 104 ((struct sockaddr_in *)&broadcastaddr)->sin_port = htons(net_hostport); in MPATH_Init() 313 return MPATH_Write (socket, buf, len, &broadcastaddr); in MPATH_Broadcast()
|
D | net_udp.cpp | 48 static struct qsockaddr broadcastaddr; variable 176 memcpy(&temp, &broadcastaddr, sizeof(temp)); in UDP_Init() 182 memcpy(&broadcastaddr, &temp, sizeof(temp)); in UDP_Init() 390 return UDP_Write (socket, buf, len, &broadcastaddr); in UDP_Broadcast()
|
D | net_wins.cpp | 32 static struct qsockaddr broadcastaddr; variable 237 ((struct sockaddr_in *)&broadcastaddr)->sin_family = AF_INET; in WINS_Init() 238 ((struct sockaddr_in *)&broadcastaddr)->sin_addr.s_addr = INADDR_BROADCAST; in WINS_Init() 239 ((struct sockaddr_in *)&broadcastaddr)->sin_port = htons((unsigned short)net_hostport); in WINS_Init() 447 return WINS_Write (socket, buf, len, &broadcastaddr); in WINS_Broadcast()
|