summaryrefslogtreecommitdiff
path: root/source4/lib/socket_wrapper
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-10-05 07:03:41 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:20:34 -0500
commita484b8367b21728de7c6dcd744d43edf0d7d1ede (patch)
tree74ff2132cb5f2b98f9acb47f5820b5019856af1a /source4/lib/socket_wrapper
parent42b1e2c806ce71322398ac7e15f71c15459105f4 (diff)
downloadsamba-a484b8367b21728de7c6dcd744d43edf0d7d1ede.tar.gz
samba-a484b8367b21728de7c6dcd744d43edf0d7d1ede.tar.bz2
samba-a484b8367b21728de7c6dcd744d43edf0d7d1ede.zip
r19084: make socket_wrapper more portable (standalone) and not use uintX_t
metze (This used to be commit 7e89a0a28263e36ef7410122f987edf369154651)
Diffstat (limited to 'source4/lib/socket_wrapper')
-rw-r--r--source4/lib/socket_wrapper/socket_wrapper.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/lib/socket_wrapper/socket_wrapper.c b/source4/lib/socket_wrapper/socket_wrapper.c
index 84e1cb9fd9..fd80892d28 100644
--- a/source4/lib/socket_wrapper/socket_wrapper.c
+++ b/source4/lib/socket_wrapper/socket_wrapper.c
@@ -121,8 +121,8 @@ struct socket_info
socklen_t peername_len;
struct {
- unsigned long long pck_snd;
- unsigned long long pck_rcv;
+ unsigned long pck_snd;
+ unsigned long pck_rcv;
} io;
struct socket_info *prev, *next;
@@ -464,9 +464,9 @@ static void swrap_dump_packet(struct socket_info *si, const struct sockaddr *add
const struct sockaddr_in *src_addr;
const struct sockaddr_in *dest_addr;
const char *file_name;
- uint32_t tcp_seq = 0;
- uint32_t tcp_ack = 0;
- uint8_t tcp_ctl = 0;
+ unsigned long tcp_seq = 0;
+ unsigned long tcp_ack = 0;
+ unsigned char tcp_ctl = 0;
int unreachable = 0;
file_name = socket_wrapper_pcap_file();