mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-27 04:30:53 +03:00
10 lines
224 B
C
10 lines
224 B
C
|
#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);
|
||
|
bool redir_init();
|
||
|
void redir_close();
|