feisty meow concerns codebase  2.140
internet_address.cpp File Reference
#include "internet_address.h"
#include "machine_uid.h"
#include <basis/byte_array.h>
#include <basis/functions.h>
#include <basis/astring.h>
#include <basis/mutex.h>
#include <configuration/configurator.h>
#include <configuration/variable_tokenizer.h>
#include <loggers/program_wide_logger.h>
#include <structures/static_memory_gremlin.h>
#include <structures/string_table.h>
#include <textual/parser_bits.h>
#include <stdio.h>
#include <string.h>
Include dependency graph for internet_address.cpp:

Go to the source code of this file.

Namespaces

 sockets
 Provides access to the operating system's socket methods.
 

Macros

#define LOG(to_print)   CLASS_EMERGENCY_LOG(program_wide_logger::get(), to_print)
 
#define CAST_UP(type)
 

Functions

 sockets::SAFE_STATIC_CONST (byte_array, internet_address::localhost,(ADDRESS_SIZE, localhosts_bytes)) bool internet_address
 
 sockets::SAFE_STATIC_CONST (byte_array, internet_address::nil_address,(ADDRESS_SIZE, nil_address_bytes)) bool internet_address
 

Variables

const abyte sockets::localhosts_bytes [] = { 127, 0, 0, 1 }
 
const abyte sockets::nil_address_bytes [] = { 0, 0, 0, 0 }
 

Macro Definition Documentation

◆ CAST_UP

#define CAST_UP (   type)
Value:
const type *temp = dynamic_cast<const type *>(&compare_in); \
if (!temp) return false; /* shouldn't happen but it means bad things. */ \
const type &to_compare = *temp;

Definition at line 85 of file internet_address.cpp.

◆ LOG

#define LOG (   to_print)    CLASS_EMERGENCY_LOG(program_wide_logger::get(), to_print)

Definition at line 47 of file internet_address.cpp.