zapret/tpws/redirect.h

10 lines
232 B
C
Raw Normal View History

2021-03-04 11:30:38 +00:00
#pragma once
#include <stdbool.h>
#include <netinet/in.h>
#include <sys/socket.h>
bool get_dest_addr(int sockfd, const struct sockaddr *accept_sa, struct sockaddr_storage *orig_dst);
2023-10-13 17:10:46 +00:00
bool redir_init(void);
void redir_close(void);