iCub-main
Macros | Variables
SocketCan.cpp File Reference
#include "SocketCan.h"
#include <yarp/dev/CanBusInterface.h>
#include <yarp/os/Bottle.h>
#include <yarp/os/Value.h>
#include <sys/types.h>
#include <yarp/os/Time.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <arpa/inet.h>
#include <linux/can.h>
#include <linux/can/raw.h>
#include <string.h>
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
+ Include dependency graph for SocketCan.cpp:

Go to the source code of this file.

Macros

#define PF_CAN   29
 
#define AF_CAN   PF_CAN
 
#define SOCK_DEBUG   0
 

Variables

const int TX_QUEUE_SIZE =2047
 
const int RX_QUEUE_SIZE =2047
 

Macro Definition Documentation

◆ AF_CAN

#define AF_CAN   PF_CAN

Definition at line 50 of file SocketCan.cpp.

◆ PF_CAN

#define PF_CAN   29
Id
SocketCan.cpp,v 0.9 2010/12/05 18:00:00 randaz Exp

Definition at line 46 of file SocketCan.cpp.

◆ SOCK_DEBUG

#define SOCK_DEBUG   0

Definition at line 53 of file SocketCan.cpp.

Variable Documentation

◆ RX_QUEUE_SIZE

const int RX_QUEUE_SIZE =2047

Definition at line 59 of file SocketCan.cpp.

◆ TX_QUEUE_SIZE

const int TX_QUEUE_SIZE =2047

Definition at line 58 of file SocketCan.cpp.