You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
443 B
22 lines
443 B
//
|
|
// Tun2proxyWrapper.h
|
|
// tun2proxy
|
|
//
|
|
// Created by ssrlive on 2023/4/23.
|
|
//
|
|
|
|
#ifndef Tun2proxyWrapper_h
|
|
#define Tun2proxyWrapper_h
|
|
|
|
@interface Tun2proxyWrapper : NSObject
|
|
|
|
+ (void)startWithConfig:(NSString *)proxy_url
|
|
tun_fd:(int)tun_fd
|
|
tun_mtu:(uint32_t)tun_mtu
|
|
dns_over_tcp:(bool)dns_over_tcp
|
|
verbose:(bool)verbose;
|
|
+ (void) shutdown;
|
|
|
|
@end
|
|
|
|
#endif /* Tun2proxyWrapper_h */
|
|
|