libdoip  0.1.0
DoIP (Diagnostics over Internet Protocol) ISO 13400 C++17 Library
DoIPServer.h File Reference
#include <arpa/inet.h>
#include <atomic>
#include <functional>
#include <iostream>
#include <memory>
#include <net/if.h>
#include <netinet/in.h>
#include <optional>
#include <string.h>
#include <string>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <thread>
#include <unistd.h>
#include <vector>
#include "ByteArray.h"
#include "DoIPConfig.h"
#include "DoIPConnection.h"
#include "DoIPFurtherAction.h"
#include "DoIPIdentifiers.h"
#include "DoIPNegativeAck.h"
#include "DoIPServerModel.h"
#include "MacAddress.h"
Include dependency graph for DoIPServer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  doip::ServerConfig
 Server configuration structure used to initialize a DoIP server. More...
 
class  doip::DoIPServer
 DoIP Server class to handle incoming DoIP connections and UDP messages. More...
 

Namespaces

 doip
 

Typedefs

using doip::ConnectionAcceptedHandler = std::function< std::optional< DoIPServerModel >(DoIPConnection *)>
 Callback invoked when a new TCP connection is established. More...
 

Variables

const ServerConfig doip::DefaultServerConfig {}
 
constexpr int doip::DOIP_SERVER_TCP_PORT = 13400