aboutsummaryrefslogtreecommitdiff
path: root/slirp/slirp.h
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2010-07-22 22:15:23 +0200
committerAurelien Jarno <aurelien@aurel32.net>2010-07-25 16:59:41 +0200
commitb6dce92e8917762e6bf81e177b20a0b7909a0532 (patch)
tree3281511ec4af76aa696665b655059d15393db22b /slirp/slirp.h
parent1fc3dc29305cfdadc6e57bb21516799dddf9b91e (diff)
slirp: Replace u_int8_t, u_int16_t, u_int32_t, u_int64_t by standard int types
There is no need to have a second set of integral types. Replace them by the standard types from stdint.h. Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'slirp/slirp.h')
-rw-r--r--slirp/slirp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/slirp/slirp.h b/slirp/slirp.h
index 98a26442a3..79d9ecb58c 100644
--- a/slirp/slirp.h
+++ b/slirp/slirp.h
@@ -233,7 +233,7 @@ struct Slirp {
/* ip states */
struct ipq ipq; /* ip reass. queue */
- u_int16_t ip_id; /* ip packet ctr, for ids */
+ uint16_t ip_id; /* ip packet ctr, for ids */
/* bootp/dhcp states */
BOOTPClient bootp_clients[NB_BOOTP_CLIENTS];
@@ -243,7 +243,7 @@ struct Slirp {
struct socket tcb;
struct socket *tcp_last_so;
tcp_seq tcp_iss; /* tcp initial send seq # */
- u_int32_t tcp_now; /* for RFC 1323 timestamps */
+ uint32_t tcp_now; /* for RFC 1323 timestamps */
/* udp states */
struct socket udb;
@@ -339,7 +339,7 @@ void tcp_sockclosed(struct tcpcb *);
int tcp_fconnect(struct socket *);
void tcp_connect(struct socket *);
int tcp_attach(struct socket *);
-u_int8_t tcp_tos(struct socket *);
+uint8_t tcp_tos(struct socket *);
int tcp_emu(struct socket *, struct mbuf *);
int tcp_ctl(struct socket *);
struct tcpcb *tcp_drop(struct tcpcb *tp, int err);