aboutsummaryrefslogtreecommitdiff
path: root/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
commitc6d4f4e1799022247bc3846a3b29068f673655e1 (patch)
tree310a7299d5ead3581471887632c1aef69d2d9777 /slirp.h
parentf46a46557d3fe72843a3b1bf2f18d48b44534862 (diff)
downloadslirp-c6d4f4e1799022247bc3846a3b29068f673655e1.zip
slirp-c6d4f4e1799022247bc3846a3b29068f673655e1.tar.gz
slirp-c6d4f4e1799022247bc3846a3b29068f673655e1.tar.bz2
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.h')
-rw-r--r--slirp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/slirp.h b/slirp.h
index 1c93b8a..a0efeff 100644
--- a/slirp.h
+++ b/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;
@@ -340,7 +340,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);