Use standard unsigned integer types
This commit is contained in:
+10
-10
@@ -106,9 +106,9 @@ struct starter_end {
|
||||
bool hostaccess;
|
||||
bool allow_any;
|
||||
char *updown;
|
||||
u_int16_t from_port;
|
||||
u_int16_t to_port;
|
||||
u_int8_t protocol;
|
||||
uint16_t from_port;
|
||||
uint16_t to_port;
|
||||
uint8_t protocol;
|
||||
char *sourceip;
|
||||
char *dns;
|
||||
};
|
||||
@@ -133,17 +133,17 @@ struct starter_conn {
|
||||
time_t sa_ike_life_seconds;
|
||||
time_t sa_ipsec_life_seconds;
|
||||
time_t sa_rekey_margin;
|
||||
u_int64_t sa_ipsec_life_bytes;
|
||||
u_int64_t sa_ipsec_margin_bytes;
|
||||
u_int64_t sa_ipsec_life_packets;
|
||||
u_int64_t sa_ipsec_margin_packets;
|
||||
uint64_t sa_ipsec_life_bytes;
|
||||
uint64_t sa_ipsec_margin_bytes;
|
||||
uint64_t sa_ipsec_life_packets;
|
||||
uint64_t sa_ipsec_margin_packets;
|
||||
unsigned long sa_keying_tries;
|
||||
unsigned long sa_rekey_fuzz;
|
||||
u_int32_t reqid;
|
||||
uint32_t reqid;
|
||||
mark_t mark_in;
|
||||
mark_t mark_out;
|
||||
u_int32_t replay_window;
|
||||
u_int32_t tfc;
|
||||
uint32_t replay_window;
|
||||
uint32_t tfc;
|
||||
bool install_policy;
|
||||
bool aggressive;
|
||||
starter_end_t left, right;
|
||||
|
||||
Reference in New Issue
Block a user