YARP
Yet Another Robot Platform
NetType.cpp File Reference
#include <yarp/os/NetType.h>
#include <yarp/os/ManagedBytes.h>
#include <yarp/os/impl/LogComponent.h>
#include <clocale>
#include <cstdlib>
#include <cstring>
#include <limits>
+ Include dependency graph for NetType.cpp:

Go to the source code of this file.

Functions

static void make_crc_table ()
 
static unsigned long update_crc (unsigned long crc, unsigned char *buf, size_t len)
 

Variables

static unsigned long crc_table [256]
 
static int crc_table_computed = 0
 

Function Documentation

◆ make_crc_table()

static void make_crc_table ( )
static

Definition at line 128 of file NetType.cpp.

◆ update_crc()

static unsigned long update_crc ( unsigned long  crc,
unsigned char *  buf,
size_t  len 
)
static

Definition at line 153 of file NetType.cpp.

Variable Documentation

◆ crc_table

unsigned long crc_table[256]
static

Definition at line 122 of file NetType.cpp.

◆ crc_table_computed

int crc_table_computed = 0
static

Definition at line 125 of file NetType.cpp.