#include <yarp/os/impl/DgramTwoWayStream.h>
#include <yarp/conf/system.h>
#include <yarp/conf/environment.h>
#include <yarp/os/NetType.h>
#include <yarp/os/Time.h>
#include <yarp/os/impl/LogComponent.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <unistd.h>
#include <cerrno>
#include <cstring>
Go to the source code of this file.
Macros | |
#define | CRC_SIZE 8 |
#define | UDP_MAX_DATAGRAM_SIZE (65507 - CRC_SIZE) |
Functions | |
static bool | checkCrc (char *buf, yarp::conf::ssize_t length, yarp::conf::ssize_t crcLength, int pct, int *store_altPct=nullptr) |
static void | addCrc (char *buf, yarp::conf::ssize_t length, yarp::conf::ssize_t crcLength, int pct) |
#define CRC_SIZE 8 |
Definition at line 47 of file DgramTwoWayStream.cpp.
#define UDP_MAX_DATAGRAM_SIZE (65507 - CRC_SIZE) |
Definition at line 48 of file DgramTwoWayStream.cpp.
|
static |
Definition at line 81 of file DgramTwoWayStream.cpp.
|
static |
Definition at line 56 of file DgramTwoWayStream.cpp.