src/bind.h
raw ยท 202 bytes
#ifndef BIND_H
#define BIND_H
#include <event2/util.h>
#include "route.h"
int bind_with_wait(
evutil_socket_t fd,
const struct sockaddr *addr,
socklen_t addr_len,
const struct route *r);
#endif
An L4 proxy designed to act as a tiny transparent shim
raw ยท 202 bytes
#ifndef BIND_H
#define BIND_H
#include <event2/util.h>
#include "route.h"
int bind_with_wait(
evutil_socket_t fd,
const struct sockaddr *addr,
socklen_t addr_len,
const struct route *r);
#endif