penguin/tinyproxy

An L4 proxy designed to act as a tiny transparent shim

tcp_route.h

raw ยท 225 bytes

#ifndef TCP_ROUTE_H
#define TCP_ROUTE_H

#include "route.h"

int start_tcp_route(
    struct event_base *base,
    const struct route *r,
    struct listener_ctx **out);

void free_tcp_route(struct listener_ctx *ctx);
#endif