#include "tcp_sponge_socket.hh"
#include "parser.hh"
#include "tun.hh"
#include "util.hh"
#include <cstddef>
#include <exception>
#include <iostream>
#include <stdexcept>
#include <string>
#include <sys/socket.h>
#include <sys/syscall.h>
#include <sys/types.h>
#include <unistd.h>
#include <utility>
Go to the source code of this file.
◆ socket_pair_helper()
Call socketpair and return connected Unix-domain sockets of specified type.
- Parameters
-
[in] | type | is the type of AF_UNIX sockets to create (e.g., SOCK_SEQPACKET) |
- Returns
- a std::pair of connected sockets
Definition at line 167 of file tcp_sponge_socket.cc.
◆ TCP_TICK_MS
constexpr size_t TCP_TICK_MS = 10 |
|
staticconstexpr |