Functions
test_socket.cpp File Reference
#include <iostream>
#include <vector>
#include <cerrno>
#include <uavcan_linux/uavcan_linux.hpp>
#include "debug.hpp"
Include dependency graph for test_socket.cpp:

Go to the source code of this file.

Functions

int main (int argc, const char **argv)
 
static uavcan::CanFrame makeFrame (std::uint32_t id, const std::string &data)
 
static void testDriver (const std::vector< std::string > &iface_names)
 
static void testNonexistentIface ()
 
static void testSocketFilters (const std::string &iface_name)
 
static void testSocketRxTx (const std::string &iface_name)
 
static uavcan::MonotonicTime tsMonoOffsetMs (std::int64_t ms)
 

Function Documentation

◆ main()

int main ( int  argc,
const char **  argv 
)

Definition at line 335 of file test_socket.cpp.

◆ makeFrame()

static uavcan::CanFrame makeFrame ( std::uint32_t  id,
const std::string &  data 
)
static

Definition at line 11 of file test_socket.cpp.

◆ testDriver()

static void testDriver ( const std::vector< std::string > &  iface_names)
static

Definition at line 214 of file test_socket.cpp.

◆ testNonexistentIface()

static void testNonexistentIface ( )
static

Definition at line 21 of file test_socket.cpp.

◆ testSocketFilters()

static void testSocketFilters ( const std::string &  iface_name)
static

Definition at line 133 of file test_socket.cpp.

◆ testSocketRxTx()

static void testSocketRxTx ( const std::string &  iface_name)
static

Definition at line 29 of file test_socket.cpp.

◆ tsMonoOffsetMs()

static uavcan::MonotonicTime tsMonoOffsetMs ( std::int64_t  ms)
static

Definition at line 16 of file test_socket.cpp.



uavcan_communicator
Author(s):
autogenerated on Fri Dec 13 2024 03:10:03