From faeb45fcca5de1659b51c5c7a52af08c8aac8963 Mon Sep 17 00:00:00 2001 From: thorpej Date: Tue, 27 May 1997 01:23:50 +0000 Subject: [PATCH] Make this compile on 32-bit architectures: - Add prototypes. - Add a forward-decl to avoid a cyclic dependency graph. --- sys/netinet/ip_proxy.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/netinet/ip_proxy.h b/sys/netinet/ip_proxy.h index ee31969a56f7..2665b49d9778 100644 --- a/sys/netinet/ip_proxy.h +++ b/sys/netinet/ip_proxy.h @@ -5,7 +5,7 @@ * provided that this notice is preserved and due credit is given * to the original author and the contributors. * - * $Id: ip_proxy.h,v 1.1.1.1 1997/05/26 15:18:15 darrenr Exp $ + * $Id: ip_proxy.h,v 1.2 1997/05/27 01:23:50 thorpej Exp $ */ #ifndef __IP_PROXY_H__ @@ -19,6 +19,7 @@ #define AP_SESS_SIZE 53 struct nat; +struct ipnat; typedef struct ap_tcp { u_short apt_sport; /* source port */ @@ -85,5 +86,6 @@ extern void ap_free __P((aproxy_t *)); extern void aps_free __P((ap_session_t *)); extern int ap_check __P((ip_t *, tcphdr_t *, fr_info_t *, struct nat *)); extern aproxy_t *ap_match __P((char, char *)); +extern int ap_ok __P((ip_t *, tcphdr_t *, struct ipnat *)); #endif /* __IP_PROXY_H__ */