|
|||
|
|||
|
#include "inspircd.h"Include dependency graph for cidr.cpp:

Go to the source code of this file.
Functions | |
| bool | irc::sockets::MatchCIDRBits (const unsigned char *address, const unsigned char *mask, unsigned int mask_bits) |
| Match raw binary data using CIDR rules. | |
| bool | irc::sockets::MatchCIDR (const std::string &address, const std::string &cidr_mask) |
| Match CIDR, without matching username/nickname parts. | |
| bool | irc::sockets::MatchCIDR (const std::string &address, const std::string &cidr_mask, bool match_with_username) |
| Match CIDR, including an optional username/nickname part. | |
Variables | |
| const unsigned char | inverted_bits [8] |
|
|
Initial value: { 0x00,
0x80,
0xC0,
0xE0,
0xF0,
0xF8,
0xFC,
0xFE
}
Definition at line 23 of file cidr.cpp. Referenced by irc::sockets::MatchCIDRBits(). |