Monero
Loading...
Searching...
No Matches
external
miniupnp
miniupnpc
Functions
|
Variables
testaddr_is_reserved.c File Reference
#include <stdio.h>
#include "
addr_is_reserved.h
"
Include dependency graph for testaddr_is_reserved.c:
Functions
int
main
(int argc, char **argv)
Variables
struct {
const
char *
str
int
expected_result
}
tests
[]
Function Documentation
◆
main()
int main
(
int
argc
,
char **
argv
)
Variable Documentation
◆
expected_result
int expected_result
◆
str
const
char* str
◆
[struct]
const struct { ... } tests[]
Initial value:
= {
{
"0.0.0.0"
, 1 },
{
"8.8.8.8"
, 0 },
{
"192.168.1.1"
, 1 },
{
"10.250.42.12"
, 1 },
{
"11.250.42.12"
, 0 },
{
"172.31.1.1"
, 1 },
{
"172.32.1.1"
, 0 },
{
"169.254.42.42"
, 1 },
{
"192.0.0.11"
, 1 },
{
"198.0.0.11"
, 0 },
{
"198.18.0.11"
, 1 },
{
"100.64.1.1"
, 1 },
{
"100.127.1.1"
, 1 },
{
"100.128.1.1"
, 0 },
{ NULL, 0 }
}
Generated on
for Monero by
1.16.1