mirror of
https://github.com/hufrea/byedpi.git
synced 2024-12-22 14:25:44 +00:00
params.h: char -> bool
This commit is contained in:
parent
515129cccc
commit
5e5dec60f2
19
params.h
19
params.h
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <stdbool.h>
|
||||||
|
|
||||||
#include "mpool.h"
|
#include "mpool.h"
|
||||||
|
|
||||||
@ -63,11 +64,11 @@ struct desync_params {
|
|||||||
int ttl;
|
int ttl;
|
||||||
char *ip_options;
|
char *ip_options;
|
||||||
ssize_t ip_options_len;
|
ssize_t ip_options_len;
|
||||||
char md5sig;
|
bool md5sig;
|
||||||
struct packet fake_data;
|
struct packet fake_data;
|
||||||
int udp_fake_count;
|
int udp_fake_count;
|
||||||
int fake_offset;
|
int fake_offset;
|
||||||
char drop_sack;
|
bool drop_sack;
|
||||||
char oob_char[2];
|
char oob_char[2];
|
||||||
|
|
||||||
int parts_n;
|
int parts_n;
|
||||||
@ -90,23 +91,23 @@ struct params {
|
|||||||
int dp_count;
|
int dp_count;
|
||||||
struct desync_params *dp;
|
struct desync_params *dp;
|
||||||
long sfdelay;
|
long sfdelay;
|
||||||
char wait_send;
|
bool wait_send;
|
||||||
int def_ttl;
|
int def_ttl;
|
||||||
char custom_ttl;
|
bool custom_ttl;
|
||||||
|
|
||||||
char tfo;
|
bool tfo;
|
||||||
unsigned int timeout;
|
unsigned int timeout;
|
||||||
int auto_level;
|
int auto_level;
|
||||||
long cache_ttl;
|
long cache_ttl;
|
||||||
char ipv6;
|
bool ipv6;
|
||||||
char resolve;
|
bool resolve;
|
||||||
char udp;
|
bool udp;
|
||||||
int max_open;
|
int max_open;
|
||||||
int debug;
|
int debug;
|
||||||
size_t bfsize;
|
size_t bfsize;
|
||||||
struct sockaddr_in6 baddr;
|
struct sockaddr_in6 baddr;
|
||||||
struct sockaddr_in6 laddr;
|
struct sockaddr_in6 laddr;
|
||||||
char transparent;
|
bool transparent;
|
||||||
struct mphdr *mempool;
|
struct mphdr *mempool;
|
||||||
|
|
||||||
char *protect_path;
|
char *protect_path;
|
||||||
|
Loading…
Reference in New Issue
Block a user