Deleted Added
full compact
ip_proxy.h (153876) ip_proxy.h (170268)
1/* $FreeBSD: head/sys/contrib/ipfilter/netinet/ip_proxy.h 153876 2005-12-30 11:32:23Z guido $ */
1/* $FreeBSD: head/sys/contrib/ipfilter/netinet/ip_proxy.h 170268 2007-06-04 02:54:36Z darrenr $ */
2
3/*
4 * Copyright (C) 1997-2001 by Darren Reed.
5 *
6 * See the IPFILTER.LICENCE file for details on licencing.
7 *
2
3/*
4 * Copyright (C) 1997-2001 by Darren Reed.
5 *
6 * See the IPFILTER.LICENCE file for details on licencing.
7 *
8 * $FreeBSD: head/sys/contrib/ipfilter/netinet/ip_proxy.h 153876 2005-12-30 11:32:23Z guido $
8 * $FreeBSD: head/sys/contrib/ipfilter/netinet/ip_proxy.h 170268 2007-06-04 02:54:36Z darrenr $
9 * Id: ip_proxy.h,v 2.31.2.2 2005/03/12 19:33:48 darrenr Exp
10 */
11
12#ifndef __IP_PROXY_H__
13#define __IP_PROXY_H__
14
15#ifndef SOLARIS
16#define SOLARIS (defined(sun) && (defined(__svr4__) || defined(__SVR4)))

--- 421 unchanged lines hidden (view full) ---

438 * RFC1832 - Sections 3.11, 4.4, and 4.5.
439 */
440#define XDRALIGN(x) ((((x) % 4) != 0) ? ((((x) + 3) / 4) * 4) : (x))
441
442extern ap_session_t *ap_sess_tab[AP_SESS_SIZE];
443extern ap_session_t *ap_sess_list;
444extern aproxy_t ap_proxies[];
445extern int ippr_ftp_pasvonly;
9 * Id: ip_proxy.h,v 2.31.2.2 2005/03/12 19:33:48 darrenr Exp
10 */
11
12#ifndef __IP_PROXY_H__
13#define __IP_PROXY_H__
14
15#ifndef SOLARIS
16#define SOLARIS (defined(sun) && (defined(__svr4__) || defined(__SVR4)))

--- 421 unchanged lines hidden (view full) ---

438 * RFC1832 - Sections 3.11, 4.4, and 4.5.
439 */
440#define XDRALIGN(x) ((((x) % 4) != 0) ? ((((x) + 3) / 4) * 4) : (x))
441
442extern ap_session_t *ap_sess_tab[AP_SESS_SIZE];
443extern ap_session_t *ap_sess_list;
444extern aproxy_t ap_proxies[];
445extern int ippr_ftp_pasvonly;
446extern int ipf_proxy_debug;
446
447extern int appr_add __P((aproxy_t *));
448extern int appr_ctl __P((ap_ctl_t *));
449extern int appr_del __P((aproxy_t *));
450extern int appr_init __P((void));
451extern void appr_unload __P((void));
452extern int appr_ok __P((fr_info_t *, tcphdr_t *, struct ipnat *));
453extern int appr_match __P((fr_info_t *, struct nat *));
454extern void appr_free __P((aproxy_t *));
455extern void aps_free __P((ap_session_t *));
456extern int appr_check __P((fr_info_t *, struct nat *));
457extern aproxy_t *appr_lookup __P((u_int, char *));
458extern int appr_new __P((fr_info_t *, struct nat *));
447
448extern int appr_add __P((aproxy_t *));
449extern int appr_ctl __P((ap_ctl_t *));
450extern int appr_del __P((aproxy_t *));
451extern int appr_init __P((void));
452extern void appr_unload __P((void));
453extern int appr_ok __P((fr_info_t *, tcphdr_t *, struct ipnat *));
454extern int appr_match __P((fr_info_t *, struct nat *));
455extern void appr_free __P((aproxy_t *));
456extern void aps_free __P((ap_session_t *));
457extern int appr_check __P((fr_info_t *, struct nat *));
458extern aproxy_t *appr_lookup __P((u_int, char *));
459extern int appr_new __P((fr_info_t *, struct nat *));
459extern int appr_ioctl __P((caddr_t, ioctlcmd_t, int));
460extern int appr_ioctl __P((caddr_t, ioctlcmd_t, int, void *));
460
461#endif /* __IP_PROXY_H__ */
461
462#endif /* __IP_PROXY_H__ */