aboutsummaryrefslogtreecommitdiff
path: root/rpcap-protocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'rpcap-protocol.h')
-rw-r--r--rpcap-protocol.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/rpcap-protocol.h b/rpcap-protocol.h
index caf6abc3..be6cf2f1 100644
--- a/rpcap-protocol.h
+++ b/rpcap-protocol.h
@@ -34,9 +34,6 @@
#ifndef __RPCAP_PROTOCOL_H__
#define __RPCAP_PROTOCOL_H__
-#include "portability.h"
-#include <pcap/funcattrs.h>
-
#define RPCAP_DEFAULT_NETPORT "2002" /* Default port on which the RPCAP daemon is waiting for connections. */
/* Default port on which the client workstation is waiting for connections in case of active mode. */
#define RPCAP_DEFAULT_NETPORT_ACTIVE "2003"
@@ -327,6 +324,9 @@ struct rpcap_sampling
* Routines used by the rpcap client and rpcap daemon *
* *
*********************************************************/
+
+#include "sockutils.h"
+
extern int rpcap_checkver(SOCKET sock, struct rpcap_header *header, char *errbuf);
extern void rpcap_createhdr(struct rpcap_header *header, uint8 type, uint16 value, uint32 length);
extern int rpcap_checkmsg(char *errbuf, SOCKET sock, struct rpcap_header *header, uint8 first, ...);