/*
* Copyright (C) 1995-2001 by Darren Reed.
*
* See the IPFILTER.LICENCE file for details on licencing.
*
* @(#)ip_state.h 1.3 1/12/96 (C) 1995 Darren Reed
* $Id: ip_state.h,v 2.68.2.5 2005/08/11 19:58:04 darrenr Exp $
*
* Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef __IP_STATE_H__
#define __IP_STATE_H__
#else
#endif
struct ipscan;
#ifndef IPSTATE_SIZE
#endif
#ifndef IPSTATE_MAX
#endif
typedef struct ipstate {
void *is_sync;
/* in both directions */
/* in both directions */
union {
} is_ps;
} ipstate_t;
/*
* IS_SC flags are for scan-operations that need to be recognised in state.
*/
/*
* Flags that can be passed into fr_addstate
*/
/*
* is_flags:
* Bits 0 - 3 are use as a mask with the current packet's bits to check for
* Bits 4 - 7 are set from the initial packet and contain what the packet
* anded with bits 0-3 must match.
* Bits 8,9 are used to indicate wildcard source/destination port matching.
* Bits 10,11 are reserved for other wildcard flag compatibility.
* Bits 12,13 are for scaning.
*/
typedef struct ipstate_save {
void *ips_next;
typedef struct ipslog {
union {
} isl_ps;
} ipslog_t;
#define ISL_NEW 0
typedef struct ips_stat {
int iss_statesize;
int iss_statemax;
} ips_stat_t;
typedef struct port_pair {
} port_pair_t;
struct ipftq *, int));
#if SOLARIS2 >= 10
#endif
#endif /* __IP_STATE_H__ */