Go to the source code of this file.
◆ MAX_IPFILTERS
#define MAX_IPFILTERS 1024 |
◆ ServerCommand()
◆ StringToFilter()
◆ SV_FilterPacket()
Definition at line 123 of file g_svcmds.c.
132 while (*p &&
i < 4) {
134 while (*p >=
'0' && *p <=
'9') {
135 m[
i] = m[
i]*10 + (*p -
'0');
138 if (!*p || *p ==
':')
Referenced by ClientConnect().
◆ SVCmd_AddIP_f()
◆ SVCmd_ListIP_f()
◆ SVCmd_RemoveIP_f()
◆ Svcmd_Test_f()
◆ SVCmd_WriteIP_f()
Definition at line 238 of file g_svcmds.c.
251 sprintf (
name,
"%s/listip.cfg",
game->string);
255 f = fopen (
name,
"wb");
267 fprintf (f,
"sv addip %i.%i.%i.%i\n", b[0], b[1], b[2], b[3]);
Referenced by ServerCommand().
◆ ipfilters
◆ numipfilters