Use standard unsigned integer types

This commit is contained in:
Andreas Steffen
2016-03-24 18:52:48 +01:00
parent b210369314
commit b12c53ce77
584 changed files with 3430 additions and 3430 deletions
+1 -1
View File
@@ -331,7 +331,7 @@ static void kw_end(starter_conn_t *conn, starter_end_t *end, kw_token_t token,
DBG1(DBG_APP, "# bad protocol: %s=%s", key, value);
goto err;
}
end->protocol = (u_int8_t)p;
end->protocol = (uint8_t)p;
}
}
if (streq(port, "%any"))
+10 -10
View File
@@ -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;