OpenTTD Source
20241108-master-g80f628063a
|
Functions related to getting host specific data (IPs). More...
#include "../../stdafx.h"
#include "../../debug.h"
#include "../../core/alloc_func.hpp"
#include "address.h"
#include "../../safeguards.h"
Go to the source code of this file.
Functions | |
static void | NetworkFindBroadcastIPsInternal (NetworkAddressList *broadcast) |
Internal implementation for finding the broadcast IPs. More... | |
void | NetworkFindBroadcastIPs (NetworkAddressList *broadcast) |
Find the IPv4 broadcast addresses; IPv6 uses a completely different strategy for broadcasting. More... | |
Functions related to getting host specific data (IPs).
Definition in file host.cpp.
void NetworkFindBroadcastIPs | ( | NetworkAddressList * | broadcast | ) |
Find the IPv4 broadcast addresses; IPv6 uses a completely different strategy for broadcasting.
broadcast | the list of broadcasts to write into. |
Definition at line 86 of file host.cpp.
References Debug, NETWORK_DEFAULT_PORT, and NetworkFindBroadcastIPsInternal().
|
static |
Internal implementation for finding the broadcast IPs.
This function is implemented multiple times for multiple targets.
broadcast | the list of broadcasts to write into. |
Definition at line 63 of file host.cpp.
Referenced by NetworkFindBroadcastIPs().